Sends a text message to an active whatsapp chat.
...
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Authorization: Status
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
userid |
|
| customer phone number | ||||||||||
serviceid |
|
| service phone number | ||||||||||
text |
|
| Text message to send in chat | ||||||||||
chatid |
|
| Unique chat identifier |
Response:
Type:
Status | ||
---|---|---|
|
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| If true, the service response was performed correctly | ||||||||
error |
| Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/default/sendExternalTextMessageToActiveChat
...