Hog
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
PATCH | |
DELETE | |
POST | |
GET | |
POST | |
POST | |
GET | |
GET | |
GET | |
GET | |
POST |
List all hog flows schedules
Required API key scopes
hog_flow:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /hog_flows /:id /schedulesExample response
Status 200
Create hog flows schedules
Required API key scopes
hog_flow:writeperson:readPath parameters
- idstring
Request parameters
- rrulestring
- starts_atstring
- timezonestring
- variables
Response
Example request
POST /api /projects /:project_id /hog_flows /:id /schedulesExample response
Status 200
Update hog flows schedules
Required API key scopes
hog_flow:writePath parameters
- idstring
- schedule_idstring
Request parameters
- rrulestring
- starts_atstring
- timezonestring
- variables
Response
Example request
PATCH /api /projects /:project_id /hog_flows /:id /schedules /:schedule_idExample response
Status 200
Delete hog flows schedules
Required API key scopes
hog_flow:writePath parameters
- idstring
- schedule_idstring
Example request
DELETE /api /projects /:project_id /hog_flows /:id /schedules /:schedule_idExample response
Status 204 No response body
Create hog flows apply utm defaults
Required API key scopes
hog_flow:writeRequest parameters
- dry_runbooleanDefault:
true - enable_where_offbooleanDefault:
false
Response
Example request
POST /api /projects /:project_id /hog_flows /apply_utm_defaultsExample response
Status 200
Retrieve hog flows broadcast conversion candidates
List the workflows that could become broadcasts: one email to a batch audience, with nothing the broadcast editor would drop. Only workflows the caller may edit are listed.
Required API key scopes
hog_flow:readResponse
Example request
GET /api /projects /:project_id /hog_flows /broadcast_conversion_candidatesExample response
Status 200
Create hog flows bulk delete
Required API key scopes
hog_flow:writeRequest parameters
- namestring | null
- descriptionstringDefault:
- tagsarray
- status
- origin_product
- source_recordstring | null
- trigger_masking
- conversion
- exit_condition
- email_sending_rate_limit
- edgesarray
- actionsarray
- variablesarray
Response
Example request
POST /api /projects /:project_id /hog_flows /bulk_deleteExample response
Status 200
Create hog flows bulk update tags
Bulk update tags on multiple objects.
PAT access: this action has no required_scopes= on the decorator —
inheriting viewsets must add "bulk_update_tags" to their
scope_object_write_actions list to accept personal API keys.
Without that opt-in, APIScopePermission rejects PAT requests with
"This action does not support personal API key access". Done per-viewset
so granting <scope>:write for one resource doesn't leak access to
sibling resources that share this mixin.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Required API key scopes
hog_flow:writeRequest parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /hog_flows /bulk_update_tagsExample response
Status 200
Retrieve hog flows email sending suspension
Cheap read for the scene-wide suspension banner: single-row TeamWorkflowsConfig lookup
with no reputation computation. Every project member sees this — a suspension stops
everyone's email, so hiding it would leave silent send failures unexplained.
Required API key scopes
hog_flow:readResponse
Example request
GET /api /projects /:project_id /hog_flows /email_sending_suspensionExample response
Status 200
Retrieve hog flows metrics global
Required API key scopes
hog_flow:readQuery parameters
- afterstringDefault:
-7d - beforestring
Example request
GET /api /projects /:project_id /hog_flows /metrics /globalExample response
Status 200
Retrieve hog flows reputation
Bounce/complaint rates for this project's workflow email over the last 30 days, computed on the fly from app metrics (a project-wide aggregate plus per-workflow rows, worst first, capped), together with the authoritative AWS SES tenant verdict — sending status and open reputation findings. Our rates are the per-workflow diagnosis; AWS judges and enforces.
Required API key scopes
hog_flow:readQuery parameters
- searchstring
Response
Example request
GET /api /projects /:project_id /hog_flows /reputationExample response
Status 200
Retrieve hog flows send calendar
Active batch and schedule workflows with an email step that is not transactional, and that have a schedule with sends to come or a batch run inside the range. Each carries only the fields a calendar card shows. Read a single workflow for its full configuration.
Required API key scopes
hog_flow:readQuery parameters
- endstring
- idsstring
- startstring
Example request
GET /api /projects /:project_id /hog_flows /send_calendarExample response
Status 200
Create hog flows user blast radius
Required API key scopes
hog_flow:readperson:readRequest parameters
- filtersobject
- group_type_indexinteger | null
- dedupe_key
- sends_emailbooleanDefault:
true - email_sending_rate_limit
- refreshbooleanDefault:
false
Response
Example request
POST /api /projects /:project_id /hog_flows /user_blast_radius




