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

# Launch a campaign

> Sets status to active so the scheduler starts sending real email to the campaign's pending contacts. Refuses with flash 'Cannot launch: no pending contacts. Upload leads first.' when there are none (status unchanged).

**Minimum role:** `edit` (`x-min-role`). **Destructive:** `true` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /campaigns/{campaign_id}/launch
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /campaigns/{campaign_id}/launch:
    post:
      tags:
        - Campaigns
      summary: Launch a campaign
      description: >-
        Sets status to active so the scheduler starts sending real email to the
        campaign's pending contacts. Refuses with flash 'Cannot launch: no
        pending contacts. Upload leads first.' when there are none (status
        unchanged).


        **Minimum role:** `edit` (`x-min-role`). **Destructive:** `true`
        (`x-destructive`).
      operationId: campaigns_launch_campaign
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              properties:
                redirect_to:
                  description: >-
                    Send 'list' to redirect to the campaign list instead of the
                    detail page (UI only).
                  type: string
              type: object
      responses:
        '200':
          description: Redirect; flash 'Campaign launched' or the refusal message.
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.