Back to documentation

Inbound Channels and Endpoints for Webhook Delivery

Create Inbound recipients, choose Direct or CLI, save Endpoints and connect them to Servers.

View as Markdown
On this page

Recipient model

A Channel belongs to the account and contains Endpoints. An Endpoint defines one recipient URL. A Channel is not owned exclusively by one Server: Routers establish Server connections. Older Destination links refer to this topic.

Direct and CLI

Channel type Where HTTP executes Recipient address
Direct In the request's receipt region Reachable from the region
CLI On the computer running Adal CLI Local or reachable from that computer

The type applies to the whole Channel. Use different Channels for different mechanisms. Direct forwards an incoming webhook; independent Outbound API submissions are configured separately.

Create a Channel and Endpoints

  1. Open Inbound → Channels, form /inbound/channels/new.

  2. Select Direct or CLI, set a name and optional notes, then choose Create channel.

  3. In the resulting details, choose Add endpoint under Endpoints.

  4. Enter a URL and check interval, idempotency and Enabled.

  5. Choose Save endpoints. The Channel settings Save button does not save the Endpoint list.

A new Channel has no Endpoints. Channel settings and recipients are saved through separate forms.

Channel creation form with Type, Name and Notes fields

Create a Channel. Add Endpoints in a separate panel after creation. Demonstration dashboard, English interface. Open full-size screenshot.

CLI settings

CLI accepts a local URL such as http://127.0.0.1:3000/adal. It must be reachable from the CLI process, not the browser or region. Deliver backlog controls new backlog delivery after client absence; jobs already saved by CLI resume through its journal.

Issue a separate secret in this Channel's CLI token panel and run Adal CLI. An account API token cannot replace it.

Direct settings

Use an HTTPS recipient URL reachable from the region. Local, private and service addresses are forbidden for Direct, including localhost. Use CLI for local development. See Direct.

Connect Servers

Create an enabled Router, selecting Servers and Channels. Creating a Channel alone does not enable delivery from a particular Server. One Channel can receive requests from several Servers.

What is forwarded

Delivery appends the incoming path to the Endpoint base path and transfers the incoming query separately. Query parameters in the base URL are forbidden for both types, including an empty trailing ?. Transport headers are adapted for the new HTTP connection: do not expect byte-for-byte equivalence of the complete network packet or the original Host.

Payload transformations

In Inbound → Channels, open a Channel and turn on Transform payload for the Endpoint you want to change. Each Endpoint in a CLI or Direct Channel has its own rules. Endpoints with transformations turned off receive the original body. The Inbound journal records the original request.

JSON by Content-Type

Set Expected Content-Type to a media type such as application/json. Matching ignores case and parameters such as charset=utf-8. If the type is missing, invalid, or different, the Endpoint receives the original body.

Rules run from top to bottom. The JSON root must be an object. Use a path such as order.status.id to address nested object fields. Escape a literal dot as \. and a literal backslash as \\. You can replace or remove an entire array. A path that goes through an array, a scalar, or null causes a transformation error.

  • Replace sets an existing field to a JSON value, including null. Turn on Create missing field to create the field and any missing parent objects. With the option off, the rule skips a missing field.

  • Remove deletes the field and any parent objects that become empty as a result. If the field is missing, the rule skips it. The root remains {} if all its fields are removed.

For example, to turn {"order":{"status":{}}} into {"order":{"status":{"id":123}}}, add a Replace rule with path order.status.id, enter 123 as the JSON value, and turn on Create missing field.

Regular expression

This mode processes UTF-8 text regardless of Content-Type. Rules run from top to bottom and replace all matches. Use Go regular expression syntax and capture references such as $1 or ${name} in Replacement. With no matches, the Endpoint receives the original body.

Preview and errors

In Payload preview, enter a sample body and its HTTP content headers, then choose Run preview. You can also start with a stored request. Preview uses the current draft rules and shows what the Endpoint would receive. Choose Save endpoints to apply your rules to future deliveries.

Invalid JSON for a matching type, duplicate JSON keys, and invalid UTF-8 can cause a transformation error. Both modes accept an absent or identity Content-Encoding. The input and each result are limited to 256 KiB, with up to 32 rules per Endpoint and 64 levels of JSON nesting.

Deliver original on transform error is off by default. With it off, delivery to that Endpoint stops before any HTTP attempt. With it on, Adal attempts delivery with the original body. The history shows the transformation error alongside the HTTP outcome. When the rules leave the body unchanged, Adal preserves its original bytes.

When the body changes, Adal recalculates Content-Length and removes outdated body digests from headers and trailers. A sender signature that covers the original body may fail verification at the recipient.

Outcomes and retries

Each enabled Endpoint has independent attempts. One succeeding does not complete the others. Delivery interval (ms) is a delivery interval, not a configurable retry schedule. See the shared retry rules; recipient states remain independent.

History

Open a Channel under Deliveries in incoming request details. Inspect that Endpoint's URL, state and attempts. A historical URL can differ from current Channel settings: the report describes execution of a saved job.

Edit and delete

Save endpoints replaces the desired set: removing and saving a row removes its Endpoint, and saving an empty set removes them all. Review the entire list before saving. Editing or deleting is not a command to restart finished requests or a guarantee to cancel an HTTP call already started.

Changing type validates saved URLs. CLI → Direct revokes the CLI secret; changing back does not issue a new one automatically. A Channel referenced by a Router cannot be deleted (channel_in_use): remove the connections first. Confirming Channel deletion removes its Endpoints and secrets.

Idempotency-Key

Add an idempotency key adds Idempotency-Key containing request_id to every attempt. The recipient must implement key handling and protection against duplicate business effects. The flag does not guarantee an exactly-once effect.

Secrets and addresses

URLs, paths, notes and HTTP data can expose sensitive configuration. Keep real secrets out of documentation. Verify provider signatures in your application; Channel configuration does not do that for you.

Boundaries

A new Endpoint starts receiving new requests from its connection time; this is not a historical import. Do not assume new settings apply retroactively to an already accepted request. Check each new test on a separate request.

Troubleshooting

Check the type, saved Endpoint, Enabled, Router and URL. endpoint_query_not_allowed means a query in the base URL; Direct local_address means a local address. A URL error during type change requires correcting an incompatible saved URL, not repeating an unchanged save.

Routers, Direct, CLI, quickstart.

Related documentation