Skip to main content
GET
/
v1
/
object
/
{object_type}
/
{id}
/
preference
/
channel_preference
All Channels
curl --request GET \
  --url https://hub.suprsend.com/v1/object/{object_type}/{id}/preference/channel_preference/ \
  --header 'Authorization: Bearer <token>'
{
  "channel_preferences": [
    {
      "channel": "androidpush",
      "is_restricted": false
    },
    {
      "channel": "email",
      "is_restricted": false
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

object_type
string
required

Used to group similar objects together. Give plural namespace like teams, organizations, and roles.

id
string
required

Unique identifier of the object in your system

Query Parameters

tenant_id
string

to fetch object preferences for a particular tenant

Response

200

channel_preferences
object[]