Skip to content
Get started

Create

POST/api/auth/token/

Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.

Body ParametersExpand Collapse
email: string
minLength1
password: string
minLength1
ReturnsExpand Collapse
access: string
refresh: string
Create
curl https://api.overmindlab.ai/api/auth/token/ \
    -H 'Content-Type: application/json' \
    -d '{
          "email": "x",
          "password": "x"
        }'
{
  "access": "access",
  "refresh": "refresh"
}
Returns Examples
{
  "access": "access",
  "refresh": "refresh"
}