Skip to content

Authentication

The Xplorr REST API uses bearer token authentication. All requests must include your API token in the Authorization header.

  1. Log in to xplorr.io
  2. Go to Settings → API Tokens
  3. Click Create Token and give it a name
  4. Copy the token — it starts with xplorr_

Include your token in the Authorization header:

Terminal window
curl https://api.xplorr.io/api/v1/accounts \
-H "Authorization: Bearer xplorr_your_token_here"

Xplorr API tokens are long-lived credentials. When used with the MCP server or SDKs, they are automatically exchanged for short-lived JWTs behind the scenes:

POST https://api.xplorr.io/api/v1/tokens/exchange
Authorization: Bearer xplorr_your_token_here
{
"token": "eyJ...",
"expires_in": 900
}

The JWT is cached for ~14 minutes and refreshed automatically.

By default, API tokens have full access to read and write all Xplorr resources for your account. Scoped tokens (read-only, account-specific) are planned for a future release.

https://api.xplorr.io/api/v1
StatusMeaning
401 UnauthorizedMissing or invalid token
403 ForbiddenToken lacks permission for this resource
429 Too Many RequestsRate limit exceeded