Skip to main content
POST
Sign in

Body

application/json
email
string
required
Required string length: 3 - 320
password
string
required
Required string length: 1 - 1024
space_id
string<uuid> | null

The space the token opens. Defaults to the first space the person can reach.

totp
string | null

The current code of the authenticator app. Required when the person enrolled a second factor.

Pattern: ^\d{6}$

Response

The token, its lifetime in seconds and the space it opens.

access_token
string
required
expires_in
integer
required

Seconds until the token expires.

space_id
string<uuid>
required
token_type
string
default:Bearer