Skip to main content
POST
Exchange an email code

Body

application/json
email
string<email>
required
code
string
required
Pattern: ^[0-9]{6}$

Response

Bearer and refresh credentials for the account.

access_token
string
required

A short-lived user access token. For repeated automation, create an API key with it (POST /api/api-keys) instead of refreshing it in a loop.

expires_in
integer
required

Seconds until access_token expires, from its exp claim. Refresh it with POST /api/auth/refresh before then.

Required range: x >= 0
refresh_token
string
required
organization_id
string
required
session_id
string
required