> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unifygtm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List sequence steps

> List the steps that make up a sequence.



## OpenAPI

````yaml GET /sequences/{id}/steps
openapi: 3.1.0
info:
  title: Unify Sequences API
  summary: Interact with sequences and sequence enrollments within the Unify platform.
  version: '1'
  termsOfService: https://www.unifygtm.com/legal/terms-and-conditions
  contact:
    name: Unify Support
    url: https://www.unifygtm.com/support
    email: support@unifygtm.com
servers:
  - url: https://api.unifygtm.com/sequences/v1
    variables: {}
security:
  - ApiKeyAuth: []
tags:
  - name: Sequences
  - name: Sequence Enrollment Steps
  - name: Sequence Enrollments
paths:
  /sequences/{id}/steps:
    get:
      tags:
        - Sequences
      description: |-
        List a sequence's steps. Steps are automatic emails, manual emails, or
        tasks (calls, LinkedIn touches, action items); each step's dependencies
        describe when it runs relative to its parent step.
      operationId: list_sequence_steps
      parameters:
        - name: id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/uuid'
        - name: cursor
          in: query
          required: false
          description: Opaque cursor returned by the previous page.
          schema:
            type: string
          explode: false
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
          explode: false
        - name: type
          in: query
          required: false
          description: Repeat `type` to filter by multiple sequence step types.
          schema:
            type: array
            items:
              $ref: '#/components/schemas/SequenceStepType'
      responses:
        '200':
          description: Response returned when listing sequence steps.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSequenceStepsResponse'
        '400':
          description: Response for any operation that results in a bad request error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                properties:
                  status:
                    type: string
                    enum:
                      - bad_request
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/UResponses.BadRequestError'
                  message:
                    type: string
                description: >-
                  Response for any operation that results in a bad request
                  error.
        '401':
          description: Response for any operation that results in an unauthorized error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - message
                properties:
                  status:
                    type: string
                    enum:
                      - unauthorized
                  message:
                    type: string
                description: >-
                  Response for any operation that results in an unauthorized
                  error.
        '404':
          description: Response returned when a sequence step cannot be found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SequenceStepNotFoundResponse'
        '429':
          description: Response for any operation that exceeds a rate limit.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - message
                properties:
                  status:
                    type: string
                    enum:
                      - rate_limited
                  message:
                    type: string
                description: Response for any operation that exceeds a rate limit.
        '500':
          description: Response for any operation that results in an internal server error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - message
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                description: >-
                  Response for any operation that results in an internal server
                  error.
