curl --request POST \
--url https://api.open.cx/salesforce/miaw/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event": "message:new",
"session_id": "<string>"
}
'{
"success": true,
"message": "<string>"
}curl --request POST \
--url https://api.open.cx/salesforce/miaw/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event": "message:new",
"session_id": "<string>"
}
'{
"success": true,
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?