Authorization: Bearer <token> header of later requests. Use this endpoint in apps where a person signs in (web, mobile). Server integrations use an API key instead.
The wede dashboard signs in through the same endpoint but keeps its session in an HttpOnly cookie, so the token never reaches scripts in the browser. Your apps receive the token in the response body, as shown below.
Authentication
None. The endpoint is public.Request body
string
required
Email address of an active user.
string
required
The user’s password.
Example
Response
200 OK
string
Session token. Send it as
Authorization: Bearer <token>.integer
Lifetime of the token in seconds. Always
28800 (8 hours).object
Account lockout
After 5 consecutive failed attempts for the same account, the account is locked for 15 minutes and every sign-in returns429 account_locked, even with the right password. A successful sign-in resets the counter. The user can also regain access by resetting the password.
