---
title: "EventWolf API reference"
description: "Find any EventWolf API operation by resource, with who may call it and the rules every operation follows."
url: "https://agentpost.tools/docs/eventwolf/reference"
kind: reference
---

# EventWolf API reference

Every operation EventWolf serves, generated from its contract, so these pages match the API. Every request follows the [API basics](/docs/platform/api-basics.md). Start with the [EventWolf quickstart](/docs/eventwolf/quickstart.md) if you are new.

For tools that read OpenAPI, [/docs/eventwolf/openapi.json](/docs/eventwolf/openapi.json) describes every operation here as OpenAPI 3.1, with its credentials, schemas, examples, and error codes.

## Who may call

Each operation names who may call it. [Platform credentials](/docs/platform/concepts/credentials.md) explains each credential.

-   **Your server** sends your project’s secret key, which reaches every operation but the inbox.
-   A signed-in caller can use a user token, an IdentityHound session token, an IdentityHound API key, or an IdentityHound delegated token to reach the [inbox that credential names](/docs/eventwolf/concepts/notifications.md#the-inbox).
-   **A tool that spans your workspace** sends a [workspace key](/docs/platform/concepts/workspace-keys.md) and names one project in the `x-agentpost-project` header. It reaches only the reads: querying, looking up, and tailing events, and the event type registry.

## Conventions

What this API sets for every operation in this reference. [API basics](/docs/platform/api-basics.md) has the rules themselves, and its table compares the APIs.

-   **Base URL:** every path here starts with `https://api.agentpost.tools/v1/events`.
-   **Idempotency:** Every write (`POST`, `PUT`, `PATCH`, `DELETE`) takes `Idempotency-Key`, except [Publish an event](/docs/eventwolf/reference/events.md#publish-an-event), [Import event history](/docs/eventwolf/reference/events.md#import-event-history), [Validate an event](/docs/eventwolf/reference/events.md#validate-an-event), [Check a schema](/docs/eventwolf/reference/event-types.md#check-a-schema), and [Test a subscription](/docs/eventwolf/reference/subscriptions.md#test-a-subscription), whose entries say why. A key’s first answer is kept for 24 hours. [Retrying a write](/docs/platform/api-basics.md#retrying-a-write) has the rule, with the codes [`idempotency_mismatch`](/docs/eventwolf/errors.md#idempotency_mismatch) and [`conflict`](/docs/eventwolf/errors.md#conflict) it answers with.
-   **Lists:** Every list takes `limit`, 1 to 200, default 50, and pages with `next` and `after`. [Lists](/docs/platform/api-basics.md#lists) has the rule.
-   **IDs:** each ID starts with its kind’s prefix, as [IDs](#ids) lists.
-   **Errors:** An error’s `docs` link goes to its code’s entry on [EventWolf errors](/docs/eventwolf/errors.md). Any operation can answer with [`unauthenticated`](/docs/eventwolf/errors.md#unauthenticated), [`forbidden`](/docs/eventwolf/errors.md#forbidden), or [`internal_error`](/docs/eventwolf/errors.md#internal_error); each operation lists the other codes it can answer with. [Errors](/docs/platform/api-basics.md#errors) describes the body.

## IDs

| Kind | Looks like |
| --- | --- |
| Ingestion failure | `ifl_…` |
| Endpoint | `end_…` |
| Subscription | `sub_…` |
| Match | `mat_…` |
| Delivery | `dlv_…` |
| Attempt | `att_…` |
| Replay | `rpl_…` |
| Notification | `ntf_…` |
| Erasure | `ers_…` |

## Resources

Each resource has its own page, with its operations, their examples, and the objects they answer with.

| Resource | What it holds |
| --- | --- |
| [Config](/docs/eventwolf/reference/config.md) | The project’s one versioned config: whether unknown event types are accepted, the most data an event may hold, the delivery timeout and retry schedule, how long records are kept, and for push whether EventWolf sets the badge, the retry schedule, and the Expo access token, which is never returned. |
| [Events](/docs/eventwolf/reference/events.md) | Publish CloudEvents, import another system’s history, and read them back: the history by filter, one event by sequence or by its source and ID, what it caused, and a live tail. Erase personal fields from a stored event, and list its erasures. |
| [Ingestion failures](/docs/eventwolf/reference/ingest-failures.md) | The events EventWolf rejected, with why, so a producer’s bug shows up before anyone misses its events. |
| [Event types](/docs/eventwolf/reference/event-types.md) | The registry of your event types: a description, a JSON Schema for `data` with its versions, the data paths that hold references, and the types EventWolf has seen that nobody registered. |
| [Endpoints](/docs/eventwolf/reference/endpoints.md) | The URLs webhooks go to, each with its signing secrets, static headers, and whether it is active. A subscription names an endpoint as its target. |
| [Subscriptions](/docs/eventwolf/reference/subscriptions.md) | What to do with the events that match a filter: deliver them to an endpoint, or notify principals in their inbox. A change to the filter or target is a new version, and every match records the version it used. |
| [Deliveries](/docs/eventwolf/reference/deliveries.md) | Each webhook EventWolf sends, one per match, and each push to a phone, one per notification and push address, with every attempt: the request, the receiver’s answer or the provider’s ID for the push, or why there was none. |
| [Replays](/docs/eventwolf/reference/replays.md) | Send a range of history again, to one subscription or every subscription of an endpoint. A replay makes new matches and deliveries, with new `webhook-id` values and the events’ own `id`, and never changes the old ones. |
| [Topics](/docs/eventwolf/reference/topics.md) | What notifications are about, such as `assignments`: each topic’s name, whether it reaches each channel by default, and whether it is required. |
| [Recipients](/docs/eventwolf/reference/recipients.md) | The principals that notifications reach, by your own ID for each, with the topics they follow and their preferences. |
| [Push addresses](/docs/eventwolf/reference/push-addresses.md) | The devices a recipient’s notifications reach by push: each one a provider and the token your app got from it, such as an Expo push token. Your backend registers a token after the principal signs in and removes it when they sign out. A token belongs to one recipient at a time, so a shared phone never shows one principal’s notifications to the next. |
| [Inbox](/docs/eventwolf/reference/inbox.md) | Manage notifications in the inbox your credential names. List and count them, mark them read, seen, or archived, set inbox preferences, and receive new notifications live. |
