Agent Discovery
Get an OAuth access token
Changed onExchange an authorization code, a refresh token, an agent claim token or an identity assertion for an access token.
post/api/oauth/token
Request
- Base URLhttps://xquik.com
- URLhttps://xquik.com/api/oauth/token
- Authnone required
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "550e8400-e29b-41d4-a716-446655440000",
"client_secret": "CLIENT_SECRET",
"client_assertion": "CLIENT_ASSERTION",
"code": "AUTHORIZATION_CODE",
"code_verifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk",
"redirect_uri": "https://client.example/callback",
"resource": "https://xquik.com/mcp"
}Response
The access token. Code & refresh grants also return a new refresh token. A claim grant returns identity_assertion instead.
Example response
{
"access_token": "ACCESS_TOKEN",
"expires_in": 3600,
"scope": "mcp:tools",
"refresh_token": "REFRESH_TOKEN",
"identity_assertion": "IDENTITY_ASSERTION",
"assertion_expires": "2026-12-01T12:00:00.000Z"
}Changes
- breaking
the
response's property format changed fromint64to no format for status - info
removed the non-success response with the status
- breaking
- info
added the non-success response with the status
- info