Retrieve access token

Exchange a Resly account ID and API key for a Bearer JWT. This is the only public API endpoint that does not require a Bearer token — it issues the token used by all other endpoints. Pass accountId and key in the JSON body. The returned token is valid for 24 hours (expires_in: 86400).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Exchange your Resly account ID and API key for a Bearer JWT. This is the first call in every integration — it does not use Bearer auth itself.

Auth for this endpoint only: send accountId + key in the JSON body. Do not send an Authorization header here.

Use the returned token as Authorization: Bearer <token> on all other Resly Open API endpoints. The JWT is valid for 24 hours (expires_in: 86400).

Base URLs

Create and manage API keys in Resly under Settings → API keys.

Body Params
string
required

Resly account ID.

string
required

API key secret created for this account in Resly (Settings → API keys).

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json