---
title: "Cadastrar uma URL de notificação"
method: POST
path: "/webhooks"
---

# Cadastrar uma URL de notificação

`POST /webhooks`

Cadastra uma URL para recebimento de webhooks.

## Request body

- object
  - `notificationKind` 'approved' | 'rejected' | 'validation_pendencies', required — Tipo de notificação. Valores possíveis: approved, rejected e validation_pendencies
  - `url` string, required — URL
  - `extraHeaders` string — Header adicional para ser enviado no webhook.

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` object
      - `notificationKind` string
      - `url` string
      - `createdAt` string
      - `extraHeaders` string

## Other responses

- `400` — 400
- `404` — 404

---

[API](https://skmtc.net/grafeno/apis/api-v2-grafeno.md) · [All operations](https://skmtc.net/grafeno/apis/api-v2-grafeno/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafeno/api-v2-grafeno/versions/20f928f6933f/schema)
