Set Channel Preference
PUT /channels/preferences
Set ONE preference. Everything else is left alone.
PUT of a single key/value pair rather than the whole object, matching the app: sending the full set would make a stale read overwrite a change someone else made between your GET and your PUT.
key must be one GET /channels/preferences returned, and value must
be a shape that key accepts - anything else is a 422 saying which.
These are org-wide compliance switches. Needs a personal API key whose user can write channel preferences; org admins and owners always can.
Authorizations
Parameters
Header Parameters
Request Body required
Set ONE org-wide channel preference.
object
Preference key, from GET /channels/preferences
New value. The service rejects a value the key does not accept with a 422.
Responses
200
Successful Response
object
An open envelope for one provider/deliverability result.
Open on purpose. These payloads are provider state and advisory reads whose
contents grow with the product, and a dropped field reads as “nothing to
report” rather than “we did not tell you”. Every value passes through
scrub_vendor_names on the way in.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error