v1

latestOpenAPI 3.1.02026-07-2615040.1 KB

Criar webhook app

post/api/v0/webhook

Request body

namestring required

Nome do Webhook app

urlstring required

URL que receberá as notificações

eventsstring[]

Lista de eventos para receber as atualizações

Response

201

idstring
namestring
urlstring
secret_tokenstring
eventsstring[]
is_activeboolean
created_atstring

Example response

{
  "id": "webhook-app-123",
  "name": "Meu Webhook App",
  "url": "https://meusite.com/webhook",
  "secret_token": "abc123def456",
  "events": [
    "order.posted"
  ],
  "is_active": true,
  "created_at": "2023-10-01T12:00:00Z"
}