---
title: "Webhook Subscribe"
method: POST
path: "/webhook/subscribe"
---

# Webhook Subscribe

`POST /webhook/subscribe`

## Request

- Base URL: `https://api.phonely.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.phonely.ai/webhook/subscribe`
- Auth: none declared. Required headers: `X-API-KEY`, `X-USER-ID`

## Headers

- `X-API-KEY` string, required
- `X-USER-ID` string, required

## Request body

- WebhookUrlRequest
  - `hookUrl` string, nullable
  - `webhook_url` string, nullable

## Response `200`

Successful Response

- WebhookResponse
  - `message` string, required
  - `webhook_url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/phonely/apis/phonely-api.md) - [All operations](https://skmtc.dev/phonely/apis/phonely-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phonely/apis/phonely-api/revisions/9bfd5599d479?raw)
