Chelabase
Login apiLogin

Sign In

POST
/auth/v1/sign-in

Signs in with email and password. studio sets the HttpOnly session cookie, which seals the identity session and the tenant. verify sets the HttpOnly step cookie that the code step reads. pending sets no cookie: an admin hasn't approved this person yet. A wrong password, an unknown email and no active membership answer alike.

Query Parameters

tenant?string

The tenant's id. Needed to sign in to one of several; /auth/v1/token refuses any but the session's. Never trusted: it is checked against the memberships.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string
password*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/v1/sign-in" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "password": "string"  }'
{  "next": "studio"}