Skip to main content
POST
/
auth
/
token
Authenticate user and get access token
curl --request POST \
  --url https://api.console.corti.app/functions/v1/public/auth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "password": "<string>"
}'
{
  "accessToken": "<string>",
  "tokenType": "bearer",
  "expiresIn": 123
}

Body

application/json
email
string<email>
required

User's email address

password
string
required

User's password

Response

Authentication successful

accessToken
string
required

JWT access token

tokenType
string
required
Example:

"bearer"

expiresIn
integer
required

Token expiration time in seconds

I