v1

latestOpenAPI 3.1.02026-07-2615040.1 KB

Atualizar Webhook App

put/api/v0/webhook

Path parameters

idstring required

Identificador do Webhook App a ser atualizado

Request body

namestring

Novo nome do Webhook App

urlstring

Nova URL para receber as notificações

eventsstring[]

Nova lista de eventos

is_activeboolean

Ativar ou desativar o webhook

Response

200

idstring
namestring
urlstring
eventsstring[]
is_activeboolean
updated_atstring

Example response

{
  "id": "webhook-app-123",
  "name": "Webhook Atualizado",
  "url": "https://meusite.com/novo-webhook",
  "events": [
    "order.created"
  ],
  "updated_at": "2023-10-10T09:00:00Z"
}