Exchange token
POST
/v1/auth/exchangeFeatures
Exchange an API key for an access token.
Input1
Sent from your browser straight to the API — never to Docsbook, never stored.
Output1
Responses
200Default Response
400Bad request
401No auth
403Forbidden
404Not found
422Invalid payload
500Uncaught error
Example input
curl -X POST 'https://access.scalar.com/v1/auth/exchange' \
-H 'Content-Type: application/json' \
-d '{"personalToken":"<personalToken>"}'Example output
{
"accessToken": "<accessToken>"
}