V1MePush devices
Register this installation with explicit push consent
Transfers require the installation's persistent 32-byte random secret. Signing out must revoke the returned device ID before discarding its owner session. Registration never enables category preferences or delivers messages.
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/me/push-devices" \ -H "Content-Type: application/json" \ -d '{ "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7", "installationSecret": "string", "token": "string", "platform": "ios", "consentPush": true }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "platform": "ios", "consentAt": "2019-08-24T14:15:22Z", "revokedAt": "2019-08-24T14:15:22Z"}