Skip to main content
Follow the REST app guide. Pass providerEndpoint("braze.campaigns.observations", "https://rest.iad-01.braze.com", "/campaigns/list", auth, data) as receivers.provider from @bijectionhq/app-rest. Use your workspace’s REST origin and seal a bearer REST API key with campaigns.list. Pass the same label to the receiver binder and as the app’s data. Initialize with { profile: { mode: "provider", provider: "braze.campaigns.observations", limit: 100 } }. Braze returns numbered pages of up to 100 campaigns, including archived campaigns. Rows publish by campaign API ID. A short or empty page terminates the walk. The next poll restarts at page zero. Each page must fit 36 KiB. Missing campaigns remain published. Braze export campaigns list

Profiles, segments, and event counts

Bind one of these modes through providerEndpoint on the same workspace origin and protected label. Seal a bearer API key with the listed scope. Profiles use the external ID and include custom attributes and custom-event summaries. Segment rows use API IDs and resume numbered pages from page zero after a short or empty page. Event counts use event name and day, with a single answer per poll. This API returns counts. Per-event delivery requires Braze Currents. Each answer fits 36 KiB. Omissions leave earlier observations in place. Braze REST API

Writes

Follow the native write guide and bind the same protected label on the REST mount and writer receivers. Seal a workspace bearer token with users.track on the same REST origin.
  • Bind providerWriter for braze.profiles.upsert and pass it as receivers.writers["braze.profiles.upsert"]. Use action upsert. Pass the external user ID as externalId and the profile attribute object as payload.
  • Bind providerWriter for braze.events.create and pass it as receivers.writers["braze.events.create"]. Use action create. Pass external_id, name and an ISO timestamp in time. Braze must queue one record without a per-object error.
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.

Individual custom events from Currents

Use braze.currents.custom-events.s3 through the S3 object mount. Configure Braze Currents to deliver to an operator-owned versioned bucket. Give Braze the delivery permissions separately. Bind the mount’s read-only S3 credential to the reviewed prefix for the users.behaviors.CustomEvent partition of one Currents integration. Pass the same protected label to the receiver binder and as the app’s data. Initialize with { format: "braze-currents" }. The mount follows S3 object-version positions and stages Files up to 1 MiB in version-checked 24 KiB ranges. It parses eligible Avro files up to 48 KiB and 128 records. Larger supported Files remain available with their per-version parse status. Objects above 1 MiB retain metadata. Use braze.list to page unique event IDs and braze.get({ id }) to read the first retained event and its source version. A repeated ID may appear in another raw delivery file. Omissions leave existing rows and Files in place. Braze Currents on S3