Participant APIUser
Update contact preferences
Update the user's newsletter and weekly subscription preferences.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/user/contact-preferences" \ -H "Content-Type: application/json" \ -d '{ "subscribedToNewsletter": true, "toggleWeeklySubscription": true }'{
"message": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}