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

# Get campaign details

`GET /v1/campaigns/{id}`

## Request

- Base URL: `https://api.toksta.com`
- URL: `https://api.toksta.com/v1/campaigns/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/toksta/apis/toksta-public-api/docs/v1/campaigns/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a campaign by ID. **SaaS workspace entitlement required.**

## Path parameters

- `id` string, required

## Response `200`

Campaign detail.

- object: Campaign detail.
  - `success` true, required
  - `data` object, required: Operation payload. See the example for the exact field structure.
  - `meta` object, required
    - `request_id` string, required
    - `trace_id` string

## Other responses

- `400`: Bad request or validation error (`BAD_REQUEST` / `VALIDATION_ERROR`).
- `401`: Missing, invalid, or revoked API key.
- `402`: Insufficient credits for this operation.
- `403`: API access disabled or workspace entitlement required.
- `404`: Resource not found, or result expired past retention.
- `429`: Rate limit exceeded — back off per `Retry-After`.
- `500`: Unexpected server error.
- `501`: Endpoint is registered but not implemented yet.

---

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