OpenAPI-style API reference
This browser gives you one place to scan Bento endpoints, request fields, response fields, and the matching hand-written docs. It is generated from a docs-owned OpenAPI-style snapshot that follows the current MDX reference pages.
bentonow/api repository may be stale. This page intentionally mirrors the current docs instead of pulling that repo at build time.Reference browser
- Base URL
- https://app.bentonow.com/api/v1
- Snapshot
- docs-snapshot-2026-07-08
- Endpoints
- 36
This snapshot is maintained from the current Bento docs pages. The public bentonow/api repository may lag behind this reference.
Core writes
Create or update Bento data from your app.
POST/batch/eventsCreate events
Track user activity, update profile fields, and trigger workflows.
/batch/eventsCreate events
Track user activity, update profile fields, and trigger workflows.
Request
- Name
eventsarrayRequired- Description
- One to 1000 event objects.
- Name
events[].typestringRequired- Description
- Event name.
- Name
events[].emailstringRequired- Description
- Subscriber email address.
- Name
events[].fieldsobject- Description
- Flat profile fields to update.
- Name
events[].detailsobject- Description
- Nested event-specific context.
- Name
events[].datedatetime- Description
- Optional ISO 8601 timestamp for when the event happened.
Response
- Name
resultsinteger- Description
- Number of events accepted.
- Name
failedinteger- Description
- Number of events rejected.
POST/batch/subscribersImport subscribers
Bulk create or update subscribers without triggering automations.
/batch/subscribersImport subscribers
Bulk create or update subscribers without triggering automations.
Request
- Name
subscribersarrayRequired- Description
- One to 1000 subscriber objects.
- Name
subscribers[].emailstringRequired- Description
- Subscriber email address.
- Name
subscribers[].first_namestring- Description
- Subscriber first name.
- Name
subscribers[].last_namestring- Description
- Subscriber last name.
- Name
subscribers[].tagsstring- Description
- Comma-separated tags to add.
- Name
subscribers[].remove_tagsstring- Description
- Comma-separated tags to remove.
- Name
subscribers[].utm_sourcestring- Description
- Attribution source for imported subscribers.
- Name
subscribers[].utm_mediumstring- Description
- Attribution medium for imported subscribers.
- Name
subscribers[].utm_campaignstring- Description
- Attribution campaign for imported subscribers.
- Name
subscribers[].utm_contentstring- Description
- Optional attribution content value.
- Name
subscribers[].utm_termstring- Description
- Optional attribution term value.
- Name
subscribers[].created_atdatetime- Description
- ISO 8601 timestamp to backfill the subscriber creation date.
Response
- Name
resultsinteger- Description
- Number of subscriber records queued for import.
- Name
failedinteger- Description
- Number of subscriber records rejected from the request.
POST/batch/emailsCreate emails
Queue transactional or one-off emails for delivery.
/batch/emailsCreate emails
Queue transactional or one-off emails for delivery.
Request
- Name
emailsarrayRequired- Description
- One to 60 email objects.
- Name
emails[].tostringRequired- Description
- Recipient email address.
- Name
emails[].fromstringRequired- Description
- Sender email address. Must be an author.
- Name
emails[].subjectstringRequired- Description
- Email subject.
- Name
emails[].html_bodystringRequired- Description
- HTML email body.
- Name
emails[].transactionalboolean- Description
- Send even if the user is unsubscribed.
- Name
emails[].personalizationsobject- Description
- Liquid values for the email body.
Response
- Name
resultsinteger- Description
- Number of emails accepted.
POST/data_deletion_requestsCreate data deletion request
Queue visitor anonymization by email for one site.
/data_deletion_requestsCreate data deletion request
Queue visitor anonymization by email for one site.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
data_deletion_request[email]stringRequired- Description
- Visitor email to anonymize.
Response
- Name
statusstring- Description
- Returns queued_for_anonymization on success.
Subscribers
Look up and modify people in Bento.
GET/fetch/searchOpt-inSearch subscribers
Search subscribers by page and filters.
/fetch/searchOpt-inSearch subscribers
Search subscribers by page and filters.
Request
- Name
pageintegerRequired- Description
- Result page.
- Name
tagsarray|string- Description
- Preferred tag-name filter.
- Name
segment_idstring- Description
- Scopes the search to subscribers in that segment.
- Name
created_atobject- Description
- Date filter with `gt` or `lt`.
- Name
updated_atobject- Description
- Date filter with `gt` or `lt`.
Response
- Name
dataarray- Description
- Matching subscriber records.
- Name
meta.pageinteger- Description
- Current result page.
- Name
meta.queryobject- Description
- Filters Bento applied.
GET/fetch/exportsOpt-inExport subscribers
Page through every subscriber that matches your filters.
/fetch/exportsOpt-inExport subscribers
Page through every subscriber that matches your filters.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
limitinteger- Description
- Subscribers per page, 1 to 1000. Defaults to 500.
- Name
cursorstring- Description
- Omit on the first request. Pass `meta.next_cursor` from the previous response.
- Name
tagsarray|string- Description
- Preferred tag-name filter.
- Name
segment_idstring- Description
- Scopes the export to subscribers in that segment.
- Name
created_atobject- Description
- Date filter with `gt` or `lt`. Use absolute ISO 8601 dates.
- Name
updated_atobject- Description
- Date filter with `gt` or `lt`. Use absolute ISO 8601 dates.
Response
- Name
dataarray- Description
- Matching subscriber records.
- Name
meta.next_cursorstring|null- Description
- Cursor for the next page. `null` when the export is finished.
- Name
meta.limitinteger- Description
- Page size used for this response.
GET/fetch/exports/eventsOpt-inExport events
Page through every event of one type, oldest first. Up to 10,000 events per export.
/fetch/exports/eventsOpt-inExport events
Page through every event of one type, oldest first. Up to 10,000 events per export.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
typestringRequired- Description
- Exact event name to export.
- Name
limitinteger- Description
- Events per page, 1 to 1000. Defaults to 500.
- Name
cursorstring- Description
- Omit on the first request. Pass `meta.next_cursor` from the previous response within 5 minutes.
- Name
created_atobject- Description
- Filter with `gt`, `gte`, `lt`, or `lte`. Use ISO 8601 timestamps with a time zone.
Response
- Name
dataarray- Description
- Event records with `uuid`, `type`, `email`, `visitor_uuid`, `created_at`, `happened_at`, and `data`.
- Name
meta.next_cursorstring|null- Description
- Cursor for the next page. `null` when the export is finished.
- Name
meta.limitinteger- Description
- Page size used for this response.
- Name
meta.truncatedboolean- Description
- `true` when the export stopped at 10,000 events. Export a smaller `created_at` window.
GET/fetch/subscribersFind subscriber
Fetch a subscriber by email or UUID.
/fetch/subscribersFind subscriber
Fetch a subscriber by email or UUID.
Request
- Name
emailstringRequired- Description
- Subscriber email address.
- Name
uuidstring- Description
- Subscriber UUID. Can be used instead of email.
Response
- Name
data.idstring- Description
- Internal record id.
- Name
data.attributes.uuidstring- Description
- Bento subscriber UUID.
- Name
data.attributes.emailstring- Description
- Subscriber email address.
- Name
data.attributes.fieldsobject- Description
- Custom subscriber fields.
- Name
data.attributes.cached_tag_idsarray- Description
- Internal tag ids attached to the subscriber.
- Name
data.attributes.tagsarray- Description
- Human-readable tag names attached to the subscriber.
- Name
data.attributes.unsubscribed_atdatetime|null- Description
- Subscriber unsubscribe timestamp, or null when subscribed.
- Name
data.attributes.unsubscribed_reasonstring|null- Description
- Recorded unsubscribe reason, when available.
- Name
data.attributes.attribution.first_referralstring- Description
- First referral source, or an empty string when unavailable.
- Name
data.attributes.attribution.first_pagestring- Description
- First page captured for the subscriber, or an empty string when unavailable.
- Name
data.attributes.attribution.campaign_dataobject- Description
- First-touch campaign data. Returns {} when unset.
POST/fetch/commandsRun subscriber command
Apply targeted tag, field, subscription, or email-change commands.
/fetch/commandsRun subscriber command
Apply targeted tag, field, subscription, or email-change commands.
Request
- Name
commandarrayRequired- Description
- Command objects to run.
- Name
command[].commandstringRequired- Description
- `add_tag`, `remove_tag`, `add_field`, `remove_field`, `subscribe`, `unsubscribe`, or `change_email`.
- Name
command[].emailstringRequired- Description
- Subscriber email address.
- Name
command[].querystring|object- Description
- Command-specific value.
Response
- Name
resultsinteger- Description
- Number of commands queued for async processing. Commands run in the background; this is not a synchronous subscriber update.
Segments
Read saved audience segments and check segment membership.
GET/fetch/segmentsGet segments
List saved audience segments.
/fetch/segmentsGet segments
List saved audience segments.
Response
- Name
dataarray- Description
- Saved segment records.
- Name
data[].attributes.namestring- Description
- Segment name.
- Name
data[].attributes.visitor_event_queryobject- Description
- Saved query definition.
GET/fetch/segments/:idGet segment
Fetch one saved segment and its query definition.
/fetch/segments/:idGet segment
Fetch one saved segment and its query definition.
Request
- Name
idstringRequired- Description
- Segment id.
Response
- Name
data.idstring- Description
- Segment identifier.
- Name
data.attributes.namestring- Description
- Segment name.
- Name
data.attributes.visitor_event_queryobject- Description
- Saved query definition.
POST/fetch/segments/:id/matchMatch segment
Check whether an email address matches a saved segment.
/fetch/segments/:id/matchMatch segment
Check whether an email address matches a saved segment.
Request
- Name
idstringRequired- Description
- Segment id.
- Name
emailstringRequired- Description
- Subscriber email address.
Response
- Name
data.segment_idstring- Description
- Segment identifier.
- Name
data.emailstring- Description
- Normalized email address Bento checked.
- Name
data.matchboolean- Description
- Whether the subscriber matches the segment.
Definitions
Manage tag and field definitions.
GET/fetch/tagsGet tags
List tag definitions in your account.
/fetch/tagsGet tags
List tag definitions in your account.
Response
- Name
dataarray- Description
- Tag records.
POST/fetch/tagsCreate tag
Create one custom tag definition.
/fetch/tagsCreate tag
Create one custom tag definition.
Request
- Name
namestringRequired- Description
- Tag name.
Response
- Name
data.namestring- Description
- Created tag name.
DELETE/fetch/tags/:idDelete tag
Discard one tag definition by name.
/fetch/tags/:idDelete tag
Discard one tag definition by name.
Request
- Name
idstringRequired- Description
- Tag id from the list tags response.
- Name
tag.namestringRequired- Description
- Tag name to discard or restore.
Response
- Name
messagestring- Description
- Deletion or restoration status message.
GET/fetch/fieldsGet fields
List custom field definitions.
/fetch/fieldsGet fields
List custom field definitions.
Response
- Name
dataarray- Description
- Field records.
POST/fetch/fieldsCreate field
Create one custom profile field.
/fetch/fieldsCreate field
Create one custom profile field.
Request
- Name
keystringRequired- Description
- Field key.
Response
- Name
data.namestring- Description
- Created field key.
Marketing content
Read and modify campaign, sequence, workflow, and template records.
GET/fetch/broadcastsGet broadcasts
List broadcast history and draft or scheduled broadcast metadata.
/fetch/broadcastsGet broadcasts
List broadcast history and draft or scheduled broadcast metadata.
Request
- Name
pageinteger- Description
- Result page.
- Name
statusstring- Description
- `sent`, `draft`, `sending`, `scheduled`, `paused`, or `canceled`.
Response
- Name
dataarray- Description
- Broadcast records.
POST/batch/broadcastsCreate broadcasts
Create broadcast campaigns for a segment or tag audience.
/batch/broadcastsCreate broadcasts
Create broadcast campaigns for a segment or tag audience.
Request
- Name
broadcastsarrayRequired- Description
- Broadcast objects to create.
- Name
broadcasts[].namestringRequired- Description
- Campaign name.
- Name
broadcasts[].subjectstringRequired- Description
- Subject line.
- Name
broadcasts[].contentstringRequired- Description
- Email body.
Response
- Name
resultsinteger- Description
- Broadcasts accepted for processing.
GET/fetch/sequencesGet sequences
List sequences and attached email templates.
/fetch/sequencesGet sequences
List sequences and attached email templates.
Response
- Name
dataarray- Description
- Sequence records.
- Name
data[].idstring- Description
- Sequence ID to use in create URLs.
- Name
data[].attributes.email_templatesarray- Description
- Embedded email templates with id, subject, and stats.
POST/fetch/sequences/:id/emails/templatesCreate sequence email
Add a new email template to a sequence. Use the id returned by Get sequences in :id.
/fetch/sequences/:id/emails/templatesCreate sequence email
Add a new email template to a sequence. Use the id returned by Get sequences in :id.
Request
- Name
idstringRequired- Description
- Sequence id returned by Get sequences.
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
email_template.subjectstringRequired- Description
- Subject line for the new sequence email.
- Name
email_template.htmlstringRequired- Description
- HTML body for the email.
- Name
email_template.delay_intervalstring- Description
- Delay unit: minutes, hours, days, or months.
- Name
email_template.delay_interval_countinteger- Description
- Delay amount paired with delay_interval.
- Name
email_template.inbox_snippetstring- Description
- Optional preview text snippet.
Response
- Name
data.idinteger- Description
- Created email template ID.
- Name
data.attributes.subjectstring- Description
- Created subject line.
- Name
data.attributes.htmlstring- Description
- Created HTML content.
GET/fetch/workflowsGet workflows
List workflows and attached email templates. Read-only.
/fetch/workflowsGet workflows
List workflows and attached email templates. Read-only.
Response
- Name
dataarray- Description
- Workflow records.
GET/fetch/workflows/:idGet workflow
Fetch one workflow with its triggers, nodes, and transitions. Read-only.
/fetch/workflows/:idGet workflow
Fetch one workflow with its triggers, nodes, and transitions. Read-only.
Request
- Name
idstringRequired- Description
- Workflow id returned by Get workflows.
- Name
site_uuidstringRequired- Description
- Site identifier.
Response
- Name
data.attributes.triggersarray- Description
- Entry points for the workflow.
- Name
data.attributes.nodesarray- Description
- Every step, with transitions and settings.
GET/fetch/workflows/:id/statsGet workflow stats
Fetch per-step entry counts and email stats for one workflow. Read-only.
/fetch/workflows/:id/statsGet workflow stats
Fetch per-step entry counts and email stats for one workflow. Read-only.
Request
- Name
idstringRequired- Description
- Workflow id returned by Get workflows.
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
daysinteger- Description
- Rolling window in days. Default 30. Max 366.
- Name
start_datestring- Description
- Window start as YYYY-MM-DD. Requires end_date.
- Name
end_datestring- Description
- Window end as YYYY-MM-DD. Requires start_date.
Response
- Name
totals.node_entriesinteger- Description
- Sum of entries across all steps.
- Name
nodesobject- Description
- Per-step counts keyed by node id.
GET/fetch/emails/templates/:idGet email template
Fetch one email template with HTML and stats.
/fetch/emails/templates/:idGet email template
Fetch one email template with HTML and stats.
Request
- Name
idintegerRequired- Description
- Template id.
Response
- Name
data.attributesobject- Description
- Template content and stats.
PATCH/fetch/emails/templates/:idUpdate email template
Update the subject or HTML for one template.
/fetch/emails/templates/:idUpdate email template
Update the subject or HTML for one template.
Request
- Name
idintegerRequired- Description
- Template id.
- Name
email_template.subjectstring- Description
- Updated subject.
- Name
email_template.htmlstring- Description
- Updated HTML.
- Name
email_template.typestring- Description
- Editor type: plain for Bento's CSS or raw for your own HTML. Omitted keeps the current editor.
Response
- Name
data.attributesobject- Description
- Updated template content.
Stats and validation
Read reporting data and validate risky inputs.
GET/stats/siteGet site stats
Fetch top-level site subscriber statistics.
/stats/siteGet site stats
Fetch top-level site subscriber statistics.
Response
- Name
user_countinteger- Description
- Total users.
- Name
subscriber_countinteger- Description
- Active subscribers.
- Name
unsubscriber_countinteger- Description
- Unsubscribed users.
GET/stats/segmentGet segment stats
Fetch subscriber statistics for one saved segment.
/stats/segmentGet segment stats
Fetch subscriber statistics for one saved segment.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
segment_idstringRequired- Description
- Segment identifier.
Response
- Name
user_countinteger- Description
- Total users in the segment.
- Name
subscriber_countinteger- Description
- Active subscribers in the segment.
- Name
unsubscriber_countinteger- Description
- Unsubscribed users in the segment.
GET/stats/reportGet report stats
Fetch data for one saved report.
/stats/reportGet report stats
Fetch data for one saved report.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
report_idstringRequired- Description
- Report identifier.
Response
- Name
dataobject- Description
- Report statistics payload.
GET/stats/adsGet ads stats
Fetch signup, customer, and revenue attribution by UTM or ad dimension.
/stats/adsGet ads stats
Fetch signup, customer, and revenue attribution by UTM or ad dimension.
Request
- Name
site_uuidstringRequired- Description
- Site identifier.
- Name
dimensionstring- Description
- source, campaign, medium, content, or ad. Defaults to source.
- Name
valuestring- Description
- Exact dimension value to filter to.
- Name
start_datestring- Description
- Reporting window start. Natural language accepted.
- Name
end_datestring- Description
- Reporting window end. Defaults to now.
- Name
revenue_modestring- Description
- all_revenue, first_revenue, or subscriptions. Defaults to all_revenue.
Response
- Name
dimensionstring- Description
- Attribution dimension used for grouping.
- Name
totalsobject- Description
- Signup, customer, and revenue totals.
- Name
breakdownarray- Description
- Ranked attribution rows. Money values are in cents.
GET/experimental/blacklistSearch blacklists
Check a domain or IPv4 address against email reputation blacklists.
/experimental/blacklistSearch blacklists
Check a domain or IPv4 address against email reputation blacklists.
Request
- Name
domainstring- Description
- Domain to check, such as example.com.
- Name
ipstring- Description
- IPv4 address to check.
Response
- Name
resultsobject|null- Description
- Boolean flags per reputation service, or null when all checks pass.
POST/experimental/validationValidate email
Return a conservative valid or invalid result for signup forms.
/experimental/validationValidate email
Return a conservative valid or invalid result for signup forms.
Request
- Name
emailstringRequired- Description
- Email address to validate.
- Name
namestring- Description
- Optional contact name to screen.
Response
- Name
validboolean- Description
- Whether Bento considers the signup valid.
POST/experimental/jesses_rulesetValidate email strict
Run Bento stricter internal validation ruleset for signup review flows.
/experimental/jesses_rulesetValidate email strict
Run Bento stricter internal validation ruleset for signup review flows.
Request
- Name
emailstringRequired- Description
- Email address to validate.
- Name
block_free_providersboolean- Description
- Reject free email providers when true.
- Name
wiggleroomboolean- Description
- Relax some opinionated checks when true.
Response
- Name
validboolean- Description
- Pass or fail result.
- Name
reasonsarray- Description
- Human-readable rejection reasons.
POST/experimental/content_moderationModerate content
Check small text payloads for risky content.
/experimental/content_moderationModerate content
Check small text payloads for risky content.
Request
- Name
contentstringRequired- Description
- Text to moderate.
Response
- Name
validboolean- Description
- Whether the content is safe.
- Name
reasonsarray- Description
- Detected issues.
POST/experimental/genderGuess gender
Guess likely gender from a first name. Best-effort helper only.
/experimental/genderGuess gender
Guess likely gender from a first name. Best-effort helper only.
Request
- Name
namestringRequired- Description
- First name to evaluate.
Response
- Name
genderstring- Description
- Likely gender label returned by the model.
GET/experimental/geolocationGeolocate IP address
Legacy geolocation endpoint. GeoIP lookup is disabled and returns an empty object.
/experimental/geolocationGeolocate IP address
Legacy geolocation endpoint. GeoIP lookup is disabled and returns an empty object.
Request
- Name
ipstringRequired- Description
- IPv4 address. Accepted for compatibility.
Response
- Name
(empty object)object- Description
- Returns `{}`. Do not rely on this endpoint for location data.
How this snapshot works
The snapshot lives in site/data/docs/openapi-reference.js. Hand-written endpoint pages remain the source for deeper examples, caveats, and operational notes. Use this browser for quick schema lookup, then open the endpoint docs for implementation details.