Setting up a webhook
One form creates and edits a webhook. Click New webhook on the Webhooks page to start, or click a webhook’s row to change it. A new webhook works with its defaults, so you only need this page when the other system expects something particular.
Available when: your role includes Manage webhooks; a new webhook also needs room in your plan's webhook limit
The form is one page of cards, in the order below. Save with Create webhook on a new one, or Save changes on an existing one. Cancel and the back arrow take you to the list, and if you changed something, Doxtly asks Leave the page? first.
The defaults of a new webhook:
| Setting | Default |
|---|---|
| Method | POST |
| Status | Active |
| Authentication | Token, in the Authorization header, generated for you |
| Signature | Off |
| Largest body | 1024 KB |
| JSON Schema | Off |
| Keep the requests’ content | On |
| Response | 202 Accepted, no body |
| Rate limits | On |
| Idempotency key | Not required |
Which settings for which system
Section titled “Which settings for which system”Most webhooks need only a name. These are the situations where you change something.
| Your situation | What to set |
|---|---|
| A shop or CRM with a webhook screen that lets you add a header | Keep Token in the Authorization header, and add a JSON Schema so the order’s fields appear in the workflow designer. |
| An older system that can only call an address | Token with The “token” address parameter. If it can only send GET, set Method to GET, and the data comes from the address. |
| GitHub, Shopify or another system that signs what it sends | Turn on the signature with its header and secret. Keep a token as well if the system can send one. |
| One Doxtly workflow calling another | Standard Webhooks as the signing method, which is how the Webhook step signs. |
| An HR system sending personal data | Turn off Keep the requests’ content once the connection works, so the data reaches the workflow but stays out of the log. |
Basic information
Section titled “Basic information”
Name is required, up to 255 characters. It is the name you pick the webhook by in a workflow’s trigger, so make it say what arrives: Course orders, not Shop webhook 2.
Method is the one HTTP method the webhook accepts: POST, PUT, PATCH, DELETE or GET. A request with any other method gets a 405. Use whatever the other system sends. Most send POST.
The method also decides where the data is read from:
| Method | Data comes from |
|---|---|
POST, PUT, PATCH |
The request body |
GET |
The address parameters, such as ?orderId=A-17 |
DELETE |
You choose, in Data from |
Data from appears only for DELETE. Some proxies drop the body of a DELETE request, so it starts on Address parameters. Choose Request body if the other system really sends one.

The Active switch turns the webhook on and off. A switched-off webhook answers 404 and starts nothing, but its calls still appear in the Requests tab, shown as Webhook switched off. Use it to pause an integration without losing the address, for example during a migration. Workflows that listen to it stay active and show a warning in the designer. A workflow can’t start listening to a webhook that is off.
Address
Section titled “Address”The address exists once the webhook is saved, so a new webhook shows only a note here, and the address appears in the Webhook created window.
On a saved webhook the card shows the Webhook address with a copy button, and Example call, a curl command that matches your current settings: the method, where the token goes, the access key headers, a sample body. Open it and copy it for whoever connects the other system. It updates as you change the form, before you save. A token you can no longer see appears as <token>.

The address ends in the webhook’s own random identifier, so nobody can guess it, and it never changes. Renaming the webhook or changing any setting keeps it.
Authentication
Section titled “Authentication”An address alone is a weak secret: it ends up in logs and in other people’s screens. Authentication is how the webhook tells the real system from anybody else who learned the address.

| Option | What the caller sends | When to use it |
|---|---|---|
| None | Nothing. | Only for a system that can send nothing but a plain request. |
| Token | A secret token, in a header or an address parameter. | The usual choice. |
| Access key | One of your organization’s access keys, in the X-Api-Key and X-Api-Secret headers. |
The caller already has a key, or you want to switch callers off from one place. |
The token comes in sets where the caller puts it:
- The Authorization header (Bearer): sent as
Authorization: Bearer <token>. This is the safest. - The “token” address parameter: added to the address as
?token=..., for systems that can’t set headers. Doxtly removes the parameter before keeping the request, so it’s never stored or shown.
If the webhook has no token yet, Doxtly generates one as soon as you pick this option. It stays visible with a copy button until you save, and on a new webhook the Webhook created window shows it one last time. After that nobody can read it, Doxtly included. A saved webhook shows Saved. For security it is no longer shown. instead.

