Skip to main content
POST
/
devices
/
add-token
Add Device Token
curl --request POST \
  --url https://api-dev.monyfix.tech/devices/add-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "device_type": "<string>",
  "app_version": "<string>",
  "os_version": "<string>"
}
'
{
"message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
token
string
required
device_type
string | null
app_version
string | null
os_version
string | null

Response

Successful Response

message
string
required