v1
latestOpenAPI 3.1.02026-07-247601.0 MBUpdate a Sequence
This endpoint doesn't consume Apollo credits. Learn more about API pricing and credits.
<a href="https://knowledge.apollo.io/hc/en-us/articles/4409237165837-Sequences-Overview" target="_blank">Sequences</a> are outreach campaigns that sales teams use to reach out to contacts over a planned period of time.<br><br>Use the Update a Sequence endpoint to update an existing sequence (emailer campaign) in your team's Apollo account.<br><br>You can update sequence-level settings, such as the name, active state, schedule, and sending limits, as well as the sequence's steps and the email touches within each step. <br><br>To turn a sequence on or off, set the active field. Passing emailer_steps will create, update, reorder, or remove steps and their touches based on the IDs you provide.<br><br>To create a new sequence instead, use the <a href="https://docs.apollo.io/reference/create-sequence">Create a Sequence endpoint</a>.<br><br>This endpoint requires a master API key. If you call the endpoint without a master key, you receive a 403 response. Check out <a href="https://docs.apollo.io/docs/create-api-key">Create an API Key</a> to learn how to create a master key.
Path parameters
The Apollo ID for the sequence that you want to update. <br><br>To find sequence IDs, call the <a href="https://docs.apollo.io/reference/search-for-sequences" target="_blank">Search for Sequences endpoint</a> and identify the id value for the sequence. <br><br>Example: 66e34b81740c50074e3d1bd4
Request body
Example request
{
"emailer_steps": [
{
"type": "auto_email",
"emailer_touches": [
{
"generation_options": [
{
"type": "ai_full_email",
"field_name": "AI Full Email df7fdbd8"
}
],
"generation_tone": {
"tone_type": "Direct"
}
}
]
}
]
}Response
200
Example response
{
"id": "66e34b81740c50074e3d1bd4",
"name": "first campaign",
"active": true,
"created_at": "2024-09-12T20:13:53.207Z",
"updated_at": "2024-09-12T20:14:53.134Z",
"num_steps": 1,
"steps": [
{
"id": "66e361494acd1307386d4073",
"position": 1,
"step_type": "auto_email",
"wait_time": 1,
"wait_mode": "day"
}
],
"emailer_campaign": {
"id": "66e34b81740c50074e3d1bd4",
"name": "first campaign",
"active": true
},
"emailer_steps": [
{
"id": "66e361494acd1307386d4073",
"position": 1
}
],
"emailer_touches": [
{
"id": "66e361494acd1307386d4074",
"status": "approved"
}
]
}