OAuth
Create authorization code
Create an authorization code for the PKCE flow to generate a user-controlled API key
post/auth/keys/code
Request body
Example request
{
"callback_url": "https://myapp.com/auth/callback",
"code_challenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM",
"code_challenge_method": "S256",
"limit": 100
}Response
Successfully created authorization code
Example response
{
"data": {
"app_id": 12345,
"created_at": "2025-08-24T10:30:00Z",
"id": "auth_code_xyz789"
}
}