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

# List all sequence steps

> <small>_Requires the `sequences:read` scope (or a broader one that includes it)._</small>

Returns a list of all steps in a sequence



## OpenAPI

````yaml /api-reference/bundled.yaml get /v3/sequences/{id}/steps
openapi: 3.1.0
info:
  version: 3.0.0
  title: Reply API
  description: API for managing email sequences, contacts, and automation workflows
servers:
  - url: https://api.reply.io
security:
  - bearerAuth: []
tags:
  - name: User Account
    description: Account information and authentication verification
  - name: Accounts
    description: Manage accounts (companies/organizations)
  - name: AI SDR Insights
    description: Read AI SDR insights for sequence contacts
  - name: AI SDR Intent Signals
    description: >-
      Read Reply industry IDs and technology slugs used in AI SDR intent-signal
      configuration (typeahead)
  - name: AI SDR Sequences
    description: >-
      Manage AI SDR sequences and their AI SDR-specific settings — create, read
      settings, partial update, autopilot enable/disable/force-start, approval
      mode, generated step types, and playbook/knowledge-base connections
  - name: AI SDR Web Search
    description: Find contacts via AI-driven web search and review past searches
  - name: Attachments
    description: >-
      Upload file attachments used across email templates, sequence steps, and
      direct emails
  - name: Account Lists
    description: Manage account lists and account membership
  - name: Background Jobs
    description: >-
      Track and cancel asynchronous background operations (e.g., email
      validation)
  - name: Custom Fields
    description: Manage custom contact fields
  - name: Direct Outreach
    description: >-
      Send one-off outreach directly to a contact outside of any sequence —
      direct emails and LinkedIn connection requests, messages, InMails, and
      voice messages
  - name: Contact Blacklist Rules
    description: Manage blacklist rules for domains, emails, and email exceptions
  - name: Contact Enrichment
    description: >-
      Enrich contacts with emails, phone numbers, LinkedIn data, and AI-filled
      custom fields
  - name: Contact Lists
    description: Manage contact lists and contact membership
  - name: Contacts
    description: Manage individual contacts
  - name: Email Accounts
    description: Manage email accounts used for sending and receiving
  - name: Email Templates
    description: Manage email templates and template folders
  - name: Email Validations
    description: Estimate and schedule asynchronous email validation jobs
  - name: Holiday Calendars
    description: Manage holiday calendars for scheduling
  - name: Inbox
    description: >-
      Manage inbox threads and per-team thread categories — list/filter, read
      state, replies, category assignment, and meeting-intent flagging
  - name: LinkedIn Accounts
    description: Manage LinkedIn accounts for outreach
  - name: Live Data
    description: >-
      Find new contacts via Live Data searches and read typeahead values for the
      Live Data / Autopilot filter sidebar
  - name: AI SDR Knowledge Bases
    description: >-
      Manage AI SDR knowledge bases — collections of documents, links, reply
      handlers, and reengagement cards that inform the agent's responses
  - name: AI SDR Offers
    description: >-
      Manage AI SDR offers — bundles of company-context inputs (ICP, pain
      points, value propositions, etc.) used to personalize outreach
  - name: AI SDR Pending Approvals
    description: >-
      Review, send, regenerate, and provide feedback on AI-generated messages
      awaiting human approval
  - name: AI SDR Playbooks
    description: >-
      Manage AI SDR playbooks — tone, voice, and style guides applied during
      personalized message generation
  - name: Reports
    description: >-
      Generate and access performance reports across email, calls, tasks,
      LinkedIn, and team performance
  - name: Schedules
    description: Manage email send schedules and timing
  - name: Settings
    description: Manage team and user settings
  - name: Sequence Contacts
    description: Manage contacts within sequences
  - name: Sequence Email Accounts
    description: Manage email accounts linked to sequences
  - name: Sequence Folders
    description: Organize sequences into folders
  - name: Sequence LinkedIn Accounts
    description: Manage LinkedIn accounts linked to sequences
  - name: AI SDR Sequence Preview
    description: >-
      Read and regenerate per-contact previews of the messages a sequence will
      send, and provide feedback on preview messages
  - name: Sequence Steps
    description: Manage individual steps in sequences
  - name: Sequence Templates
    description: Manage sequence templates
  - name: Sequences
    description: Manage email automation sequences
  - name: AI SDR Strategist
    description: Trigger AI Strategist runs
  - name: Tasks
    description: Manage tasks and to-do items
  - name: Webhooks
    description: Manage webhook subscriptions and inspect delivery history
