Skip to main content
POST
Exchange API Key for 5-Minute JWT

Authorizations

Authorization
string
header
required

Your AgentOnboard API key (aon_live_...), created on https://agentonboard.xyz/dashboard.

Body

application/json
audience
string
required

Target service hostname or URL (normalized to a bare lowercase hostname such as notes.com).

Example:

"notes.com"

Response

Signed 5-minute RS256 JWT.

token
string
required

Raw signed RS256 JWT string.

Example:

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImFvbl8yMDI2X3YxIn0..."

token_type
enum<string>
required
Available options:
Bearer
Example:

"Bearer"

expires_in
integer
required

Token lifetime in seconds (always 300).

Example:

300

expires_at
integer
required

Unix epoch timestamp (seconds) when the token expires.

Example:

1740000300

audience
string
required

Normalized target hostname encoded in the aud claim.

Example:

"notes.com"

user
object
required