Skip to content

Link Sequence Campaign

PUT
/sequences/{sequence_id}/campaign

Attach this sequence to a Studio campaign.

campaign_id is declared REQUIRED here. The app takes a bare dict and 400s on a missing key - a typed model turns that into a 422 with the field named, which is what a contract is for.

Authorizations

Parameters

Path Parameters

sequence_id
required

Sequence id.

string

Sequence id.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Link a sequence to a Studio campaign.

object
campaign_id
required

Studio campaign id to link.

string

Responses

200

Successful Response

object
data
required

One sequence, as the lifecycle endpoints return it.

object
associated_list_id
Any of:
integer
campaign_builder_campaign_id
Any of:
string
created_at
Any of:
string format: date-time
id
Any of:
string
is_archived
Any of:
boolean
is_shared
Any of:
boolean
name
Any of:
string
sequence_kind
Any of:
string
status
Any of:
string
updated_at
Any of:
string format: date-time
user_email
Any of:
string
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string