This endpoint allows you to send a message to a specified phone number.
phone
(string, required): The phone number to which the message will be sent.message
(string, required): The content of the message to be sent.The response will be a 404 Not Found error if the requested resource is not available.
{
"statusCode": 0,
"data": {
"success": true,
"data": {
"messaging_product": "",
"contacts": [
{
"input": "",
"wa_id": ""
}
],
"messages": [
{
"id": ""
}
],
"chat": {
"id": 0,
"uuid": "",
"organization_id": 0,
"wam_id": "",
"contact_id": 0,
"type": "",
"metadata": "",
"media_id": null,
"status": "",
"deleted_by": null,
"deleted_at": null,
"created_at": "",
"contact": {
"id": 0,
"uuid": "",
"organization_id": 0,
"first_name": null,
"last_name": null,
"phone": "",
"email": null,
"avatar": null,
"address": null,
"contact_group_id": null,
"is_favorite": 0,
"created_by": 0,
"created_at": null,
"updated_at": null,
"deleted_at": null,
"full_name": ""
},
"media": null
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
This endpoint allows you to send a message to a specified phone number.
phone
(string, required): The phone number to which the message will be sent.message
(string, required): The content of the message to be sent.The response will be a 404 Not Found error if the requested resource is not available.
{
"statusCode": 0,
"data": {
"success": true,
"data": {
"messaging_product": "",
"contacts": [
{
"input": "",
"wa_id": ""
}
],
"messages": [
{
"id": ""
}
],
"chat": {
"id": 0,
"uuid": "",
"organization_id": 0,
"wam_id": "",
"contact_id": 0,
"type": "",
"metadata": "",
"media_id": null,
"status": "",
"deleted_by": null,
"deleted_at": null,
"created_at": "",
"contact": {
"id": 0,
"uuid": "",
"organization_id": 0,
"first_name": null,
"last_name": null,
"phone": "",
"email": null,
"avatar": null,
"address": null,
"contact_group_id": null,
"is_favorite": 0,
"created_by": 0,
"created_at": null,
"updated_at": null,
"deleted_at": null,
"full_name": ""
},
"media": null
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.