Skip to main content
POST
/
v1
/
contacts
/
{identifier}
/
messages
Send message to contact
curl --request POST \
  --url https://app.chatbotx.io/api/v1/contacts/{identifier}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "files": [
    "<unknown>"
  ],
  "flowId": "<string>",
  "nodeId": "<string>",
  "inboxId": "<string>",
  "clientId": "<string>"
}
'
"<unknown>"

Authorizations

Authorization
string
header
required

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

Path Parameters

identifier
string
required
Minimum string length: 1

Body

application/json
text
string
Required string length: 1 - 1000
files
any[]
Minimum array length: 1
flowId
string
Pattern: \d+
nodeId
string
Pattern: \d+
inboxId
string

ID of the channel to send the message on. null to send message on the last interacted channel (if any).

Pattern: \d+
clientId
string
Pattern: \d+

Response

204 - application/json

OK

The response is of type any.