Skip to main content
Follow the REST app guide. 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

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. 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

Writes

Follow the native write guide 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.