---
title: "Get a campaign"
method: GET
path: "/campaigns/{id}"
tags: ["campaigns"]
---

# Get a campaign

`GET /campaigns/{id}`

## Request

- Base URL: `https://api.fallax.io/v1`
- URL: `https://api.fallax.io/v1/campaigns/{id}`
- Auth: HTTP bearer

One campaign and its counts.

## Path parameters

- `id` string, required: The id of the row.

## Response `200`

Get a campaign

- Campaign
  - `id` string, required
  - `name` string, required
  - `status` string, required
  - `launchedAt` string, date-time, nullable, required
  - `completedAt` string, date-time, nullable, required
  - `createdAt` string, date-time, nullable, required
  - `stats` object, required
    - `targeted` integer, required
    - `sent` integer, required
    - `opened` integer, required
    - `clicked` integer, required
    - `submitted` integer, required
    - `reported` integer, required

## Other responses

- `400`: A parameter or body field the API cannot use. The message names the field.
- `401`: No key, an unknown key, or one that has been revoked.
- `403`: A read-only key was used on a write endpoint.
- `404`: No such endpoint, or no such row in this workspace. The two are deliberately indistinguishable from outside: another workspace's ids must not be probeable.
- `405`: The path exists but not with that verb. `Allow` lists the verbs that work.
- `429`: More than 120 requests in a minute on one key. `Retry-After` says how long to wait. A poll every minute, and the paging behind it, is nowhere near this.
- `500`: Our fault. Safe to retry.

---

[API](https://skmtc.dev/fallax/apis/fallax-api.md) · [All operations](https://skmtc.dev/fallax/apis/fallax-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fallax/apis/fallax-api/revisions/b5731fd85ef8?raw)
