Skip to main content
PATCH
Update User Full Preference

Authorizations

Authorization
string
header
required

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

Path Parameters

distinct_id
string
required

distinct_id of the user whose preferences should be updated

Query Parameters

tenant_id
string

to update user preferences for a particular tenant

Body

application/json
channel_preferences
object[]

Use this to update channel level user preferences. Set is_restricted - true if the channel is opted_out by the user. This will only send critical notifications to the user which can't be opted out

categories
object[]

Use this to update user preference across categories and channels inside a category.

Response

200

sections
object[]
channel_preferences
object[]