Rest API

Notification

POST
/device/register

Register as a new device

/device/register

Request Body

application/jsonRequired

expoToken
Required
string

deviceOs
Required
string

Value in: "ios" | "android" | "unknown"

languagestring

Default: "en"
curl -X POST "https://quiztr-m3sbz3l72-0x53.vercel.app/api/device/register" \
  -H "Content-Type: application/json" \
  -d '{
    "expoToken": "string",
    "deviceOs": "ios",
    "language": "en"
  }'

Successful response

{
  "status": true
}