post/oauth/auth-codes/mint

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/oauth/auth-codes/mint
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

clientIdstring required

OAuth client_id (anima_oauth_apps row)

agentIdstring

Optional — restrict grant to a single agent

redirectUristring uri required

Where the consent callback lands

scopestring required

Space-delimited scope list

codeChallengestring required

PKCE S256 challenge (RFC 7636)

codeChallengeMethod'S256'
ttlSecondsinteger

Response

OK

codestring required

Raw authorization code — return to the consenting client ONCE

expiresAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.