paths:
  /v3/sequences/{id}/steps:
    get:
      tags:
        - Sequence Steps
      summary: List all sequence steps
      description: >-
        <small>_Requires the `sequences:read` scope (or a broader one that
        includes it)._</small>


        Returns a list of all steps in a sequence
      operationId: GetSequenceSteps
      parameters:
        - name: id
          in: path
          required: true
          description: Sequence Id
          schema:
            type: integer
      responses:
        '200':
          description: List of sequence steps retrieved successfully
          content:
            application/json:
              schema:
                type: array
                description: Array of sequence steps with different types
                items:
                  title: Sequence Step
                  discriminator:
                    propertyName: type
                    mapping:
                      email:
                        $ref: '#/components/schemas/email.type'
                      linkedIn:
                        $ref: '#/components/schemas/linkedin.type'
                      call:
                        $ref: '#/components/schemas/call.type'
                      sms:
                        $ref: '#/components/schemas/sms.type'
                      whatsApp:
                        $ref: '#/components/schemas/whatsapp.type'
                      zapier:
                        $ref: '#/components/schemas/zapier.type'
                      task:
                        $ref: '#/components/schemas/task.type'
                      condition:
                        $ref: '#/components/schemas/condition.type'
                  oneOf:
                    - type: object
                      title: Email
                      description: Email step with variant configuration
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - email
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        executionMode:
                          type: string
                          description: Execution mode for the email step
                          enum:
                            - automatic
                            - manual
                        variants:
                          type: array
                          description: Array of email variants (A/B test versions)
                          items:
                            type: object
                            title: Email Variant
                            description: Individual email variant within an email step.
                            properties:
                              id:
                                type: integer
                                description: Unique identifier for this email variant
                              subject:
                                type: string
                                nullable: true
                                description: Email subject line.
                              message:
                                type: string
                                nullable: true
                                description: Email message content.
                              attachmentIds:
                                type: array
                                nullable: true
                                writeOnly: true
                                maxItems: 3
                                items:
                                  type: integer
                                description: >-
                                  **Write-only.** IDs of previously uploaded
                                  attachments to attach to this variant. Upload
                                  files via `POST /v3/attachments` first to
                                  obtain attachment IDs.

                                  A variant may carry up to 3 attachments. Omit
                                  to leave attachments unset.

                                  Not returned on read — use `hasAttachments` to
                                  detect presence.
                              hasAttachments:
                                type: boolean
                                readOnly: true
                                description: >-
                                  Whether the variant has any attachments.
                                  Returned on read; ignored on write.
                      required:
                        - type
                        - delayInMinutes
                        - executionMode
                        - variants
                    - title: LinkedIn
                      description: >-
                        LinkedIn step with action type sub-discriminator. Uses
                        type "linkedIn" with a second discriminator actionType
                        to select the specific LinkedIn action.
                      discriminator:
                        propertyName: actionType
                        mapping:
                          message:
                            $ref: '#/components/schemas/linkedin-message.type'
                          connect:
                            $ref: '#/components/schemas/linkedin-connect.type'
                          inMail:
                            $ref: '#/components/schemas/linkedin-inmail.type'
                          viewProfile:
                            $ref: '#/components/schemas/linkedin-view-profile.type'
                          endorseSkills:
                            $ref: '#/components/schemas/linkedin-endorse-skills.type'
                          voiceMessage:
                            $ref: '#/components/schemas/linkedin-voice-message.type'
                          likeRecentPosts:
                            $ref: >-
                              #/components/schemas/linkedin-like-recent-posts.type
                          followProfile:
                            $ref: '#/components/schemas/linkedin-follow-profile.type'
                      oneOf:
                        - type: object
                          title: LinkedIn Message
                          description: LinkedIn message action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - message
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            executionMode:
                              type: string
                              description: Execution mode for the action
                              enum:
                                - automatic
                                - manual
                            variants:
                              type: array
                              description: >-
                                Array of LinkedIn message variants (A/B test
                                versions)
                              items:
                                type: object
                                title: LinkedIn Variant
                                description: Individual LinkedIn message/connect variant
                                properties:
                                  id:
                                    type: integer
                                    description: >-
                                      Unique identifier for this LinkedIn
                                      variant
                                  message:
                                    type: string
                                    description: Message content
                                  isEnabled:
                                    type: boolean
                                    description: Indicates whether the variant is enabled
                                required:
                                  - message
                                  - isEnabled
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - executionMode
                            - variants
                        - type: object
                          title: LinkedIn Connect
                          description: LinkedIn connect action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - connect
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            executionMode:
                              type: string
                              description: Execution mode for the action
                              enum:
                                - automatic
                                - manual
                            variants:
                              type: array
                              description: >-
                                Array of LinkedIn connect variants (A/B test
                                versions). Message is optional, max 300
                                characters.
                              items:
                                type: object
                                title: LinkedIn Variant
                                description: Individual LinkedIn message/connect variant
                                properties:
                                  id:
                                    type: integer
                                    description: >-
                                      Unique identifier for this LinkedIn
                                      variant
                                  message:
                                    type: string
                                    description: Message content
                                  isEnabled:
                                    type: boolean
                                    description: Indicates whether the variant is enabled
                                required:
                                  - message
                                  - isEnabled
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - executionMode
                            - variants
                        - type: object
                          title: LinkedIn InMail
                          description: LinkedIn InMail action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - inMail
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            executionMode:
                              type: string
                              description: Execution mode for the InMail
                              enum:
                                - automatic
                                - manual
                            variants:
                              type: array
                              description: >-
                                Array of LinkedIn InMail variants (A/B test
                                versions)
                              items:
                                type: object
                                title: LinkedIn InMail Variant
                                description: Individual LinkedIn InMail variant
                                properties:
                                  id:
                                    type: integer
                                    description: >-
                                      Unique identifier for this LinkedIn InMail
                                      variant
                                  subject:
                                    type: string
                                    description: InMail subject line
                                  message:
                                    type: string
                                    description: InMail message content
                                  isEnabled:
                                    type: boolean
                                    description: Indicates whether the variant is enabled
                                required:
                                  - subject
                                  - message
                                  - isEnabled
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - executionMode
                            - variants
                        - type: object
                          title: LinkedIn View Profile
                          description: LinkedIn view profile action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - viewProfile
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            executionMode:
                              type: string
                              description: Execution mode for the action
                              enum:
                                - automatic
                                - manual
                            description:
                              type: string
                              description: Description or notes for the profile view
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - executionMode
                        - type: object
                          title: LinkedIn Endorse Skills
                          description: LinkedIn endorse skills action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - endorseSkills
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            numberOfSkills:
                              type: integer
                              minimum: 1
                              maximum: 3
                              description: Number of skills to endorse (1-3)
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - numberOfSkills
                        - type: object
                          title: LinkedIn Voice Message
                          description: LinkedIn voice message action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - voiceMessage
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                            audioFile:
                              type: string
                              description: The audio file URL for the voice message
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                            - audioFile
                        - type: object
                          title: LinkedIn Like Recent Posts
                          description: LinkedIn like recent posts action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - likeRecentPosts
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                        - type: object
                          title: LinkedIn Follow Profile
                          description: LinkedIn follow profile action step
                          properties:
                            id:
                              type: integer
                              nullable: true
                              readOnly: true
                              description: Unique identifier for the step
                            parentId:
                              type: integer
                              nullable: true
                              description: ID of the parent step (for branching)
                            ifConditionPositive:
                              type: boolean
                              nullable: true
                              description: >-
                                Whether this step is on the positive branch of a
                                condition
                            type:
                              type: string
                              enum:
                                - linkedIn
                              description: Step type discriminator
                            actionType:
                              type: string
                              enum:
                                - followProfile
                              description: LinkedIn action type discriminator
                            delayInMinutes:
                              type: integer
                              minimum: 0
                              description: Delay in minutes before executing this step
                          required:
                            - type
                            - actionType
                            - delayInMinutes
                    - type: object
                      title: Call
                      description: Call step with script/notes
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - call
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        message:
                          type: string
                          description: Notes or script for the call
                      required:
                        - type
                        - delayInMinutes
                    - type: object
                      title: SMS
                      description: SMS step with message content
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - sms
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        executionMode:
                          type: string
                          description: Execution mode for the SMS step
                          enum:
                            - automatic
                            - manual
                        message:
                          type: string
                          description: SMS message content
                      required:
                        - type
                        - delayInMinutes
                        - executionMode
                        - message
                    - type: object
                      title: WhatsApp
                      description: WhatsApp step with message content
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - whatsApp
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        message:
                          type: string
                          description: WhatsApp message content
                      required:
                        - type
                        - delayInMinutes
                        - message
                    - type: object
                      title: Zapier
                      description: Zapier integration step
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - zapier
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        name:
                          type: string
                          description: Name of the Zapier step
                        action:
                          type: string
                          description: Zapier action type
                          enum:
                            - immediately
                            - wait
                      required:
                        - type
                        - delayInMinutes
                        - name
                        - action
                    - type: object
                      title: Task
                      description: Task step for manual actions
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - task
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        actionType:
                          type: string
                          description: Type of task action to perform
                          enum:
                            - toDo
                            - meeting
                        description:
                          type: string
                          description: Task description or instructions
                      required:
                        - type
                        - delayInMinutes
                        - actionType
                        - description
                    - type: object
                      title: Condition
                      description: Condition step that evaluates rules before proceeding
                      properties:
                        id:
                          type: integer
                          nullable: true
                          readOnly: true
                          description: Unique identifier for the step
                        parentId:
                          type: integer
                          nullable: true
                          description: ID of the parent step (for branching)
                        ifConditionPositive:
                          type: boolean
                          nullable: true
                          description: >-
                            Whether this step is on the positive branch of a
                            condition
                        type:
                          type: string
                          enum:
                            - condition
                          description: Step type discriminator
                        delayInMinutes:
                          type: integer
                          minimum: 0
                          description: Delay in minutes before executing this step
                        waitInMinutes:
                          type: integer
                          minimum: 0
                          description: Wait time in minutes for condition evaluation
                        conditions:
                          type: array
                          description: Array of condition templates to evaluate
                          items:
                            type: object
                            title: ConditionTemplate
                            description: >-
                              Template defining a condition with property and
                              rules
                            properties:
                              property:
                                type: string
                                description: Property name to evaluate
                              rules:
                                type: array
                                description: Set of rules to apply to the property
                                items:
                                  type: object
                                  title: ConditionRule
                                  description: >-
                                    Rule defining operator and value for
                                    condition
                                  properties:
                                    operator:
                                      type: string
                                      description: >-
                                        Comparison operator (e.g., `isSet`,
                                        `isNotSet`, `equals`, etc.)
                                    value:
                                      type: string
                                      nullable: true
                                      description: >-
                                        Value to compare against. Null for
                                        operators like `isSet`/`isNotSet`.
                                  required:
                                    - operator
                            required:
                              - property
                              - rules
                      required:
                        - type
                        - delayInMinutes
                        - waitInMinutes
                        - conditions
        '400':
          description: Invalid sequence id, or a business-rule rejection.
          content:
            application/problem+json:
              schema:
                oneOf:
                  - allOf:
                      - allOf:
                          - type: object
                            title: Problem Details
                            description: >-
                              Bare RFC 9457 problem-details envelope. Returned
                              by middleware-level errors

                              that don't carry domain context: 401 Unauthorized
                              (auth middleware),

                              429 Too Many Requests (rate-limit middleware), and
                              route-level 404 / 405 /

                              415 (framework middleware).


                              Business and validation responses extend this
                              envelope and add additional

                              fields — see `business-problem.model.yaml` (adds
                              `code` slug) and

                              `validation-problem.model.yaml` (adds `errors[]`
                              array).
                            properties:
                              title:
                                type: string
                                description: Short, human-readable summary of the problem.
                              status:
                                type: integer
                                description: HTTP status code.
                                minimum: 100
                                maximum: 599
                              detail:
                                type: string
                                description: >-
                                  Human-readable explanation specific to this
                                  occurrence.
                          - type: object
                            properties:
                              errors:
                                type: array
                                description: >-
                                  List of field-level validation errors. Always
                                  non-empty when this

                                  envelope is returned. Each entry pins a single
                                  offending field

                                  via JSON Pointer plus a sanitized detail
                                  string.
                                items:
                                  type: object
                                  title: Validation Error
                                  description: A single field-level validation error.
                                  properties:
                                    pointer:
                                      type: string
                                      description: >-
                                        JSON Pointer (RFC 6901) to the offending
                                        field — e.g.

                                        `/steps/0/subject`.


                                        * An empty string (`""`) means the error
                                        applies to the whole
                                          request body (e.g. body is missing or unparseable).
                                        * For route or query parameter failures
                                        the pointer is the parameter
                                          name (e.g. `id`, `top`).
                                      example: /steps/0/subject
                                    detail:
                                      type: string
                                      description: >-
                                        Sanitized, human-readable explanation of
                                        this field's error. One of a

                                        small set of templates — `"Field is
                                        required."`, `"Value has an

                                        invalid type."`, `"Value has an invalid
                                        format."`, `"Request body is

                                        not valid JSON."`, `"The request body is
                                        required and cannot be

                                        empty."` — or a FluentValidator message
                                        on body endpoints.
                                      example: Field is required.
                        title: Validation Problem
                        description: >-
                          Input-validation error response at 400. Returned when
                          the request body

                          fails binding, FluentValidator rules, or when
                          route/query parameter

                          attribute validation (`[Range]`, `[Required]`) fails.
                          Route, query, and

                          body errors are combined into a single `errors[]`
                          array — clients should

                          not assume one error per request.
                      - example:
                          title: Validation failed
                          status: 400
                          detail: The request body contains validation errors.
                          errors:
                            - pointer: /name
                              detail: Field is required.
                  - allOf:
                      - allOf:
                          - type: object
                            title: Problem Details
                            description: >-
                              Bare RFC 9457 problem-details envelope. Returned
                              by middleware-level errors

                              that don't carry domain context: 401 Unauthorized
                              (auth middleware),

                              429 Too Many Requests (rate-limit middleware), and
                              route-level 404 / 405 /

                              415 (framework middleware).


                              Business and validation responses extend this
                              envelope and add additional

                              fields — see `business-problem.model.yaml` (adds
                              `code` slug) and

                              `validation-problem.model.yaml` (adds `errors[]`
                              array).
                            properties:
                              title:
                                type: string
                                description: Short, human-readable summary of the problem.
                              status:
                                type: integer
                                description: HTTP status code.
                                minimum: 100
                                maximum: 599
                              detail:
                                type: string
                                description: >-
                                  Human-readable explanation specific to this
                                  occurrence.
                          - type: object
                            properties:
                              code:
                                type: string
                                description: >-
                                  Stable, machine-readable error slug in the
                                  form

                                  `"<resource>.<variant>"`.


                                  * `resource` is the camelCased domain — e.g.
                                  `sequence`,
                                    `contact`, `inboxThread`, `blacklistDomainRule`.
                                  * `variant` is the camelCased specific failure
                                  mode — e.g.
                                    `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.

                                  Use `code` for programmatic error handling;
                                  use `detail` for

                                  user-facing messages. Slugs are stable across
                                  server-side enum

                                  reorderings and never change meaning under a
                                  given resource.
                                pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                                example: sequence.notFound
                        title: Business Problem
                        description: >-
                          Domain error response carrying a stable, namespaced
                          error slug.

                          Emitted for most 4xx responses (business 400, 403,
                          404, 409, …) and

                          for 503 when a downstream dependency is unavailable.
                      - example:
                          title: Bad Request
                          status: 400
                          detail: Pagination parameters are invalid.
                          code: sequence.invalidPagination
              examples:
                validation_failed:
                  summary: Route parameter validation failure
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request contains validation errors.
                    errors:
                      - pointer: id
                        detail: '''id'' must be a positive integer.'
                business_invalid_input:
                  summary: Business-rule rejection
                  value:
                    title: Bad Request
                    status: 400
                    detail: Invalid input.
                    code: sequenceStep.invalidInput
        '401':
          description: >-
            Unauthorized. The response body is empty; check the
            `WWW-Authenticate` header for the expected scheme.
          content:
            application/problem+json:
              schema:
                allOf:
                  - type: object
                    title: Problem Details
                    description: >-
                      Bare RFC 9457 problem-details envelope. Returned by
                      middleware-level errors

                      that don't carry domain context: 401 Unauthorized (auth
                      middleware),

                      429 Too Many Requests (rate-limit middleware), and
                      route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and
                      add additional

                      fields — see `business-problem.model.yaml` (adds `code`
                      slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: >-
                          Human-readable explanation specific to this
                          occurrence.
                  - example:
                      title: Unauthorized
                      status: 401
                      detail: Authentication credentials are missing or invalid.
        '403':
          description: User lacks required feature scope to view this sequence
          content:
            application/problem+json:
              schema:
                allOf:
                  - allOf:
                      - type: object
                        title: Problem Details
                        description: >-
                          Bare RFC 9457 problem-details envelope. Returned by
                          middleware-level errors

                          that don't carry domain context: 401 Unauthorized
                          (auth middleware),

                          429 Too Many Requests (rate-limit middleware), and
                          route-level 404 / 405 /

                          415 (framework middleware).


                          Business and validation responses extend this envelope
                          and add additional

                          fields — see `business-problem.model.yaml` (adds
                          `code` slug) and

                          `validation-problem.model.yaml` (adds `errors[]`
                          array).
                        properties:
                          title:
                            type: string
                            description: Short, human-readable summary of the problem.
                          status:
                            type: integer
                            description: HTTP status code.
                            minimum: 100
                            maximum: 599
                          detail:
                            type: string
                            description: >-
                              Human-readable explanation specific to this
                              occurrence.
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              Stable, machine-readable error slug in the form

                              `"<resource>.<variant>"`.


                              * `resource` is the camelCased domain — e.g.
                              `sequence`,
                                `contact`, `inboxThread`, `blacklistDomainRule`.
                              * `variant` is the camelCased specific failure
                              mode — e.g.
                                `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.

                              Use `code` for programmatic error handling; use
                              `detail` for

                              user-facing messages. Slugs are stable across
                              server-side enum

                              reorderings and never change meaning under a given
                              resource.
                            pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                            example: sequence.notFound
                    title: Business Problem
                    description: >-
                      Domain error response carrying a stable, namespaced error
                      slug.

                      Emitted for most 4xx responses (business 400, 403, 404,
                      409, …) and

                      for 503 when a downstream dependency is unavailable.
                  - example:
                      title: Forbidden
                      status: 403
                      detail: You do not have permission to access this resource.
                      code: sequence.forbidden
              example:
                title: Forbidden
                status: 403
                detail: Feature scopes [ViewSequence] are denied for userId 123.
                code: sequenceStep.forbidden
        '429':
          description: Too Many Requests
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
                minimum: 1
          content:
            application/problem+json:
              schema:
                allOf:
                  - type: object
                    title: Problem Details
                    description: >-
                      Bare RFC 9457 problem-details envelope. Returned by
                      middleware-level errors

                      that don't carry domain context: 401 Unauthorized (auth
                      middleware),

                      429 Too Many Requests (rate-limit middleware), and
                      route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and
                      add additional

                      fields — see `business-problem.model.yaml` (adds `code`
                      slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: >-
                          Human-readable explanation specific to this
                          occurrence.
              example:
                title: Too Many Requests
                status: 429
                detail: Rate limit exceeded. Retry after 60 seconds.
components:
  schemas:
    email.type:
      type: object
      title: Email
      description: Email step with variant configuration
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - email
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the email step
          enum:
            - automatic
            - manual
        variants:
          type: array
          description: Array of email variants (A/B test versions)
          items:
            type: object
            title: Email Variant
            description: Individual email variant within an email step.
            properties:
              id:
                type: integer
                description: Unique identifier for this email variant
              subject:
                type: string
                nullable: true
                description: Email subject line.
              message:
                type: string
                nullable: true
                description: Email message content.
              attachmentIds:
                type: array
                nullable: true
                writeOnly: true
                maxItems: 3
                items:
                  type: integer
                description: >-
                  **Write-only.** IDs of previously uploaded attachments to
                  attach to this variant. Upload files via `POST
                  /v3/attachments` first to obtain attachment IDs.

                  A variant may carry up to 3 attachments. Omit to leave
                  attachments unset.

                  Not returned on read — use `hasAttachments` to detect
                  presence.
              hasAttachments:
                type: boolean
                readOnly: true
                description: >-
                  Whether the variant has any attachments. Returned on read;
                  ignored on write.
      required:
        - type
        - delayInMinutes
        - executionMode
        - variants
    linkedin.type:
      title: LinkedIn
      description: >-
        LinkedIn step with action type sub-discriminator. Uses type "linkedIn"
        with a second discriminator actionType to select the specific LinkedIn
        action.
      discriminator:
        propertyName: actionType
        mapping:
          message:
            $ref: '#/components/schemas/linkedin-message.type'
          connect:
            $ref: '#/components/schemas/linkedin-connect.type'
          inMail:
            $ref: '#/components/schemas/linkedin-inmail.type'
          viewProfile:
            $ref: '#/components/schemas/linkedin-view-profile.type'
          endorseSkills:
            $ref: '#/components/schemas/linkedin-endorse-skills.type'
          voiceMessage:
            $ref: '#/components/schemas/linkedin-voice-message.type'
          likeRecentPosts:
            $ref: '#/components/schemas/linkedin-like-recent-posts.type'
          followProfile:
            $ref: '#/components/schemas/linkedin-follow-profile.type'
      oneOf:
        - type: object
          title: LinkedIn Message
          description: LinkedIn message action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - message
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            executionMode:
              type: string
              description: Execution mode for the action
              enum:
                - automatic
                - manual
            variants:
              type: array
              description: Array of LinkedIn message variants (A/B test versions)
              items:
                type: object
                title: LinkedIn Variant
                description: Individual LinkedIn message/connect variant
                properties:
                  id:
                    type: integer
                    description: Unique identifier for this LinkedIn variant
                  message:
                    type: string
                    description: Message content
                  isEnabled:
                    type: boolean
                    description: Indicates whether the variant is enabled
                required:
                  - message
                  - isEnabled
          required:
            - type
            - actionType
            - delayInMinutes
            - executionMode
            - variants
        - type: object
          title: LinkedIn Connect
          description: LinkedIn connect action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - connect
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            executionMode:
              type: string
              description: Execution mode for the action
              enum:
                - automatic
                - manual
            variants:
              type: array
              description: >-
                Array of LinkedIn connect variants (A/B test versions). Message
                is optional, max 300 characters.
              items:
                type: object
                title: LinkedIn Variant
                description: Individual LinkedIn message/connect variant
                properties:
                  id:
                    type: integer
                    description: Unique identifier for this LinkedIn variant
                  message:
                    type: string
                    description: Message content
                  isEnabled:
                    type: boolean
                    description: Indicates whether the variant is enabled
                required:
                  - message
                  - isEnabled
          required:
            - type
            - actionType
            - delayInMinutes
            - executionMode
            - variants
        - type: object
          title: LinkedIn InMail
          description: LinkedIn InMail action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - inMail
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            executionMode:
              type: string
              description: Execution mode for the InMail
              enum:
                - automatic
                - manual
            variants:
              type: array
              description: Array of LinkedIn InMail variants (A/B test versions)
              items:
                type: object
                title: LinkedIn InMail Variant
                description: Individual LinkedIn InMail variant
                properties:
                  id:
                    type: integer
                    description: Unique identifier for this LinkedIn InMail variant
                  subject:
                    type: string
                    description: InMail subject line
                  message:
                    type: string
                    description: InMail message content
                  isEnabled:
                    type: boolean
                    description: Indicates whether the variant is enabled
                required:
                  - subject
                  - message
                  - isEnabled
          required:
            - type
            - actionType
            - delayInMinutes
            - executionMode
            - variants
        - type: object
          title: LinkedIn View Profile
          description: LinkedIn view profile action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - viewProfile
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            executionMode:
              type: string
              description: Execution mode for the action
              enum:
                - automatic
                - manual
            description:
              type: string
              description: Description or notes for the profile view
          required:
            - type
            - actionType
            - delayInMinutes
            - executionMode
        - type: object
          title: LinkedIn Endorse Skills
          description: LinkedIn endorse skills action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - endorseSkills
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            numberOfSkills:
              type: integer
              minimum: 1
              maximum: 3
              description: Number of skills to endorse (1-3)
          required:
            - type
            - actionType
            - delayInMinutes
            - numberOfSkills
        - type: object
          title: LinkedIn Voice Message
          description: LinkedIn voice message action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - voiceMessage
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
            audioFile:
              type: string
              description: The audio file URL for the voice message
          required:
            - type
            - actionType
            - delayInMinutes
            - audioFile
        - type: object
          title: LinkedIn Like Recent Posts
          description: LinkedIn like recent posts action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - likeRecentPosts
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
          required:
            - type
            - actionType
            - delayInMinutes
        - type: object
          title: LinkedIn Follow Profile
          description: LinkedIn follow profile action step
          properties:
            id:
              type: integer
              nullable: true
              readOnly: true
              description: Unique identifier for the step
            parentId:
              type: integer
              nullable: true
              description: ID of the parent step (for branching)
            ifConditionPositive:
              type: boolean
              nullable: true
              description: Whether this step is on the positive branch of a condition
            type:
              type: string
              enum:
                - linkedIn
              description: Step type discriminator
            actionType:
              type: string
              enum:
                - followProfile
              description: LinkedIn action type discriminator
            delayInMinutes:
              type: integer
              minimum: 0
              description: Delay in minutes before executing this step
          required:
            - type
            - actionType
            - delayInMinutes
    call.type:
      type: object
      title: Call
      description: Call step with script/notes
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - call
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        message:
          type: string
          description: Notes or script for the call
      required:
        - type
        - delayInMinutes
    sms.type:
      type: object
      title: SMS
      description: SMS step with message content
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - sms
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the SMS step
          enum:
            - automatic
            - manual
        message:
          type: string
          description: SMS message content
      required:
        - type
        - delayInMinutes
        - executionMode
        - message
    whatsapp.type:
      type: object
      title: WhatsApp
      description: WhatsApp step with message content
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - whatsApp
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        message:
          type: string
          description: WhatsApp message content
      required:
        - type
        - delayInMinutes
        - message
    zapier.type:
      type: object
      title: Zapier
      description: Zapier integration step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - zapier
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        name:
          type: string
          description: Name of the Zapier step
        action:
          type: string
          description: Zapier action type
          enum:
            - immediately
            - wait
      required:
        - type
        - delayInMinutes
        - name
        - action
    task.type:
      type: object
      title: Task
      description: Task step for manual actions
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - task
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        actionType:
          type: string
          description: Type of task action to perform
          enum:
            - toDo
            - meeting
        description:
          type: string
          description: Task description or instructions
      required:
        - type
        - delayInMinutes
        - actionType
        - description
    condition.type:
      type: object
      title: Condition
      description: Condition step that evaluates rules before proceeding
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - condition
          description: Step type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        waitInMinutes:
          type: integer
          minimum: 0
          description: Wait time in minutes for condition evaluation
        conditions:
          type: array
          description: Array of condition templates to evaluate
          items:
            type: object
            title: ConditionTemplate
            description: Template defining a condition with property and rules
            properties:
              property:
                type: string
                description: Property name to evaluate
              rules:
                type: array
                description: Set of rules to apply to the property
                items:
                  type: object
                  title: ConditionRule
                  description: Rule defining operator and value for condition
                  properties:
                    operator:
                      type: string
                      description: >-
                        Comparison operator (e.g., `isSet`, `isNotSet`,
                        `equals`, etc.)
                    value:
                      type: string
                      nullable: true
                      description: >-
                        Value to compare against. Null for operators like
                        `isSet`/`isNotSet`.
                  required:
                    - operator
            required:
              - property
              - rules
      required:
        - type
        - delayInMinutes
        - waitInMinutes
        - conditions
    linkedin-message.type:
      type: object
      title: LinkedIn Message
      description: LinkedIn message action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - message
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the action
          enum:
            - automatic
            - manual
        variants:
          type: array
          description: Array of LinkedIn message variants (A/B test versions)
          items:
            type: object
            title: LinkedIn Variant
            description: Individual LinkedIn message/connect variant
            properties:
              id:
                type: integer
                description: Unique identifier for this LinkedIn variant
              message:
                type: string
                description: Message content
              isEnabled:
                type: boolean
                description: Indicates whether the variant is enabled
            required:
              - message
              - isEnabled
      required:
        - type
        - actionType
        - delayInMinutes
        - executionMode
        - variants
    linkedin-connect.type:
      type: object
      title: LinkedIn Connect
      description: LinkedIn connect action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - connect
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the action
          enum:
            - automatic
            - manual
        variants:
          type: array
          description: >-
            Array of LinkedIn connect variants (A/B test versions). Message is
            optional, max 300 characters.
          items:
            type: object
            title: LinkedIn Variant
            description: Individual LinkedIn message/connect variant
            properties:
              id:
                type: integer
                description: Unique identifier for this LinkedIn variant
              message:
                type: string
                description: Message content
              isEnabled:
                type: boolean
                description: Indicates whether the variant is enabled
            required:
              - message
              - isEnabled
      required:
        - type
        - actionType
        - delayInMinutes
        - executionMode
        - variants
    linkedin-inmail.type:
      type: object
      title: LinkedIn InMail
      description: LinkedIn InMail action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - inMail
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the InMail
          enum:
            - automatic
            - manual
        variants:
          type: array
          description: Array of LinkedIn InMail variants (A/B test versions)
          items:
            type: object
            title: LinkedIn InMail Variant
            description: Individual LinkedIn InMail variant
            properties:
              id:
                type: integer
                description: Unique identifier for this LinkedIn InMail variant
              subject:
                type: string
                description: InMail subject line
              message:
                type: string
                description: InMail message content
              isEnabled:
                type: boolean
                description: Indicates whether the variant is enabled
            required:
              - subject
              - message
              - isEnabled
      required:
        - type
        - actionType
        - delayInMinutes
        - executionMode
        - variants
    linkedin-view-profile.type:
      type: object
      title: LinkedIn View Profile
      description: LinkedIn view profile action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - viewProfile
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        executionMode:
          type: string
          description: Execution mode for the action
          enum:
            - automatic
            - manual
        description:
          type: string
          description: Description or notes for the profile view
      required:
        - type
        - actionType
        - delayInMinutes
        - executionMode
    linkedin-endorse-skills.type:
      type: object
      title: LinkedIn Endorse Skills
      description: LinkedIn endorse skills action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - endorseSkills
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        numberOfSkills:
          type: integer
          minimum: 1
          maximum: 3
          description: Number of skills to endorse (1-3)
      required:
        - type
        - actionType
        - delayInMinutes
        - numberOfSkills
    linkedin-voice-message.type:
      type: object
      title: LinkedIn Voice Message
      description: LinkedIn voice message action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - voiceMessage
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
        audioFile:
          type: string
          description: The audio file URL for the voice message
      required:
        - type
        - actionType
        - delayInMinutes
        - audioFile
    linkedin-like-recent-posts.type:
      type: object
      title: LinkedIn Like Recent Posts
      description: LinkedIn like recent posts action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - likeRecentPosts
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
      required:
        - type
        - actionType
        - delayInMinutes
    linkedin-follow-profile.type:
      type: object
      title: LinkedIn Follow Profile
      description: LinkedIn follow profile action step
      properties:
        id:
          type: integer
          nullable: true
          readOnly: true
          description: Unique identifier for the step
        parentId:
          type: integer
          nullable: true
          description: ID of the parent step (for branching)
        ifConditionPositive:
          type: boolean
          nullable: true
          description: Whether this step is on the positive branch of a condition
        type:
          type: string
          enum:
            - linkedIn
          description: Step type discriminator
        actionType:
          type: string
          enum:
            - followProfile
          description: LinkedIn action type discriminator
        delayInMinutes:
          type: integer
          minimum: 0
          description: Delay in minutes before executing this step
      required:
        - type
        - actionType
        - delayInMinutes
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authenticate every request with a Bearer token. Pass your Reply API key
        in the

        `Authorization` header:


        ```

        Authorization: Bearer <your-api-key>

        ```


        Get your API key from the Reply dashboard: **Settings → API Key**.

````