Update the widget visitor
Sets the visitor’s name, email or phone number from what they typed into the widget — the pre-chat form uses this. It does not prove who they are; use set_user with an identifier_hash for that.
PATCH
Update the widget visitor
Authorizations
The signed session token from POST /api/v1/widget/config. Sent alongside website_token in the query string on every widget request. See /api-reference/widget-api-authentication.
Query Parameters
The web-widget inbox's public token, as it appears in your widget snippet. Required on every widget request.
Example:
"EXAMPLE_WEBSITE_TOKEN"
Body
application/json
Name, email, phone number and custom attributes.
Response
Success
The updated contact.