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 throughproviderEndpoint 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 withusers.track on the same REST origin.
- Bind
providerWriterforbraze.profiles.upsertand pass it asreceivers.writers["braze.profiles.upsert"]. Use actionupsert. Pass the external user ID asexternalIdand the profile attribute object aspayload. - Bind
providerWriterforbraze.events.createand pass it asreceivers.writers["braze.events.create"]. Use actioncreate. Passexternal_id,nameand an ISO timestamp intime. Braze must queue one record without a per-object error.
Individual custom events from Currents
Usebraze.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