Skip to main content
POST
Tokens
Rate limit: 5 requests/hour, per email address Email and password are required to generate a JWT for later API calls. This endpoint issues tokens for both Cognito users and WorkOS users. The user must have the Demand API user access toggle enabled. An Admin grants the toggle in Research Desk Admin settings. The Admin role on its own no longer grants a user access to the API. Once the token is generated, you will need to pass that token in the Authorization header for subsequent API calls. The header value is the token itself. Do not add a Bearer prefix. Tokens have a set lifespan, and the expires field is how you read it. expires is a UTC datetime string formatted YYYY-MM-DD HH:MM:SS (for example, 2026-10-20 06:53:25). The default lifespan is 12 hours in the Research Desk production environment and 24 hours in staging. The expires field is the source of truth. It is recommended to cache the token instead of requesting a new one before every API call.

Body

application/json
email
string
password
string<password>

Response

200 - application/json

Tokens

token
string
expires
string