POST
/
auth
/
anonymous
Anonymous Auth
curl --request POST \
  --url https://ella.navgurukul.org/api/auth/anonymous \
  --header 'Content-Type: application/json' \
  --data '
{
  "device_id": "3fab614c-1234-5678-abcd-1234567890ab"
}
'
{
  "access_token": "<string>",
  "user_id": "<string>",
  "is_new": true,
  "token_type": "bearer"
}

Body

application/json
device_id
string
required

Response

Successful Response

access_token
string
required
user_id
string
required
is_new
boolean
required
token_type
string
default:bearer