Dayli Docs
API referenceMessaging

Register Push Device

PUT
/api/v1/push/devices/{installationId}

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

installationId*string
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/push/devices/string" \  -H "Content-Type: application/json" \  -d '{    "token": "stringstringstri",    "platform": "ios",    "optedIn": true  }'
Empty