| Button | What it does |
|---|---|
| Generate a new one | Makes a fresh token and shows it. The old one keeps working until you save. |
| Paste your own | Opens a field for a token issued by the other system. Click Use to take it, or Cancel. |
A pasted token needs at least 24 printable characters, up to 512, without spaces.
Changing The token comes in keeps the token, but the other system has to send it the new way. Saving the webhook with None or Access key deletes the token, so going back to Token later means a new one.

Access key
Section titled “Access key”With Access key selected, the caller sends a key from Access keys. The key must belong to this organization, be active and not expired, and hold the Call webhooks permission, found in the Webhooks group of the key’s permissions. Anything else gets a 401. You can only give a key what you hold yourself, so giving it Call webhooks takes View webhooks and their requests.

The advantage is central control: switching off the key stops that caller on every webhook that takes keys. The request’s page also shows which key was used, so one webhook can tell its callers apart.

Anybody who knows the address can call the webhook, and the form warns you. The organization’s rate limits always apply to such a webhook, even one that checks a signature, and their switch can’t be turned off. If the other system can’t send a token but can sign its requests, turn on the signature as well.

Signature
Section titled “Signature”Authentication proves who holds the key. A signature goes further: the sender computes a code from the request’s body with a secret you share, so the webhook knows the body arrived unchanged. Many systems sign their webhooks without being asked, and this is the place to check what they send. It works together with any authentication option, and a request that isn’t signed correctly gets a 401.
Turn on Check the signature and choose the Signing method.

Standard Webhooks follows the Standard Webhooks specification. The sender adds webhook-id, webhook-timestamp and webhook-signature headers. It’s the way Doxtly’s own Webhook step signs, so choose it when one Doxtly workflow calls another. The timestamp must be within 5 minutes of the current time, either way, so a captured request can’t be sent again later. The secret looks like whsec_...: base64 of 24 to 64 bytes.
HMAC-SHA256 of the body is for systems with a header of their own, such as GitHub or Shopify. Three more fields appear:

| Field | What to enter |
|---|---|
| Signature header | The header the sender uses, such as X-Hub-Signature-256. Required. |
| Encoding | Hex (the default) or Base64, as the sender’s documentation says. |
| Prefix | Text before the signature, such as sha256=, up to 32 characters. Leave it empty if there is none. |
For the two best-known senders, the fields read like this:
| Sender | Signature header | Encoding | Prefix |
|---|---|---|---|
| GitHub | X-Hub-Signature-256 |
Hex | sha256= |
| Shopify | X-Shopify-Hmac-Sha256 |
Base64 | Empty |
Signing secret works like the token: visible with a copy button until you save, and never shown again after that, apart from the Webhook created window of a new webhook. With Standard Webhooks a secret is generated for you. With HMAC-SHA256 of the body the field starts empty: use Paste your own for the secret set at the sender, at least 16 characters and up to 512, or Generate if the sender lets you choose one, and copy it across.
A secret belongs to its method. If you change Signing method on a saved webhook and change it back before saving, the stored secret returns and nothing changes for the sender. Saving on a different method replaces the secret, so the sender needs the new one. Saving with Check the signature off deletes the secret.
How the sender signs a request opens the exact recipe, for a developer who writes the sending side. The same recipe is on Calling a webhook.

