PATCH
/
webhooks
/
{webhook_id}
curl --request PATCH \
  --url https://api.zapsterapi.com/v1/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true,
  "name": "Meu Webhook",
  "url": "https://webhook.example.com/receive"
}'
{
  "created_at": "2025-03-12T23:12:19.448Z",
  "enabled": true,
  "id": "3nsnz68l0xbf0m3uu9tfo",
  "name": "Meu Webhook",
  "test_url": null,
  "url": "https://webhook.mydomain.com"
}

Utilize este endpoint quando precisar atualizar dados do webhook.

Atenção: Toda e qualquer modificação utilizando este endpoint afetará todas as instâncias conectadas a este webhook.

Authorizations

Authorization
string
header
required

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

Path Parameters

webhook_id
string
required

Identificador único do webhook.

Body

application/json

Response

201 - application/json

Webhook registrado com sucesso.

Resposta ao registrar um webhook.