Exchange OTP for workspace token
Exchange OTP for workspace token
Exchange a one-time passcode for a signed JWT.
Replace {kid} with the workspace key identifier provided for your integration.
Uses HTTP Basic Auth — pass email as username and the OTP code received by email in the password field.
Authorization: Basic <encoded-value>
Example with cURL:
curl --request GET \
--url https://app.anlytic.com/api/v1/users/token/{kid} \
--header 'Authorization: Basic <encoded-value>'
Exchange OTP for workspace token
Authorizations
HTTP Basic Auth. For OTP request: pass email as username only (password field is ignored).
For token exchange: pass email as username and the OTP code (received by email) in the password field (email:otp_code).
Path Parameters
Workspace key identifier.
Example:
"workspace-key-id"
Last modified on July 23, 2026