Category and Channel within Category

API to update user category preferences

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

distinct_id of the user whose preferences should be fetched

string
required

notification category slug. You can get this from Notification Categories page on SuprSend dashboard -> Settings page

Query Params
string

to fetch user preferences for a particular brand

Body Params
string
Defaults to opt_in

choose one of the options: opt_in if the user has allowed notification in this category and opt_out if user wants to discontinue notification in this category

opt_out_channels
array of strings

Add array of channels if user wants to unsubscribe from particular channels in this category. Add channels as email, sms, whatsapp, androidpush, inbox, iospush, slack, webpush`

opt_out_channels
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json