- Messages
- Users
- Instances
- Webhook
- Queues
- Groups
- Manage
Event when you send a message
POST
/deliveryWebhookUrl
Webhook
Last modified:2024-06-12 01:04:44
OperationId:deliveryWebhookUrl
Request
Authorization
Add parameter in header
authorization
Example:
authorization: ********************
Body Params application/json
webhook
string
optional
from
string
optional
to
string
optional
timestamp
integer
optional
ack
integer
optional
type
string
required
fromMe
boolean
optional
senderName
string
optional
chatName
string
optional
links
array [object]
optional
chat
optional
One of
text
object
optional
Example
{
"webhook": "string",
"from": "string",
"to": "string",
"timestamp": 0,
"ack": 0,
"type": "string",
"fromMe": true,
"senderName": "string",
"chatName": "string",
"links": [
{}
],
"chat": {
"text": {
"message": "string"
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/deliveryWebhookUrl' \
--header 'Content-Type: application/json' \
--header 'authorization;' \
--data-raw '{
"webhook": "string",
"from": "string",
"to": "string",
"timestamp": 0,
"ack": 0,
"type": "string",
"fromMe": true,
"senderName": "string",
"chatName": "string",
"links": [
{}
],
"chat": {
"text": {
"message": "string"
}
}
}'
Responses
🟢200success.
application/json
Body
sucesso
boolean
optional
Example
{
"sucesso": true
}
Modified at 2024-06-12 01:04:44