Add an alternative distribution key
Add an alternative distribution key for your alternative marketplace app or web distribution.
URL
POST https://api.appstoreconnect.apple.com/v1/alternativeDistributionKeysResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 201 | Created Content-Type: application/json | AlternativeDistributionKeyResponse | |
| 400 | Bad Request Content-Type: application/json | ErrorResponse | |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | |
| 409 | Conflict Content-Type: application/json | ErrorResponse | |
| 422 | Content-Type: application/json | ErrorResponse | |
| 429 | Content-Type: application/json | ErrorResponse |
Mentioned in
Discussion
You can use a single alternative distribution key for all alternative distribution apps on your account. You can optionally use an app specific alternative distribution key, by adding a relationship to a specific app in the JSON payload used with this endpoint.
Example Request and Response
Example Request and Response
HTTP Body
See Also
Creating and reading keys
Creating keys and establishing alternative marketplace connectionsCreating and configuring keys for web distributionList alternative distribution keysRead alternative distribution key informationGET /v1/apps/{id}/relationships/alternativeDistributionKeyRead an app’s alternative distribution keyRemove an alternative distribution key