POST
/
users
/
login
curl --request POST \
  --url https://api.gan.ai/users/login \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "password": "<string>"
}'
{
  "access_token": "<string>",
  "refresh_token": "<string>"
}

Body

application/json
The request body includes user email and password as compulsory fields.

The body is of type object.

Response

200
application/json
Successful Response

The response is of type object.