Contacts
Sessions
AI Phone Agents
AI Email
AI WhatsApp
AI Outbound Sequencing
AI Training
Customer Insights
Groups (teams)
Webhooks
Contacts
Authenticate contact
authenticate the contacts
POST
/
widget
/
authenticate-user
cURL
Copy
curl --request POST \
--url https://api.open.cx/widget/authenticate-user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "jhon@example.com",
"name": "John Doe",
"avatar_url": "https://example.com/avatar.png",
"phone": "+1234567890",
"language": "en",
"customData": {
"customKey": "customValue"
},
"chat_context": "<string>",
"http_action_overrides": {
"query_params": {},
"path_params": {},
"headers": {}
}
}'
Copy
{
"token": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
201
application/json
The response is of type object
.
Was this page helpful?
cURL
Copy
curl --request POST \
--url https://api.open.cx/widget/authenticate-user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "jhon@example.com",
"name": "John Doe",
"avatar_url": "https://example.com/avatar.png",
"phone": "+1234567890",
"language": "en",
"customData": {
"customKey": "customValue"
},
"chat_context": "<string>",
"http_action_overrides": {
"query_params": {},
"path_params": {},
"headers": {}
}
}'
Copy
{
"token": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.