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

# Create Sequence

> Create a new outreach sequence with initial DM variations, scheduled follow-ups, and optional warm-up actions.



## OpenAPI

````yaml POST /api/v1/sequences
openapi: 3.1.0
info:
  title: Wave Public API
  description: >-


    ### Authentication

    All public endpoints require a valid API Key provided via header:

    * **Authorization:** `Bearer wave_live_...`


    ### Access Control

    API access is tied directly to your Wave subscription. An active or trialing
    subscription is required. Inactive subscriptions will receive a `403
    Forbidden` error.


    ### Rate Limiting

    Requests are limited per API key using a 60-second sliding window. Tiers:
    **Paid** Subscription get 60 requests/min, **Trial** Subscription get 30
    requests/min. Every authenticated response carries `X-RateLimit-Limit`,
    `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers. Exceeding the
    limit returns `429 Too Many Requests` with a `Retry-After` header indicating
    the seconds to wait.
                    
  license:
    name: Proprietary
    url: https://app.usewave.co/
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/sequences:
    post:
      tags:
        - Sequences
      summary: Create Sequence
      description: >-
        Creates a new outreach sequence containing initial message variations,
        scheduled follow-ups, and optional warm-up action steps (FOLLOW_FIRST,
        LIKE_LAST_POSTS).
      operationId: create_sequence
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicSequenceCreateRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicSequenceResponse'
        '400':
          description: Bad Request - Invalid parameters or input payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '401':
          description: Unauthorized - Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '403':
          description: Forbidden - Active subscription required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '404':
          description: >-
            Not Found - The resource does not exist or belongs to another
            account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '422':
          description: Unprocessable Entity - Schema validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '429':
          description: Rate Limit Exceeded - Request quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
        '500':
          description: Internal Server Error - Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    PublicSequenceCreateRequest:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
          description: Descriptive name of the sequence
          example: Cold Outreach - SaaS Founders
        messages:
          items:
            type: string
          type: array
          minItems: 1
          title: Messages
          description: List of initial DM variations to randomize
          example:
            - Hey {firstName}! Loved your recent post.
        followUps:
          anyOf:
            - items:
                $ref: '#/components/schemas/PublicSequenceFollowUp'
              type: array
            - type: 'null'
          title: Followups
          description: List of follow-up messages with delay intervals
        actions:
          anyOf:
            - items:
                $ref: '#/components/schemas/PublicSequenceActionCreate'
              type: array
            - type: 'null'
          title: Actions
          description: Pre-DM actions (e.g. follow first, like posts)
      type: object
      required:
        - name
        - messages
      title: PublicSequenceCreateRequest
    PublicSequenceResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Sequence unique ID
        name:
          type: string
          title: Name
          description: Sequence name
        messages:
          items:
            type: string
          type: array
          title: Messages
          description: Initial DM message templates
        followUps:
          anyOf:
            - items:
                $ref: '#/components/schemas/PublicSequenceFollowUp'
              type: array
            - type: 'null'
          title: Followups
          description: Follow-up templates
        actions:
          anyOf:
            - items:
                $ref: '#/components/schemas/PublicSequenceActionModel'
              type: array
            - type: 'null'
          title: Actions
          description: Associated actions
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - name
        - messages
      title: PublicSequenceResponse
    ErrorMessageResponse:
      properties:
        status:
          type: integer
          title: Status
          description: HTTP status code
          example: 400
        error:
          type: string
          title: Error
          description: HTTP status phrase or category
          example: Bad Request
        message:
          type: string
          title: Message
          description: Human-readable explanation of the error
          example: Invalid request parameters.
        details:
          anyOf:
            - {}
            - type: 'null'
          title: Details
          description: Granular validation failure details or contextual information
      type: object
      required:
        - status
        - error
        - message
      title: ErrorMessageResponse
      description: Standardized public error response structure modeled after Dripify.
    PublicSequenceFollowUp:
      properties:
        message:
          type: string
          title: Message
          description: Follow-up DM message template
          example: Hey, just following up on my previous message!
        delay:
          type: string
          title: Delay
          description: Delay interval before sending this follow-up (e.g. '1d', '2d', '3h')
          example: 1d
      type: object
      required:
        - message
        - delay
      title: PublicSequenceFollowUp
      description: Follow-up message step configuration.
    PublicSequenceActionCreate:
      properties:
        action_type:
          $ref: '#/components/schemas/ActionType'
          description: 'Type of action: FOLLOW_FIRST or LIKE_LAST_POSTS'
        delay_days:
          type: integer
          minimum: 0
          title: Delay Days
          description: Delay in days before executing action
          default: 0
        like_count:
          anyOf:
            - type: integer
              maximum: 10
              minimum: 1
            - type: 'null'
          title: Like Count
          description: Number of posts to like (required if LIKE_LAST_POSTS)
        position:
          type: integer
          minimum: 0
          title: Position
          description: Step position
          default: 0
      type: object
      required:
        - action_type
      title: PublicSequenceActionCreate
    PublicSequenceActionModel:
      properties:
        action_type:
          $ref: '#/components/schemas/ActionType'
          description: 'Type of action: FOLLOW_FIRST or LIKE_LAST_POSTS'
        delay_days:
          type: integer
          title: Delay Days
          description: Delay in days before executing action
          default: 0
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Like Count
          description: Number of posts to like (1-10, for LIKE_LAST_POSTS)
      type: object
      required:
        - action_type
      title: PublicSequenceActionModel
      description: Action step in a sequence.
    ActionType:
      type: string
      enum:
        - FOLLOW_FIRST
        - LIKE_LAST_POSTS
      title: ActionType
  securitySchemes:
    HTTPBearer:
      type: http
      description: 'Enter your API key: `wave_live_<token>`'
      scheme: bearer

````