Auth

Authenticate with your passKey to receive an accessToken required for authorized API requests.

post
/auth/login

Authenticates a user using a passKey and returns an accessToken with a limited validity period (2 hours). Once the token expires, a new token must be generated. The accessToken must be included in all protected API requests using the following header Authorization: Bearer <accessToken>

Body
passKeystringRequired
Responses
post
/auth/login

Generate a passKey required for authentication.

post
/auth/generate-passkey
Authorizations
x-api-keystringRequired

in header (x-api-key: [key]) or in query (?apiKey=[key])

Body
userIdstringRequired
Responses
post
/auth/generate-passkey

Last updated

Was this helpful?