Send Whats
  1. Webhooks
Send Whats
  • Instances
    • List instances
      GET
    • Get an instance
      GET
    • Create an instance
      POST
    • Connect an instance
      POST
    • Disconnect an instance
      POST
  • Messages
    • Send a text message
      POST
    • Send batch files
      POST
  • Webhooks
    • Guia de integração
    • List webhooks
      GET
    • Get a webhook
      GET
    • Create a webhook
      POST
    • Update a webhook
      PUT
    • Remove a webhook
      DELETE
  1. Webhooks

Update a webhook

Developing
PUT
/v1/webhooks

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-sendwhats.innovtech.solutions/v1/webhooks' \
--header 'x-account-token: QqmYHPjEovEYu6UL2krb25Y4HJWPUrRjDB8uH3aw2yM6Xey94R' \
--header 'x-account-id: 420339940270936064' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "437681718405763072",
    "instanceId": "420644313987420160",
    "url": "https://vast-tent-99.webhook.cool",
    "events": [
        "instance.qrcode.generated",
        "instance.connected",
        "instance.disconnected",
        "message.received"
    ]
}'
Response Response Example
{}
Modified at 2025-04-23 03:31:09
Previous
Create a webhook
Next
Remove a webhook