Replace a sequence's steps as a new revision
Changed onComplete revisioned replacement: read GET /sequences/{id} first and send the full step list (stepIndex, messageTmpl) with the current revision from that response; the compact list shape is not accepted. With a customer credential the new revision is re-approved and the sequence returns to its previous status (active stays active, paused stays paused, a draft goes live). Omitted executionModel keeps the current one and may change only on a draft nobody has been worked through. 409 with nothing changed: sequence_revision_conflict, sequence_edit_request_conflict, sequence_has_progress, archived_sequence_is_read_only, sequence_must_be_draft, sequence_steps_invalid; the body carries update.currentRevision where known.
Request
- Base URLhttps://app.pumpgtm.com/api/v1
- AuthHTTP bearer
Path parameters
Headers
Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.
Enterprise partners: act on one end user's workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key's own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.
Request body
Response
Successful response. Read outcome fields; success does not imply delivery.
Changes
- info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info
- info
endpoint added
- info