POST
/
auth
/
token
cURL
curl --request POST \
  --url http://localhost:8080/auth/token \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "phone_country_code": "+91",
  "phone_number": "<string>",
  "platform_id": "<string>"
}
'
{
  "access_token": "<string>",
  "user_id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
phone_country_code
string
required
Example:

"+91"

phone_number
string
required
platform_id
string
required

Response

Token issued

access_token
string
required
user_id
string
required