API by router
Public
POST
application/json- body
device_type?|nullpage_path*Page PathLength
length <= 2048referrer?|nullscreen_width?|nullsession_id?|nullsite_id*Site IdFormat
uuidSuccessful Response
curl -X POST 'https://example.com/v1/public/analytics/track' \ -H 'Content-Type: application/json' \ -d '{ "page_path": "string", "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811"}'Example Response
Empty
POST
application/json- body
email?|nullform_data*Properties
properties <= 50page_slug?string|nullsite_id*Site IdFormat
uuidSuccessful Response
application/json- response
status?StatusDefault
"received"submission_id*Submission IdFormat
uuidcurl -X POST 'https://example.com/v1/public/forms/submit' \ -H 'Content-Type: application/json' \ -d '{ "form_data": {}, "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811"}'Example Response
{ "status": "received", "submission_id": "945dfedc-ad7f-4af7-b20c-06082ffa3cb3"}POST
instance_id*Instance IdFormat
uuidapplication/json- body
conversation_id?string|nullmessage*MessageLength
length <= 8000Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/v1/public/widget/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat' \ -H 'Content-Type: application/json' \ -d '{ "message": "string"}'Example Response
null