Omni Link

Get subscriber preferences

GET
/v1/subscribers/{subscriberId}/preferences

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Path Parameters

subscriberId*string

Response Body

application/json

curl -X GET "https://example.com/v1/subscribers/string/preferences"
{  "data": [    {      "template": {        "_id": "string",        "name": "string",        "critical": true,        "triggers": [          "string"        ]      },      "preference": {        "enabled": true,        "channels": {          "email": true,          "sms": true,          "in_app": true,          "chat": true,          "push": true,          "fb": true,          "wab": true,          "voice": true        }      }    }  ]}