# Concepts

If you run a **SaaS**, **platform**, or **API product** and want each of **your customers** to receive webhooks or other event destinations, Outpost gives you a **multi-tenant** control plane for that.

At a high level, the same mental model as a single-tenant webhook product still applies: something happens in your system (**event**), it belongs to a category (**topic**), and the consumer cares about **where** it should be delivered (**URL**, queue, and so on). Outpost adds one layer: those subscriptions live **per customer** in your product, which maps to a **tenant** in Outpost.

**Typical flow:**

1. **Map your customer to a tenant** — Pick the entity **in your product** that should own destinations for a slice of customers—often an **organization**, **project**, **workspace**, **team**, or **user**, depending on how you structure accounts. One Outpost **tenant** per such entity (for example one tenant per company, per project, or per end user in B2C). Use a stable **tenant ID** that matches an identifier you already store. Create or upsert that tenant when that scope is ready to use outbound events (onboarding, first visit to integrations, and so on).
2. **Each tenant has zero or more destinations** — A **destination** is a concrete subscription: it combines a **destination type** (webhook, SQS, Hookdeck, …), one or more **topics** the customer wants to receive, and **type-specific configuration** (for a webhook, the HTTPS **endpoint URL** and signing secret; for a queue, the queue identifier; and so on). One tenant may have several destinations (for example production vs staging endpoints, or different systems).
3. **Your backend publishes events** — When something happens, your **server** calls the publish API (or SDK) with **`tenant_id`**, **`topic`**, and payload metadata. Outpost does **not** infer the tenant from the browser; publishing uses your **platform** credentials and explicit tenant scope.
4. **Outpost delivers to matching destinations** — For that tenant, every destination whose **topic subscription** includes the event’s topic gets a delivery attempt. A single publish can fan out to **many** destinations or to **none** if no destination subscribes to that topic.

See the [Building your own UI](/docs/outpost/guides/building-your-own-ui) guide for screen-level structure, API patterns and authentication options.

## Models

* **Tenants** — A tenant is always an entity **in your product** that owns destinations and events. It usually maps to an **organization**, **project**, **workspace**, **team**, or **user** (some products surface the same idea as a customer **account**)—the same unit you scope settings, billing, or integrations to in your own model. It is **not** a Hookdeck login or an unrelated visitor—pick IDs that match how you already identify that entity in your system.
* **Destination Types** — The category of destination where events are delivered. Examples: webhook, Hookdeck Event Gateway, AWS SQS.
* **Destinations** — A configured instance of a destination type. For example, a webhook destination with a specific URL and signing secret.
* **Topics** — A topic categorizes events, following the common Pub/Sub concept. For example, `user.created` or `payment.succeeded`. Tenants subscribe their destinations to specific topics.
* **Events** — A piece of data representing an action that occurred in your system.
* **Delivery Attempts** — The result of one attempt to deliver an event to a destination, including the response received.

## Multi-Tenancy

Outpost is designed as a multi-tenant system from the ground up. Each tenant has isolated destinations, topics, and event delivery. A single Outpost deployment serves all your customers.

Tenants are created and managed via the API. Each tenant is identified by a string ID that maps to an identifier in your own system—for example, an **organization**, **project**, **workspace**, **team**, or **user** ID, or your account primary key. Outpost does not generate tenant IDs.

If your application is single-tenant, use a hardcoded value such as `default`, `production`, or `staging` to support multiple environments on the same Outpost deployment.

Read more about [multi-tenancy](/docs/outpost/features/multi-tenancy).

## Topics

Topics allow your tenants to subscribe to specific categories of events. When publishing an event, you specify a topic. Only destinations subscribed to that topic (or the wildcard `*`) receive the event.

A list of available topics is configured at the platform level. Tenants then choose which topics each of their destinations subscribes to.

### Managed

