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-sideApi-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-sideApi-Key header.
- Bind
providerWriterforiterable.profiles.upsertand pass it asreceivers.writers["iterable.profiles.upsert"]. Use actionupsert. Pass the user ID asexternalIdand a data-fields object aspayload. - Bind
providerWriterforiterable.events.createand pass it asreceivers.writers["iterable.events.create"]. Use actioncreate. PassuserIdandeventNamein the event. A receipt requires Iterable codeSuccess.