Skip to main content
POST
/
salesforce
/
miaw
/
webhook
cURL
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event
enum<string>
required
Available options:
message:new
session_id
string
required
Minimum string length: 1

Response

Default Response

success
boolean
required
message
string