v2
latestOpenAPI 3.0.02026-07-26365590.3 KBSequences
Create a sequence
Creates a new sequence. Use the /users endpoint to get organizationMembershipIds for assignedToIds and creatorId.
post/v1/sequences
Headers
x-workspace-idstring uuid
Target workspace id (from GET /v1/workspaces). Required for multi-workspace API keys to designate which workspace to write to; omit for single-workspace keys, where it is resolved automatically. Must be within the API key scope.
Request body
Example request
{
"name": "My Sales Sequence",
"assignedToIds": [
"123e4567-e89b-12d3-a456-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
],
"creatorId": "123e4567-e89b-12d3-a456-426614174000",
"contactIds": [
"123e4567-e89b-12d3-a456-426614174010",
"123e4567-e89b-12d3-a456-426614174011"
]
}Response
Sequence created successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "My Sales Sequence",
"organizationMembershipId": "123e4567-e89b-12d3-a456-426614174001",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"contactCount": 150,
"assignedTo": [
{
"organizationMembershipId": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@example.com"
}
]
}