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

# Add Campaign Sender

> Replace the campaign's sender pool. Pass an empty list to clear it (campaign will fall back to the company default sender at launch).



## OpenAPI

````yaml POST /email/campaigns/{campaign_id}/senders/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /email/campaigns/{campaign_id}/senders/:
    post:
      tags:
        - email
      summary: Set Campaign Senders
      description: >-
        Replace the campaign's sender pool. Pass an empty list to clear it
        (campaign will fall back to the company default sender at launch).
      operationId: email_campaigns_senders_create
      parameters:
        - in: path
          name: campaign_id
          schema:
            type: string
            format: uuid
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailCampaignSenderSetRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/EmailCampaignSenderSetRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/EmailCampaignSenderSetRequestRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: Updated sender pool.
        '400':
          description: >-
            `sender_ids` not a list, or one of the IDs does not match an active
            sender.
        '404':
          description: Campaign not found.
      security:
        - jwtAuth: []
        - {}
components:
  schemas:
    EmailCampaignSenderSetRequestRequest:
      type: object
      properties:
        sender_ids:
          type: array
          items:
            type: string
            format: uuid
          description: Order is preserved and used to round-robin sends.
      required:
        - sender_ids
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````