> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Iterable campaign observations

> Read campaign metadata from one Iterable project.

Follow the [REST app guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind). Pass `providerEndpoint("iterable.campaigns.observations", "https://api.iterable.com", "/api/campaigns", auth, data)` as `receivers.provider`
from `@bijectionhq/app-rest`. For a European project use `https://api.eu.iterable.com`.
Seal a project read-only API key as header auth in `Api-Key`. Pass the same label to the receiver binder and as the app's `data`.

Initialize with `{ profile: { mode: "provider", provider: "iterable.campaigns.observations", limit: 100 } }`.

Each poll reads the unpaged project campaign list and publishes rows by campaign ID. The entire answer must fit 100 records and 36 KiB. Missing campaigns remain published.

[Iterable campaign endpoint and sample answer](https://support.iterable.com/hc/en-us/articles/204780579-Iterable-API-Endpoints-and-Sample-Payloads)

## Profiles, lists, and recent events

Use the same protected label and a sealed Server-side `Api-Key` for
by-user reads. Bind the route on the same regional origin.

| Mode | Path | Terms and key |
| - | - | - |
| `iterable.profiles.by-id` | `/api/users/byUserId` | User ID as `selection` and `limit: 1`. Key is the exact user ID. |
| `iterable.lists.observations` | `/api/lists` | Up to 100 list metadata rows, keyed by list ID. |
| `iterable.events.sample` | `/api/events/byUserId/USER_ID` | Same URL-safe user ID as `selection` and `limit` up to 100. Keys are user ID and event ID. |

The events endpoint returns a recent sample and supplies no position
for older events. The feed publishes only events carrying an exact ID.
Each response must fit 36 KiB. Polls repeat the request and leave omitted
records in place.

[Iterable API Explorer](https://api.iterable.com/api/docs)

## Writes

Follow the [native write guide](https://docs.bijection.com/integrations/native-connectors.md#provider-writes)
and bind the same protected label on the REST mount and writer receivers.
Use the project API origin and a sealed Server-side `Api-Key` header.

* Bind `providerWriter` for `iterable.profiles.upsert` and pass it as `receivers.writers["iterable.profiles.upsert"]`.
  Use action `upsert`. Pass the user ID as `externalId` and a data-fields object as `payload`.
* Bind `providerWriter` for `iterable.events.create` and pass it as `receivers.writers["iterable.events.create"]`.
  Use action `create`. Pass `userId` and `eventName` in the event. A receipt requires Iterable code `Success`.

Each command binds its key to the exact inputs and admits up to 24 KiB.
The mount retains receipt evidence and dispatches once. An unresolved
dispatch stays unknown.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.