Sequences

Update a sequence

Changed on

Changes a sequence's name, trigger, exit rules, send days or sender. Only fields included in the request body change. Steps are edited through /sequences/{sequence_id}/steps, and passing steps here is rejected with use_step_endpoints. On an active sequence, new exit rules apply to everyone at their next step.

patch/sequences/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The sequence's prefixed id (e.g. seq_abc123).

Request body

EmailSequenceUpdateRequest required
name, string

Internal name, shown in the dashboard.

trigger, object
exit, object
send_days, string[]

Weekdays a step may go out, in the business's time zone. Defaults to every day.

from, string nullable

Sender address on the account's verified domain. Defaults to the account's sending address.

reply_to, string nullable

Where replies go. Defaults to the account's Crevio inbox when exit.on_reply is on, otherwise the support email.

styled, boolean

Wrap each email in the branded layout. Defaults to true.

metadata, object

Caller-owned key/value pairs.

Response

The updated sequence

EmailSequence required
object, 'sequence' required
id, string required
name, string required
status, 'draft' | 'active' | 'paused' required
trigger, object required
exit, object required
send_days, string[] required

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.

from, string nullable required
reply_to, string nullable required
styled, boolean required
steps, EmailSequenceStep[] required

Live steps in send order.

metadata, object required
created_at, string date-time required
updated_at, string date-time required

Changes

    • breaking

      removed the enum value contact.tag_added of the request property trigger/event

    • breaking

      removed the enum value lead.created of the request property trigger/event

    • breaking

      removed the enum value manual of the request property trigger/event

    11 more changes in this revision