components:
  schemas:
    uuid:
      type: string
      format: uuid
      description: String UUID value.
    SequenceStepType:
      type: string
      enum:
        - AUTOMATIC_EMAIL
        - MANUAL_EMAIL
        - ACTION_ITEM
        - PHONE_CALL
        - MANUAL_LINKEDIN_PROFILE_VIEW
        - MANUAL_LINKEDIN_CONNECTION
        - MANUAL_LINKEDIN_MESSAGE
      description: Type of a sequence step.
    ListSequenceStepsResponse:
      type: object
      required:
        - steps
        - next_cursor
      properties:
        steps:
          type: array
          items:
            $ref: '#/components/schemas/SequenceStep'
        next_cursor:
          type: string
          nullable: true
      description: Response returned when listing sequence steps.
    UResponses.BadRequestError:
      type: object
      required:
        - code
      properties:
        code:
          type: string
        path:
          type: array
          items:
            anyOf:
              - type: string
              - type: integer
        object_api_name:
          type: string
        attribute_api_name:
          type: string
      allOf:
        - type: object
          additionalProperties: {}
      description: Validation error detail returned for bad request responses.
    SequenceStepNotFoundResponse:
      type: object
      allOf:
        - type: object
          required:
            - status
            - message
          properties:
            status:
              type: string
              enum:
                - not_found
            message:
              type: string
          description: Response for any operation that results in a not found error.
      description: Response returned when a sequence step cannot be found.
    SequenceStep:
      anyOf:
        - $ref: '#/components/schemas/AutomaticEmailSequenceStep'
        - $ref: '#/components/schemas/ManualEmailSequenceStep'
        - $ref: '#/components/schemas/TaskSequenceStep'
      description: A sequence step in any of its variants.
    AutomaticEmailSequenceStep:
      type: object
      required:
        - type
        - config
      properties:
        type:
          type: string
          enum:
            - AUTOMATIC_EMAIL
        config:
          $ref: '#/components/schemas/SequenceEmailStepConfig'
      allOf:
        - $ref: '#/components/schemas/SequenceStepBase'
      description: Representation of an automatic email sequence step.
    ManualEmailSequenceStep:
      type: object
      required:
        - type
        - config
      properties:
        type:
          type: string
          enum:
            - MANUAL_EMAIL
        config:
          $ref: '#/components/schemas/SequenceManualEmailStepConfig'
      allOf:
        - $ref: '#/components/schemas/SequenceStepBase'
      description: Representation of a manual email sequence step.
    TaskSequenceStep:
      type: object
      required:
        - type
        - config
      properties:
        type:
          anyOf:
            - type: string
              enum:
                - ACTION_ITEM
            - type: string
              enum:
                - PHONE_CALL
            - type: string
              enum:
                - MANUAL_LINKEDIN_CONNECTION
            - type: string
              enum:
                - MANUAL_LINKEDIN_MESSAGE
            - type: string
              enum:
                - MANUAL_LINKEDIN_PROFILE_VIEW
        config:
          $ref: '#/components/schemas/SequenceTaskStepConfig'
      allOf:
        - $ref: '#/components/schemas/SequenceStepBase'
      description: Representation of a manual task sequence step.
    SequenceEmailStepConfig:
      type: object
      required:
        - is_root_message
        - subject
        - fallback_subject
        - body
        - cc_recipients
        - bcc_recipients
      properties:
        is_root_message:
          type: boolean
        subject:
          type: string
          nullable: true
        fallback_subject:
          type: string
          nullable: true
        body:
          type: string
        cc_recipients:
          type: array
          items:
            type: string
        bcc_recipients:
          type: array
          items:
            type: string
      description: Configuration for automatic email sequence steps.
    SequenceStepBase:
      type: object
      required:
        - id
        - key
        - created_at
        - updated_at
        - sequence_id
        - version_number
        - dependencies
      properties:
        id:
          $ref: '#/components/schemas/uuid'
        key:
          type: string
        created_at:
          $ref: '#/components/schemas/datetime'
        updated_at:
          $ref: '#/components/schemas/datetime'
        sequence_id:
          $ref: '#/components/schemas/uuid'
        version_number:
          type: integer
          nullable: true
          minimum: 1
        dependencies:
          type: array
          items:
            $ref: '#/components/schemas/SequenceStepDependency'
      description: Shared fields for sequence step responses.
    SequenceManualEmailStepConfig:
      type: object
      required:
        - task_priority
        - auto_skip_on_due_date
        - relative_due_at
      properties:
        task_priority:
          $ref: '#/components/schemas/TaskPriority'
        auto_skip_on_due_date:
          type: boolean
        relative_due_at:
          type: object
          allOf:
            - $ref: '#/components/schemas/SequenceStepRelativeDueAt'
          nullable: true
      allOf:
        - $ref: '#/components/schemas/SequenceEmailStepConfig'
      description: Configuration for manual email sequence steps.
    SequenceTaskStepConfig:
      type: object
      required:
        - note_content
      properties:
        note_content:
          type: string
          nullable: true
      allOf:
        - $ref: '#/components/schemas/SequenceTaskScheduleStepConfig'
      description: Configuration for manual task sequence steps.
    datetime:
      type: string
      format: date-time
      description: String value representing an RFC 3339 datetime.
    SequenceStepDependency:
      type: object
      required:
        - parent_step_id
        - condition
      properties:
        parent_step_id:
          type: string
          allOf:
            - $ref: '#/components/schemas/uuid'
          nullable: true
        condition:
          allOf:
            - $ref: '#/components/schemas/SequenceStepCondition'
          nullable: true
      description: Dependency edge embedded in sequence step responses.
    TaskPriority:
      type: string
      enum:
        - LOW
        - MEDIUM
        - HIGH
        - URGENT
      description: Priority assigned to tasks created by manual sequence steps.
    SequenceStepRelativeDueAt:
      type: object
      required:
        - num_units_of_time
        - unit_of_time
      properties:
        num_units_of_time:
          type: number
          minimum: 0
        unit_of_time:
          $ref: '#/components/schemas/RelativeTimeUnit'
      description: Relative due date for tasks created by manual sequence steps.
    SequenceTaskScheduleStepConfig:
      type: object
      required:
        - task_priority
        - auto_skip_on_due_date
        - relative_due_at
      properties:
        task_priority:
          $ref: '#/components/schemas/TaskPriority'
        auto_skip_on_due_date:
          type: boolean
        relative_due_at:
          type: object
          allOf:
            - $ref: '#/components/schemas/SequenceStepRelativeDueAt'
          nullable: true
      description: >-
        Schedule configuration shared by manual sequence steps that create
        tasks.
    SequenceStepCondition:
      anyOf:
        - $ref: '#/components/schemas/SequenceStepTimerCondition'
        - $ref: '#/components/schemas/SequenceStepAndCondition'
        - $ref: '#/components/schemas/SequenceStepOrCondition'
      description: Condition embedded in sequence step responses.
    RelativeTimeUnit:
      type: string
      enum:
        - MINUTE
        - HOUR
        - DAY
        - WEEK
      description: Time unit for relative task due dates.
    SequenceStepTimerCondition:
      type: object
      required:
        - type
        - duration_value
        - duration_unit
      properties:
        type:
          type: string
          enum:
            - TIMER
        duration_value:
          type: integer
          nullable: true
        duration_unit:
          $ref: '#/components/schemas/SequenceTimerConditionDurationUnit'
      description: Timer condition embedded in sequence step responses.
    SequenceStepAndCondition:
      type: object
      required:
        - type
        - subconditions
      properties:
        type:
          type: string
          enum:
            - AND
        subconditions:
          type: array
          items:
            $ref: '#/components/schemas/SequenceStepCondition'
      description: Conjunction condition embedded in sequence step responses.
    SequenceStepOrCondition:
      type: object
      required:
        - type
        - subconditions
      properties:
        type:
          type: string
          enum:
            - OR
        subconditions:
          type: array
          items:
            $ref: '#/components/schemas/SequenceStepCondition'
      description: Disjunction condition embedded in sequence step responses.
    SequenceTimerConditionDurationUnit:
      type: string
      enum:
        - seconds
        - minutes
        - hours
        - days
        - weeks
      description: Duration unit used by timer conditions.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````