Chimely
Api

Read own preferences

GET
/v1/inbox/preferences

Authorization

SubscriberEnv SubscriberHash SubscriberId
X-Chimely-Environment<token>

In: header

X-Chimely-Subscriber-Hash<token>

Optional when the environment has require_subscriber_hash = false.

In: header

X-Chimely-Subscriber<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/inbox/preferences"
{
  "preferences": [
    {
      "category": "string",
      "channel": "in_app",
      "enabled": true
    }
  ]
}
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}