Applications

Add platforms

Attach platforms to an application. Platforms already attached are ignored. An application can have up to 15 platforms. Requires applications:write or application:write scope.

POST/applications/{application_id}/platforms

Authorization

bearerAuth
AuthorizationBearer <token>

API key. Bearer authentication header of the form Bearer <token>, where <token> is your Workspace or Application API key.

In: header

Path Parameters

application_id*string

Application ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.comapplications/aBc1234/platforms" \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d @- <<'EOF'{  "platforms": [    "android",    "ios"  ]}EOF
{  "message": "Platforms added successfully.",  "data": [    {      "identifier": "windows",      "name": "Windows",      "short_name": "Windows",      "upload_instruction": "Upload a .exe, .msi, or .zip installer."    }  ]}
{  "message": "Unauthorized"}
{  "message": "This action requires 'resource:action' scope."}
{  "message": "Not found."}
{  "message": "string",  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  }}