Largest body (KB) rejects anything bigger with a 413. Enter 1 to 1024. Lower it if you know how large real requests are, so a mistake can’t send you a megabyte.
Check the data against a JSON Schema does two jobs at once:
- Requests are checked as they arrive. Data that doesn’t match gets a
422with a list of problems, and no workflow starts. Your workflows can rely on the fields being there. - The schema tells the workflow designer which fields requests bring, so they appear in the variable picker with their names. Without a schema you type the paths by hand.
A JSON Schema is a description of data, written in JSON. This one requires an order number and an email address:
{ "type": "object", "required": ["orderId", "email"], "properties": { "orderId": { "type": "string", "title": "Order number" }, "email": { "type": "string", "format": "email", "title": "Customer email" }, "amount": { "type": "number", "title": "Amount" } }}The editor starts with {}, which accepts anything. The schema must be a JSON object of at most 64 KB. Doxtly reads it as draft 2020-12 unless it names another draft. References ($ref) may only point to parts of the same schema (#/...), never to another document. A schema that can’t be used is refused when you save, with the reason. A request is told of at most ten problems. Saving with the switch off removes the schema.
The schema checks the data as Doxtly reads it. Everything that comes from a form or from address parameters is text, so describe those values as "type": "string", even a number such as a quantity.
Keep the requests’ content stores each request’s headers, parameters and body, encrypted, so you can read them on its page. It’s on by default. Workflows get the data whether it’s on or off, so this only decides what you can look at later. Turn it off for a webhook carrying data you’d rather not store, or to save data space. What’s kept is listed on Requests.
Response
Section titled “Response”This card sets what an accepted request gets back. The workflows run afterwards, so the response can only say that the request was taken.

Response status is 200 OK, 201 Created, 202 Accepted (the default) or 204 No Content. Most senders only care that it’s a 2xx. Refused requests always get a status of their own, such as 401 or 422, whatever you pick here.
Fixed response body adds the same body to every accepted request, for senders that expect a particular answer, such as {"received": true}. Pick the Format, JSON or Text, and write the Response body, up to 64 KB. JSON must be valid. Without it the response is empty.
A 204 has no body by definition, so the switch is replaced by a note.

The body is fixed text: it can’t contain values from the request or from a workflow.
Limits and repeats
Section titled “Limits and repeats”
Apply the organization’s rate limits holds the webhook to the limits in your organization’s settings, and Rate limit settings beside the switch takes you there. Leave it on unless a trusted system really sends more than the limits allow, say a nightly import of a few thousand orders. It can only be turned off on a webhook that has Token or Access key authentication. With None it’s forced on, even if the webhook checks a signature.
The limits are set once for the whole organization, under Organization settings, Request limits, Webhooks, and each counts per hour:
| Field | Default | Counts |
|---|---|---|
| Requests per IP (per hour) | 1000 | One address, across all your webhooks |
| Requests per IP per webhook (per hour) | 600 | One address on one webhook |
| Requests per webhook (per hour) | 2000 | One webhook, from all addresses together. Stops a flood spread over many addresses. |
Each takes 1 to 100,000, and Reset to defaults restores the numbers above.

A request over a limit gets a 429 with a Retry-After header. It isn’t recorded, so a flood can’t fill your log. If a sender reports 429s that you can’t find on the Requests tab, this is why. The limits are counted before anything else, so calls with a wrong token and calls to a switched-off webhook use them up too.
Require an idempotency key refuses requests that come without a key, with a 400. The key normally travels in an Idempotency-Key header.
An idempotency key is a unique label a sender puts on a request. Systems send a request again when they get no answer or a server error, and without a label that second copy would start your workflows a second time and, say, issue a second invoice. With a key, Doxtly recognizes the repeat, answers as it did the first time and starts nothing. Keys are remembered for a day.
This protection works for any request that carries a key, whether or not you require one. The switch only makes the key compulsory. On a webhook checking Standard Webhooks signatures, the webhook-id header serves as the key when there is no Idempotency-Key, for the requirement too, so such requests are protected with no extra work. The details are on Calling a webhook.
Workflows
Section titled “Workflows”An existing webhook ends with the workflows whose trigger names it, active or not, each with its status. Click a name to open the workflow in the designer, if you hold Manage workflows.
If none of them is active you get a warning: the webhook takes requests and starts nothing.

You can’t add a workflow from here. The link is made on the workflow’s side, in its trigger.
After saving
Section titled “After saving”A new webhook opens the Webhook created window with the address and, when it has them, the token and the signing secret, each with a copy button and a warning. This is the last time they’re shown. You can only close the window with Done, which takes you to the list.

Saving an existing webhook takes you back to the list with The webhook has been saved., and changes apply to the next request. There is no such window here, so copy a new token or secret from the form before you click Save changes.