curl --request POST \
--url https://api.open.cx/widget/authenticate-user \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"name": "<string>",
"avatar_url": "<string>",
"phone": "<string>",
"language": "en",
"customData": {},
"chat_context": "<string>",
"http_action_overrides": {
"query_params": {},
"path_params": {},
"body_params": {},
"headers": {}
}
}
'{
"token": "<string>",
"contact": {
"id": "<string>"
}
}authenticate the contacts
curl --request POST \
--url https://api.open.cx/widget/authenticate-user \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"name": "<string>",
"avatar_url": "<string>",
"phone": "<string>",
"language": "en",
"customData": {},
"chat_context": "<string>",
"http_action_overrides": {
"query_params": {},
"path_params": {},
"body_params": {},
"headers": {}
}
}
'{
"token": "<string>",
"contact": {
"id": "<string>"
}
}en, fr, de, nl, pl, pt, es, it, ru, ja, ko, zh, ar, tr, sv, da, no, fi, el, cs, hu, th, vi, id, he, hi, uk, ro, bg, hr, sk, sl, sr, et, lv, lt, is, ga, ms, tl, fa, bn, ta, te, ur, sw, zu, af, sq, hy, az, eu, be, bs, ca, cy Show child attributes
Show child attributes
Was this page helpful?