---
title: "Update sequence"
method: PUT
path: "/workspaces/{workspaceID}/sequences/{sequenceID}"
tags: ["Sequences"]
---

# Update sequence

`PUT /workspaces/{workspaceID}/sequences/{sequenceID}`

## Request

- Base URL: `https://api.salesforge.ai/public/v2`
- URL: `https://api.salesforge.ai/public/v2/workspaces/{workspaceID}/sequences/{sequenceID}`
- Auth: API key in header `Authorization`

Update an existing sequence.

## Path parameters

- `workspaceID` string, required
- `sequenceID` string, required

## Request body

- ModelsUpdateSequenceRequest
  - `bcc` string
  - `bounceProtectorEnabled` boolean
  - `cc` string
  - `clickTrackingEnabled` boolean
  - `companyOutreachLimitCount` integer
  - `companyOutreachLimitEnabled` boolean
  - `espMatchingEnabled` boolean
  - `finishOnClick` boolean
  - `finishOnOpen` boolean
  - `language` string
  - `listUnsubscribeEnabled` boolean
  - `localizedOptOutEnabled` boolean
  - `name` string
  - `openTrackingEnabled` boolean
  - `opportunitiesValue` number
  - `optOutText` string
  - `plainTextEmailsEnabled` boolean
  - `productId` string
  - `sequentialCompanySendingEnabled` boolean
  - `status` 'active' | 'draft' | 'paused' | 'deleted' | 'completed' | 'video_pending' | 'active' | 'paused'
  - `stopOnDomainReplyEnabled` boolean
  - `subsequencePrimeboxLabelId` string
  - `timezone` string
  - `trackOpportunitiesEnabled` boolean
  - `trackingDomainEnabled` string
  - `unsubscribeLinkEnabled` boolean
  - `unsubscribeLinkText` string

## Response `200`

Updated sequence

- ApiSequenceResponse
  - `agentId` string
  - `bouncedCount` integer
  - `bouncedPercent` number
  - `clickTrackingEnabled` boolean
  - `clickedCount` integer
  - `clickedPercent` number
  - `companyOutreachLimitCount` integer
  - `companyOutreachLimitEnabled` boolean
  - `completedCount` integer
  - `completedPercent` number
  - `contactedCount` integer
  - `id` string
  - `leadCount` integer
  - `localizedOptOutEnabled` boolean
  - `mailboxes` ApiSequenceMailboxResponse[]
    - `address` string
    - `firstName` string
    - `id` string
    - `lastName` string
  - `name` string
  - `openTrackingEnabled` boolean
  - `openedCount` integer
  - `openedPercent` number
  - `optOutedCount` integer
  - `optOutedPercent` number
  - `productId` string
  - `repliedCount` integer
  - `repliedPercent` number
  - `repliedPositiveCount` integer
  - `repliedPositivePercent` number
  - `sequentialCompanySendingEnabled` boolean
  - `status` 'active' | 'draft' | 'paused' | 'deleted' | 'completed' | 'video_pending' | 'active' | 'paused'
  - `steps` ApiSequenceStepResponse[]
    - `distributionStrategy` 'equal' | 'custom' | 'equal' | 'custom'
    - `id` string
    - `name` string
    - `order` integer
    - `variants` ApiSequenceStepVariantResponse[]
      - `contactInformationSource` 'linkedin' | 'website' | 'all' | 'linkedin' | 'website' | 'all'
      - `distributionWeight` number
      - `dynamicLanguageEnabled` boolean
      - `emailContent` string
      - `emailSubject` string
      - `id` string
      - `isGenerated` boolean
      - `label` string
      - `order` integer
      - `overdriveEnabled` boolean
      - `status` 'active' | 'paused' | 'deleted' | 'active' | 'paused'
      - `tonality` 'playful' | 'hilarious' | 'formal' | 'curious' | 'urgent' | 'appreciative' | 'polite' | 'enthusiastic' | 'warm' | 'empathetic' | 'direct' | 'persuasive' | 'confident' | 'respectful' | 'helpful' | 'sincere' | 'encouraging' | 'informal' | 'caring' | 'diplomatic' | 'assertive' | 'reassuring' | 'authoritative'
    - `waitDays` integer
  - `workspaceId` string

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/salesforge/apis/salesforge-api.md) - [All operations](https://skmtc.dev/salesforge/apis/salesforge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesforge/apis/salesforge-api/revisions/3f946278b378?raw)
