---
title: "Set webhook URL"
method: POST
path: "/webhook"
tags: ["Webhooks"]
---

# Set webhook URL

`POST /webhook`

## Request

- Base URL: `https://api.quackr.io`
- URL: `https://api.quackr.io/webhook`
- Auth: API key in header `x-api-key`

Set or update the webhook URL for receiving SMS notifications. When an SMS is received, your webhook will receive a POST request with the payload format shown in the response examples.

## Request body

- object
  - `webhookUrl` string, uri, required

## Response `200`

Successfully set webhook URL. When SMS messages are received, your webhook endpoint will receive POST requests with the following payload structure:

- object
  - `success` boolean

## Other responses

- `400`: Invalid webhook URL

---

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