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

# Create Squad Outbound Campaign

> Create an outbound calling campaign using a squad.

The campaign will be distributed across squad members based on:
- Agent availability
- Agent calling schedules  
- Agent daily limits
- Squad routing strategy

Example:
```json
{
  "squad_id": "squad-uuid",
  "name": "Q4 Sales Campaign",
  "targets": [
    {"to_number": "+1234567890", "context": {"customer_id": "123"}},
    {"to_number": "+0987654321", "context": {"customer_id": "456"}}
  ],
  "routing_strategy": "load_based",
  "concurrent_calls_per_agent": 2
}
```



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json post /squad-calls/squads/{squad_id}/outbound-campaign
openapi: 3.1.0
info:
  title: Backend - Multilingual Voice Agent System
  description: FastAPI backend for multilingual voice agents with tool use
  version: 1.0.0
servers: []
security: []
paths:
  /squad-calls/squads/{squad_id}/outbound-campaign:
    post:
      tags:
        - squad-calls
      summary: Create Squad Outbound Campaign
      description: |-
        Create an outbound calling campaign using a squad.

        The campaign will be distributed across squad members based on:
        - Agent availability
        - Agent calling schedules  
        - Agent daily limits
        - Squad routing strategy

        Example:
        ```json
        {
          "squad_id": "squad-uuid",
          "name": "Q4 Sales Campaign",
          "targets": [
            {"to_number": "+1234567890", "context": {"customer_id": "123"}},
            {"to_number": "+0987654321", "context": {"customer_id": "456"}}
          ],
          "routing_strategy": "load_based",
          "concurrent_calls_per_agent": 2
        }
        ```
      operationId: >-
        create_squad_outbound_campaign_squad_calls_squads__squad_id__outbound_campaign_post
      parameters:
        - name: squad_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Squad Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SquadOutboundCampaignRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SquadOutboundCampaignRequest:
      properties:
        squad_id:
          type: string
          format: uuid
          title: Squad Id
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
        targets:
          items:
            additionalProperties: true
            type: object
          type: array
          minItems: 1
          title: Targets
        routing_strategy:
          type: string
          pattern: ^(round_robin|load_based|skill_based|priority)$
          title: Routing Strategy
          default: load_based
        concurrent_calls_per_agent:
          type: integer
          maximum: 5
          minimum: 1
          title: Concurrent Calls Per Agent
          default: 2
        context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Context
      type: object
      required:
        - squad_id
        - name
        - targets
      title: SquadOutboundCampaignRequest
      description: Squad-based outbound campaign request.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````