---
title: "Cadastrar Webhook - Basic"
method: POST
path: "/webhook/subscription"
---

# Cadastrar Webhook - Basic

`POST /webhook/subscription`

## Request

- Base URL: `https://sandbox.openfinance.celcoin.dev/baas/v2`
- URL: `https://sandbox.openfinance.celcoin.dev/baas/v2/webhook/subscription`
- Auth: OAuth 2

Confira nosso tutorial -> https://developers.celcoin.com.br/docs/gerenciamento-de-webhook

## Request body

- object
  - `entity` string, required: Identificador do Evento.
  - `webhookUrl` string, required: Rota do Webhook.
  - `auth` object
    - `login` string
    - `pwd` string
    - `type` string

## Response `200`

200

- object
  - `version` string
  - `status` string

## Other responses

- `400`: 400
- `401`: 401
- `500`: 500

---

[API](https://skmtc.dev/celcoin/apis/baas-v2.md) - [All operations](https://skmtc.dev/celcoin/apis/baas-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/celcoin/apis/baas-v2/revisions/98ec6869c1f2?raw)
