Issue Mode A tokens or exchange a Mode B machine actor delegation.
curl --request POST \ --url https://auth.example.com/oauth/admin-agent/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data grant_type=authorization_code \ --data code=example \ --data redirect_uri=https://example.com \ --data client_id=example \ --data client_secret=example \ --data client_assertion=example \ --data client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer \ --data code_verifier=example \ --data resource=https://example.comConsumes only authorization codes bound to the dedicated Admin Agent issuer, admin subject namespace, exact tenant MCP resource, Grant generation, and consent version. The endpoint rechecks client authentication, PKCE, the active Grant, both consent records, current delegator permissions, scopes, and optional DPoP before issuing a tenant-capped access token and rotating refresh token. Refresh grants additionally require an active DB_ADMIN family row and the current RefreshTokenRotator version; public clients have a 12-hour idle and 7-day absolute limit, while confidential clients have a 24-hour idle and 30-day limit.
Request Body required
Section titled “Request Body required ”object
object
object
Responses
Section titled “ Responses ”Successful JSON response.
object
RFC 9396 authorization details preserved in the issued token grant.
object
Example
{ "access_token": "eyJhbGciOiJSUzI1NiJ9...", "token_type": "Bearer", "expires_in": 3600, "id_token": "eyJhbGciOiJSUzI1NiJ9...", "refresh_token": "refresh_123", "scope": "openid profile"}OAuth error response.
object
Example generated
{ "error": "example", "error_description": "example"}OAuth error response.
object
Example generated
{ "error": "example", "error_description": "example"}OAuth error response.
object
Example generated
{ "error": "example", "error_description": "example"}OAuth error response.
object
Example generated
{ "error": "example", "error_description": "example"}