API referenceAdmin operations
Create an application API key
Optional Idempotency-Key and X-Idempotency-Proof must be supplied together as independently generated 32–256 character URL-safe proofs. Save them before sending; an identical retry returns the original result. Wrong proof is 403, changed body is 409. Protected key recovery lasts 15 minutes; expired recovery never creates another resource.
agw_identity_auth.session_token<token>
The console's session cookie. Admin requests from the console also send x-console-request: 1.
In: cookie
Path Parameters
app*string
Header Parameters
Idempotency-Key?string
Match
^[A-Za-z0-9_-]{32,256}$X-Idempotency-Proof?string
Match
^[A-Za-z0-9_-]{32,256}$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
application/json
application/json
curl -X POST "https://example.com/v1/admin/apps/string/keys" \ -H "Content-Type: application/json" \ -d '{}'null