Skip to main content
PATCH
/
webhooks
/
{id}
Atualizar Webhook
curl --request PATCH \
  --url https://api.wapizap.com/api/v2/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "isActive": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
url
string<uri>
events
string[]
isActive
boolean

Response

200

Webhook atualizado