| Name | Description | type |
|---|---|---|
| access_token | JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header) | |
| data | primary JSON API payload | |
| data[attributes][token] | Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM, the device token equivalent is called the registration ID. | String |
| data[attributes][platform] | The platform of the device indicates which notification service should be used. Accepted values are APNS_SANDBOX and GCM | String |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMjYsImV4cCI6MTc5NDU0MDIxNiwiaWF0IjoxNzk0NTQwMDM2fQ.b2h10Hc0_VEdg1yPjGJOxyHebCRafEi21c8CGhyFsWA Host: example.org Cookie:
POST /apis/v4/push_notification_device_tokens
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMjYsImV4cCI6MTc5NDcxMjgzNiwiaWF0IjoxNzk0NTQwMDM2fQ.p9KMznIyZII0g5JMaye6oTtvo1oaXflC4tOfwIKLeis Access-Control-Expose-Headers: X-MH-Session ETag: W/"393c685bf648f1d7b285ece3b4ba3588" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: d969c507-d9ba-4f31-a213-c216190d4c8c X-Runtime: 0.116156 Content-Length: 684
200