Value in
Value in
Value in
Value in
Value in
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Value in
Value in
1 <= lengthapplication/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/sdk/push-devices/register" \ -H "x-distinct-id: string" \ -H "x-publishable-key: string" \ -H "x-client-bundle-id: string" \ -H "x-is-backgrounded: true" \ -H "x-is-debug-build: true" \ -H "x-observer-mode: true" \ -H "x-platform: string" \ -H "x-platform-flavor: native" \ -H "x-sdk: react-native" \ -H "x-sdk-version: string" \ -H "Content-Type: application/json" \ -d '{ "platform": "ios", "provider": "fcm", "platformToken": "string" }'{ "pushDeviceTokenId": "string"}{ "_tag": "Api/PushDeviceValidationError", "message": "string"}{ "_tag": "Api/AuthenticationError", "cause": "string", "message": "string"}{ "_tag": "Api/ActionForbiddenError", "message": "string"}{ "_tag": "Api/PushDeviceNotFoundError", "message": "string"}{ "_tag": "Api/PushDeviceServiceError", "cause": "string"}