Contact Channels
Update a contact channel
Updates an existing contact channel. Only the values provided will be updated.
patch/contact-channels/{user_id}/{contact_channel_id}
Path parameters
user_idstring required
the user that the contact channel belongs to
Example:me
the user that the contact channel belongs to
contact_channel_idstring required
the target contact channel
Example:b3d396b8-c574-4c80-97b3-50031675ceb2
the target contact channel
Query parameters
user_idstring
The ID of the user, or the special value me for the currently authenticated user
Example:3241a285-8329-4d69-8f3d-316e08cf140c
The ID of the user, or the special value me for the currently authenticated user
contact_channel_idstring
Request body
Example request
{
"value": "johndoe@example.com",
"type": "email",
"used_for_auth": true,
"is_primary": true
}Response
Successful response
Example response
{
"user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"id": "b3d396b8-c574-4c80-97b3-50031675ceb2",
"value": "johndoe@example.com",
"type": "email",
"used_for_auth": true,
"is_verified": true,
"is_primary": true
}