PUT
/
push_registrations
curl https://api.thanxsandbox.com/push_registrations \
  -X PUT \
  $AUTH_HEADERS
  -d '{
    "push_registration": {
      "device_type": "ios",
      "token": "wourdweroi238432423425fsgd"
    }
  }'
{
  "push_registration": {
    "token": "wourdweroi238432423425fsgd",
    "device_type": "ios"
  }
}

Parameters

device_type
enum
required

The type of device: (ios, android)

token
string
required

The token returned by the local push notification library

Response

device_type
enum
required

The type of device: (ios, android)

token
string
required

The token returned by the local push notification library