---
title: "Creates an app"
method: POST
path: "/accounts/{account_id}/apps"
tags: ["apps"]
---

# Creates an app

`POST /accounts/{account_id}/apps`

## Path parameters

- `account_id` string, required

## Request body

- AppPost
  - `name` string, required
  - `status` string
  - `tlsOnly` boolean, nullable
  - `fcmKey` string, nullable
  - `fcmServiceAccount` string, nullable
  - `fcmProjectId` string, nullable
  - `apnsCertificate` string, nullable
  - `apnsPrivateKey` string, nullable
  - `apnsUseSandboxEndpoint` boolean, nullable
  - `apnsAuthType` 'certificate' | 'token', nullable
  - `apnsSigningKey` string, nullable
  - `apnsSigningKeyId` string, nullable
  - `apnsIssuerKey` string, nullable
  - `apnsTopicHeader` string, nullable

## Response `201`

App created

- AppResponse
  - `accountId` string
  - `id` string
  - `name` string
  - `status` string
  - `tlsOnly` boolean, nullable
  - `apnsUseSandboxEndpoint` boolean, nullable
  - `apnsAuthType` 'certificate' | 'token', nullable
  - `apnsCertificateConfigured` boolean
  - `apnsSigningKeyConfigured` boolean
  - `apnsIssuerKey` string, nullable
  - `apnsSigningKeyId` string, nullable
  - `apnsTopicHeader` string, nullable
  - `fcmProjectId` string, nullable
  - `fcmServiceAccountConfigured` boolean
  - `created` integer
  - `modified` integer
  - `_links` object, nullable

## Other responses

- `400` — Bad request
- `401` — Authentication failed
- `404` — Account not found
- `422` — Invalid request
- `500` — Internal server error

---

[API](https://skmtc.net/ably/apis/api-v1.md) · [All operations](https://skmtc.net/ably/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ably/api-v1/revisions/2b049ae2733f/schema)
