Sends a text message to a whatsapp customer.
...
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier |
Authorization: Status
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
customerPhoneNumber |
|
| customer phone number | ||||||||||
servicePhoneNumber |
|
| whatsapp business number | ||||||||||
text |
|
| Text message to send in chat |
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/sendExternalMessageToCtlivesocial
...
Code Block | ||
---|---|---|
| ||
{ "customerPhoneNumber": "393403609169393403603062", "servicePhoneNumber": "3902124122690", "text":"Messaggio da external ws" } |
...