---
title: "Updates app's APNS info from a .p12 file"
method: POST
path: "/apps/{id}/pkcs12"
tags: ["apps"]
---

# Updates app's APNS info from a .p12 file

`POST /apps/{id}/pkcs12`

## Path parameters

- `id` string, required

## Response `200`

App updated

- 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` — App not found
- `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)
