Set Webhook
PUT/webhook/set/:instanceName
Set Webhook
Request
Path Parameters
- required
instanceName stringrequired
Example: {{instance}}
- application/json
Body
- object
Responses
- 201
Created
Response Headers
X-Powered-By string
Content-Type string
Content-Length integer
ETag string
Vary string
Date string
Connection string
Keep-Alive string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"id": 1,
"url": "https://webhook.site/ddc933af-3e2b-4499-9c5e-5b296c40bc3e",
"enabled": false,
"events": {
"chatsSet": false,
"chatsUpsert": true,
"contactsSet": true,
"messagesSet": false,
"sendMessage": true,
"chatsDeleted": true,
"chatsUpdated": true,
"groupsUpsert": true,
"refreshToken": true,
"groupsUpdated": true,
"qrcodeUpdated": true,
"contactsUpsert": true,
"messagesUpsert": true,
"statusInstance": true,
"contactsUpdated": true,
"messagesUpdated": true,
"presenceUpdated": true,
"connectionUpdated": true,
"groupsParticipantsUpdated": true
},
"instanceId": 1
}
Loading...