Supported products
Supported products
Required Scopes
Required Scopes
- Create a sequence
- Retrieve a specific sequence
- Update a sequence
- Delete a sequence
- Get a list of sequences
- Enroll a contact in a sequence
- Review the enrollment status
Scope requirements
The following scopes are required to use the Sequences API, based on the endpoints you’re using:automation.sequences.read: grants access to view details about sequences and their associated assets. This scope is required for all endpoints.automation.sequences.enrollments.write: grants access to create, delete, and modify sequence enrollments. This is required for all modification endpoints.
Create a sequence
To create a new sequence, send aPOST request to /automation/sequences/2026-09-beta/serviceaccounts/sequences.
Create a new sequence
Retrieve a sequence
To retrieve an existing sequence, send aGET request to /automation/sequences/2026-09-beta/serviceaccounts/sequences/{sequenceId}. For example, if your sequenceId is 555555, make a GET request to /automation/sequences/2026-09-beta/serviceaccounts/sequences/555555. The details of each response are as follows:
Retrieve a sequence response
Retrieve a list of sequences
To retrieve all sequences in your account, make aGET request to /automation/sequences/2026-09-beta/serviceaccounts/sequences.
The response for fetching a list of sequences would resemble the following:
Retrieve a list of sequences response
Update a sequence
To update an existing sequence, send aPUT request to /automation/sequences/2026-09-beta/serviceaccounts/sequences/{sequenceId}. For example, if your sequenceId is 555555, make a PUT request to /automation/sequences/2026-09-beta/serviceaccounts/sequences/555555.
- When making a
PUTrequest, you must include all fields for the sequence. Any fields not populated will be updated to default values. - When using this endpoint, it’s recommended to make a
GETrequest to/automation/sequences/2026-09-beta/serviceaccounts/sequences/{sequenceId}to retrieve the complete sequence definition first.
Update a sequence
Delete a sequence
To delete a sequence, send aDELETE request to /automation/sequences/2026-09-beta/serviceaccounts/sequences/{sequenceId}. After a sequence is successfully deleted, you’ll receive a 200 OK success code.
Sequence enrollment
Enroll a contact in a sequence
To enroll a contact in a sequence, make aPOST request to /automation/sequences/2026-09-beta/enrollments. Use your user ID in your request. Specify the sequenceId, contactId, and senderEmail in the body. The senderEmail must be an email address that’s connected to your HubSpot account.
For example, to enroll a contact whose ID is 33333 in a sequence with an ID of 44444444, you’d make a POST request to /automation/sequences/2026-09-beta/enrollments.
The body would resemble the following:
View a contact’s sequence enrollment status
A contact’s enrollment status will indicate if the contact is enrolled in any sequences at the time of the request. To get a contact’s enrollment status, make aGET request to /automation/sequences/2026-09-beta/enrollments/contact/{contactId}.
For example, to view the enrollment status of a contact whose contact ID is 33333, make a GET request to /automation/sequences/2026-09-beta/enrollments/contact/33333.
The response for viewing a contact’s sequence enrollment status would resemble the following: