Link Sequence Campaign
PUT /sequences/{sequence_id}/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
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
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string