v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

All Channels

API to retrieve user preferences for all channels.

get/v1/user/{distinct_id}/preference/channel_preference/

Path parameters

distinct_idstring required

distinct_id of the user whose preferences should be fetched

Query parameters

tenant_idstring

to fetch user preferences for a particular tenant

Response

200

Example response

{
  "channel_preferences": [
    {
      "channel": "androidpush"
    }
  ]
}