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

# Launch campaign

> Launches a campaign now or schedules it for a future time.



## OpenAPI

````yaml /openapi.json post /api/v1/campaigns/{id}/launch
openapi: 3.1.0
info:
  title: Nudgen Developer API
  version: 1.0.0
  description: >-
    REST API for managing Nudgen contacts, campaigns, brand settings, and AI
    email drafts with Personal Access Token authentication.
servers:
  - url: https://nudgen.net
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Identity
  - name: Contacts
  - name: Campaigns
  - name: Brand settings
  - name: AI
paths:
  /api/v1/campaigns/{id}/launch:
    post:
      tags:
        - Campaigns
      summary: Launch campaign
      description: Launches a campaign now or schedules it for a future time.
      operationId: launchCampaign
      parameters:
        - $ref: '#/components/parameters/Id'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaunchCampaignRequest'
            example:
              sendNow: false
              scheduledAt: '2026-05-21T06:46:52.128Z'
      responses:
        '200':
          description: Campaign scheduled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaunchCampaignResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    LaunchCampaignRequest:
      type: object
      properties:
        sendNow:
          type: boolean
          default: true
        scheduledAt:
          type: string
          format: date-time
    LaunchCampaignResponse:
      type: object
      properties:
        campaign:
          $ref: '#/components/schemas/Campaign'
        launched:
          type: boolean
        delayMs:
          type: integer
    Campaign:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - one-time
            - drip
        status:
          type: string
          enum:
            - draft
            - scheduled
            - sending
            - sent
            - stopped
        subject:
          type: string
        scheduledAt:
          type:
            - string
            - 'null'
          format: date-time
        sentAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
  responses:
    BadRequest:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: PAT
      description: Personal Access Token created from Settings -> API Keys.

````