Skip to main content
Follow the REST app guide. Pass 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’s data. 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 with profiles:write or events:write.
  • Bind providerWriter for klaviyo.profiles.upsert and pass it as receivers.writers["klaviyo.profiles.upsert"]. Use action upsert. Use the email address as externalId and a profile attributes object as payload. The receipt keeps the returned profile ID.
  • Bind providerWriter for klaviyo.events.create and pass it as receivers.writers["klaviyo.events.create"]. Use action create. Pass event attributes with metric, profile and unique_id. HTTP 202 records acceptance for asynchronous processing.
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.