---
title: "GET /public/v1/campaigns/get-all"
method: GET
path: "/public/v1/campaigns/get-all"
tags: ["Campaigns"]
---

# GET /public/v1/campaigns/get-all

`GET /public/v1/campaigns/get-all`

## Request

- Base URL: `https://api.joinvalley.co`
- URL: `https://api.joinvalley.co/public/v1/campaigns/get-all`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/joinvalley/apis/valley-public-api/docs/public/v1/campaigns/get-all/get.ts> (a function with typed inputs; its response is checked against the schema)

List campaigns. Workspace members see only their own campaigns. Workspace admins and owners see all campaigns in the workspace.

## Query parameters

- `limit` number
- `offset` number
- `sort` 'newest' | 'oldest'
- `workspaceId` string
- `ownerId` string

## Response `200`

Default Response

- object
  - `statusCode` number
  - `status` boolean
  - `message` string
  - `data` object
    - `campaigns` object[]
      - `id` string
      - `name` string
      - `status` string
      - `type` string
      - `templated` boolean
      - `created_at` string
      - `outreach_count_per_day` number
      - `total_prospects` number
      - `workspace_id` string
      - `workspace_name` string
      - `campaign_profiles_type` string
      - `campaign_input_type` string
      - `total_prospects_contacted` number
      - `total_meetings_booked` number
      - `acceptance_rate` number
      - `response_rate` number
      - `campaign_owner_id` string
      - `campaign_owner_name` string
      - `sending_times` object
      - `template` object, nullable
        - `id` string
        - `name` string
      - `writing_style` object, nullable
        - `id` string
        - `name` string
      - `workspace_product` object, nullable
        - `id` string
        - `name` string
    - `pagination` object
      - `limit` number
      - `offset` number
      - `total` number
      - `hasMore` boolean

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `429`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/joinvalley/apis/valley-public-api.md) - [All operations](https://skmtc.dev/joinvalley/apis/valley-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/joinvalley/apis/valley-public-api/revisions/798c2eb1b512?raw)
