providerEndpoint("klaviyo.lists.observations", "https://a.klaviyo.com", "/api/lists", auth, data) as receivers.provider
from @bijectionhq/app-rest. Use header auth named Authorization with prefix
Klaviyo-API-Key and seal a private API key with list:read.
Pass the same label to the receiver binder and as the app’s data.
Initialize with { profile: { mode: "provider", provider: "klaviyo.lists.observations", limit: 10 } }.
The feed requests revision 2026-10-15, keeps list resources by ID and follows page[cursor] until the next link is absent. It starts another walk at the next poll and preserves omitted lists. Each page accepts up to 10 records and 36 KiB. The scope is list metadata.
Klaviyo get lists
Profiles, segments, campaigns, and events
Pass the same protected label to the receiver binder and as the app’sdata. Add the relevant
read scope and bind one of these modes per mount.
For campaigns, set
collection to email or sms. Each mode stores
the returned JSON API resource under its exact ID and follows the
page[cursor] value at the installed endpoint. Pages admit up to
10 rows and 36 KiB. The next poll restarts after a complete sweep.
Missing resources leave earlier observations in place.
Writes
Follow the native write guide and bind the same protected label on the REST mount and writer receivers. Use the same Klaviyo origin and private key header withprofiles:write or events:write.
- Bind
providerWriterforklaviyo.profiles.upsertand pass it asreceivers.writers["klaviyo.profiles.upsert"]. Use actionupsert. Use the email address asexternalIdand a profile attributes object aspayload. The receipt keeps the returned profile ID. - Bind
providerWriterforklaviyo.events.createand pass it asreceivers.writers["klaviyo.events.create"]. Use actioncreate. Pass event attributes withmetric,profileandunique_id. HTTP 202 records acceptance for asynchronous processing.