Sign in and get tokens
POST/api/v1/auth/api-sessions
Signs in with email and password and returns the access token and refresh token in the response body instead of cookies. Send the access token as Authorization: Bearer <token> and renew it with POST /api/v1/auth/api-sessions/current/refresh before it expires. For scripts and integrations, a long-lived API token is usually simpler.
Access: Public. No authentication required.
Request
Responses
- 200
- 400
OK
Bad Request