---
title: "Store a webhook"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Store a webhook

`POST /webhooks`

Store a webhook for the authenticated user

## Request body

- RequestsWebhookStore
  - `events` string[], required
  - `phone_numbers` string[], required
  - `signing_key` string, required
  - `url` string, required

## Response `200`

OK

- ResponsesWebhookResponse
  - `data` EntitiesWebhook, required
    - `created_at` string, required
    - `events` string[], required
    - `id` string, required
    - `phone_numbers` string[], required
    - `signing_key` string, required
    - `updated_at` string, required
    - `url` string, required
    - `user_id` string, required
  - `message` string, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference.md) · [All operations](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ndolestudio/httpsms-api-reference/revisions/7e5d7ce790b3/schema)
