Define the events to be monitored
PUT/webhook/events
Automatic paths
The parameter "autoPath" is optional. If not informed or assigned a value equal to false. All events will fire to the default url path.
With the parameter "autoPath=true", automatic paths will be inserted in the url.
The paths will be generated as follows:
chats.set => /api/chats
chats.update => /api/chats
chats.delete => /api/chats
contacts.update => /api/contacts
contacts.upsert => /api/contacts
status.broadcast => /api/status-broadcast
new.message => /api/new-message
send.message => /api/new-message
send.message:START => /api/send-message-queue
seed.message:PROCESSING => /api/send-message-queue
send.message:COMPLETED => /api/send-message-queue
send.message:ERROR => /api/send-message-queue
paused.queue => /api/queue-manager
resumed.queue => /api/queue-manager
deleted.queue => /api/queue-manager
messages.delete => /api/messages-delete
messages.update => /api/messages-update
messages.set => /api/messages-set
presence.update => /api/presence-update
request.payment => /api/payment
send.payment => /api/payment
decline.payment => /api/payment
cancel.payment => /api/payment
general.error => /api/general-error
The other events that cannot be disabled will be mapped as follows:
connection.update => /api/connection-update
qrcode.updated => /api/qrcode-updated
reject.call => /api/reject-call
Request
Query Parameters
Possible values: [true
, false
]
- application/json
Body
required
Default value: true
Default value: false
Default value: false
Default value: true
Default value: false
Default value: false
Default value: true
Default value: true
Default value: true
Default value: true
Default value: true
Default value: true
Default value: true
Default value: false
Default value: false
Default value: true
Default value: true
Default value: true
Default value: false
Default value: true
Default value: false
Default value: false
Default value: false
Default value: false
Default value: false
Default value: false
Default value: true
Responses
- 200