---
title: "List campaigns with pagination"
method: GET
path: "/v1/voice-agents/campaigns"
---

# List campaigns with pagination

`GET /v1/voice-agents/campaigns`

Retrieves a paginated list of campaigns with optional filtering by voice agent and search query.

## Query parameters

- `voiceAgentId` string, uuid
- `take` integer
- `skip` integer
- `search` string

## Response `200`

Successful response

- ListCampaignsResponse
  - `success` boolean
  - `message` string
  - `messageKey` string
  - `data` object
    - `campaigns` object[]
      - `id` string, uuid
      - `name` string
      - `status` 'SCHEDULED' | 'RUNNING' | 'PAUSED' | 'COMPLETED' | 'CANCELLED'
      - `sendType` 'NOW' | 'SCHEDULED'
      - `scheduledDate` string, date-time, nullable
      - `scheduledTimezone` string, nullable
      - `timeRange` object, nullable
        - `days` string[]
        - `startCallingTime` string
        - `endCallingTime` string
      - `reservedConcurrency` integer
      - `projectId` string, uuid
      - `voiceAgentId` string, uuid
      - `recipientsCount` integer — Number of recipients in this campaign
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `totalCount` integer — Total number of campaigns matching the criteria
    - `returnedCount` integer — Number of campaigns returned in this response

## Other responses

- `400` — Validation/Bad request error response
- `401` — Unauthorized
- `500` — Server Side Error

---

[API](https://skmtc.net/tryhamsa/apis/hamsa-api.md) · [All operations](https://skmtc.net/tryhamsa/apis/hamsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryhamsa/hamsa-api/versions/ecbeb5d8dc13/schema)
