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

# List Campaign Targets

> Each target's status, in list order; `status` filters to one.



## OpenAPI

````yaml /openapi.json get /v1/campaigns/{campaign_id}/targets
openapi: 3.1.0
info:
  title: TurnCall
  description: Production voice agent platform API
  version: 2.0.0
servers: []
security: []
paths:
  /v1/campaigns/{campaign_id}/targets:
    get:
      tags:
        - campaigns
      summary: List Campaign Targets
      description: Each target's status, in list order; `status` filters to one.
      operationId: list_campaign_targets_v1_campaigns__campaign_id__targets_get
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Campaign Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/CampaignTargetStatus'
              - type: 'null'
            title: Status
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            default: 100
            title: Limit
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response List Campaign Targets V1 Campaigns  Campaign Id 
                  Targets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CampaignTargetStatus:
      type: string
      enum:
        - pending
        - dialling
        - placing
        - calling
        - completed
        - suppressed
        - failed
        - cancelled
      title: CampaignTargetStatus
      description: >-
        One target's place in its campaign (#229, #232).


        `pending` waits to be dialled; `dialling` is claimed by a worker that
        has

        not asked the carrier yet; `placing` is the carrier being asked;
        `calling`

        has a call placed; the rest are final.


        `dialling` and `placing` are separate committed steps because a worker
        can

        die in either, and they mean opposite things: a dead claim in `dialling`

        never reached the carrier and goes back to `pending`, while one in

        `placing` may have rung a phone with no call row to show for it, so the

        janitor ends it `failed` rather than ever dialling it a second time.
    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

````

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