---
title: "Criar webhook"
method: POST
path: "/webhooks"
tags: ["crm-v1-webhooks"]
---

# Criar webhook

`POST /webhooks`

## Request

- Base URL: `https://crm.rdstation.com/api/v1`
- URL: `https://crm.rdstation.com/api/v1/webhooks`
- Auth: API key in query parameter `token`

Criar webhook

## Request body

- object
  - `event_type` string
  - `http_method` string
  - `url` string

## Response `200`

Success

- object
  - `created_at` string
  - `created_via` string
  - `event_identifiers` unknown[]
    - unknown
  - `event_type` string
  - `http_method` string
  - `include_relations` string[]
  - `name` string, nullable
  - `platform_account_id` number
  - `source` string
  - `status` string
  - `updated_at` string
  - `url` string
  - `uuid` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Error

---

[API](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1.md) - [All operations](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/revisions/f83861e0c857?raw)
