Skip to main content
POST
Approve Agent Authorization

Path Parameters

token
string
required

The token the agent generated and included in the approval URL. Must be 16-128 characters.

Required string length: 16 - 128
Example:

"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2"

Body

application/json
id_token
string
required

Identity token obtained after the user signs in on the approval page

client_name
string

Name of the agent/application (stored in customer metadata for audit)

Example:

"Claude Code"

Response

Authorization approved. The API key is now available for the agent to poll.

status
string
Example:

"approved"

email
string
Example:

"user@example.com"