Skip to main content
POST
/
webhooks
Cadastrar URL de Webhook
curl --request POST \
  --url https://production.api.noodle.cx/external/webhooks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhook_url": "<string>"
}
'
{
  "id": "<string>",
  "webhook_url": "<string>",
  "active": true,
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
webhook_url
string<uri>
required

URL do webhook que receberá as notificações

Required string length: 1 - 2083

Response

Successful Response

id
string
required

ID único da configuração de webhook

webhook_url
string | null
required

URL do webhook

active
boolean
required

Status ativo/inativo do webhook

created_at
string
required

Data de criação