Configure available topics in [Hookdeck General settings](https://dashboard.hookdeck.com/settings/project/general) or through the Config API using `TOPICS`.

### Self-Hosted

Configure available topics with the `TOPICS` environment variable.

Read more about [topics](/docs/outpost/features/topics).

## Event Delivery

Outpost operates on an at-least-once delivery guarantee. Events are delivered to all destinations whose topic subscriptions and filters match the event. Each delivery attempt is tracked and, on failure, retried automatically.

### Managed

Configure retry behavior in [Hookdeck General settings](https://dashboard.hookdeck.com/settings/project/general) or with the Config API using `MAX_RETRY_LIMIT`, `RETRY_INTERVAL_SECONDS`, and `RETRY_SCHEDULE`.

### Self-Hosted

Configure retry behavior with `MAX_RETRY_LIMIT`, `RETRY_INTERVAL_SECONDS`, and `RETRY_SCHEDULE`.

Read more about [event delivery and retries](/docs/outpost/features/event-delivery).

### Publish acceptance vs observability {#publish-acceptance-vs-observability}

When you call **publish** (`POST /publish` or the SDK equivalent), Outpost responds with **HTTP 202** and an **event id** once it has **accepted** the event for processing. That response confirms the event entered the pipeline — it does **not** guarantee the event is already listed in the **events** or **attempts** APIs, or that the webhook has been delivered.

If you list tenant events (`GET …/events` with a `tenant_id` query parameter) or load delivery attempts immediately after publish, the result may be empty for a short time while Outpost indexes the event and schedules delivery. That is normal eventual consistency, not a failed publish.

How you verify success depends on what you are building:

* **Publish-and-confirm flows** (including the quickstarts in this documentation): treat **202 + event id** as publish success in your code, then confirm delivery in **Hookdeck Console**, your project's dashboard **logs**, or by watching your webhook endpoint.
* **Activity or audit UIs** in your product: **poll** the events or attempts APIs with backoff until the event appears — see [Building your own UI](/docs/outpost/guides/building-your-own-ui) for patterns.

## Portal

Outpost includes a built-in self-service portal for your tenants to manage their destinations, view events, and retry failed deliveries. The portal is accessed via a short-lived JWT token generated by the API.

### Managed

Configure portal behavior in [Hookdeck User Portal settings](https://dashboard.hookdeck.com/settings/project/user-portal).

### Self-Hosted

Configure portal behavior with `PORTAL_*` environment variables.

Read more about [the tenant portal](/docs/outpost/features/tenant-user-portal) for setup and configuration details.

## Event Destinations

Outpost is an implementation of the [Event Destinations](https://eventdestinations.org) specification. Event Destinations are a way to deliver events to a variety of destinations, such as webhooks, queues, and streams, improving the reliability, security, and scalability of event delivery.

The following destination types are available for your tenants to configure:

* [Webhook](/docs/outpost/destinations/webhook)
* [Hookdeck Event Gateway](/docs/outpost/destinations/hookdeck)
* [AWS SQS](/docs/outpost/destinations/aws-sqs)
* [AWS EventBridge](/docs/outpost/destinations/aws-eventbridge)
* [AWS Kinesis](/docs/outpost/destinations/aws-kinesis)
* [AWS S3](/docs/outpost/destinations/aws-s3)
* [Azure Service Bus](/docs/outpost/destinations/azure-service-bus)
* [GCP Pub/Sub](/docs/outpost/destinations/gcp-pubsub)
* [RabbitMQ (AMQP)](/docs/outpost/destinations/rabbitmq)
* [Kafka](/docs/outpost/destinations/kafka)
* [Cloudflare Queues](/docs/outpost/destinations/cloudflare-queues)

**Hookdeck Outpost** is the same [open-source Outpost](https://github.com/hookdeck/outpost) project, operated on Hookdeck’s infrastructure. We do not maintain a separate hosted fork; what we run tracks the public codebase.

If there is an event destination type you would like to see supported, [open a feature request on GitHub](https://github.com/hookdeck/outpost/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=%F0%9F%9A%80+Feature%3A+).

For a diagram of how the API, delivery, and log services connect in **self-hosted** deployments, see [Self-hosting architecture](/docs/outpost/self-hosting/architecture).

## Observability

Outpost provides observability metrics via OpenTelemetry and the Metrics API. Those metrics can be used to monitor your Outpost deployment and provide metrics to your end-users such as events failure rates by destination or events per topic.

Read more about [Opentelemetry](/docs/outpost/features/opentelemetry) and [Metrics](/docs/outpost/features/metrics).