# Request ACME certificate (/tls-certificates/App_Certificates_acme_create)

`POST /apps/{app_name}/certificates/acme`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `app_name` | path | `string` | Yes | Fly App Name |

## Request Body

Type: `createAcmeCertificateRequest`

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `hostname` | `string` | No |  |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `201` | Created | `CertificateDetail` |
| `422` | Unprocessable Entity | `ErrorResponse` |

The full machine-readable OpenAPI spec is available at /openapi.json.