App AI Gateway
API referenceApplication authentication

Exchange issuer and device proof for a gateway token

POST
/v1/apps/{app}/auth/token

App Attest clients send key_id, assertion, and challenge. Development clients send dev_secret instead.

Path Parameters

app*string

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.com/v1/apps/string/auth/token" \  -H "Content-Type: application/json" \  -d '{    "issuer_token": "string",    "key_id": "string",    "assertion": "string",    "challenge": "string"  }'
{  "access_token": "string",  "expires_in": 0}