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

Create a webhook

Developing
POST
/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 POST 'https://api-sendwhats.innovtech.solutions/v1/webhooks' \
--header 'x-account-token: QqmYHPjEovEYu6UL2krb25Y4HJWPUrRjDB8uH3aw2yM6Xey94R' \
--header 'x-account-id: 420339940270936064' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://api-zapcontabil.zapcontabil.chat",
    "instanceId": "420644313987420160",
    "events": [
        "instance.qrcode.generated",
        "instance.connected",
        "instance.disconnected"
    ]
}'
Response Response Example
{}
Modified at 2025-04-22 03:39:12
Previous
Get a webhook
Next
Update a webhook