Create a sequence
Changed onCreates a timed email series as a draft, with its steps in send order. Each step waits its delay after the previous send (after enrolling, for the first). Nothing sends until you activate it with POST /sequences/{id}/activate.
Pick the trigger that enrolls people: contact.tag_added with a form's tag is the newsletter welcome series (forms apply their tags after double opt-in), lead.created catches every new lead, order.paid follows a purchase, contact.field_changed with a contact field (and optional value) follows a field such as a plan interest, and manual enrolls only through POST /sequences/{sequence_id}/enrollments. Set exit rules for when people leave early; a sales sequence should set exit.on_purchase.
Sending one email to many people now? Use POST /broadcasts.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Internal name, shown in the dashboard.
Weekdays a step may go out, in the business's time zone. Defaults to every day.
Sender address on the account's verified domain. Defaults to the account's sending address.
Where replies go. Defaults to the account's Crevio inbox when exit.on_reply is on, otherwise the support email.
Wrap each email in the branded layout. Defaults to true.
Caller-owned key/value pairs.
The emails in send order. Edit them later through the step endpoints.
Response
The created sequence
Weekdays a step may go out, in the business's time zone. A step due on another day waits for the next allowed day at the same local time.
Live steps in send order.
Changes
- breaking
removed the enum value
contact.tag_addedof the request propertytrigger/event - breaking
removed the enum value
lead.createdof the request propertytrigger/event - breaking
removed the enum value
manualof the request propertytrigger/event
11 more changes in this revision
- breaking