---
docId: doc_d3360101a421405da4d677e320809d9d
title: Get a campaign
description: "Read a campaign and its template."
api:
  group: campañas
  auth: bearer
  operations:
    - operationId: getCampaign
      method: GET
      path: '/v1/campaigns/{campaignId}'
      postmanName: Get a campaign
---

<script>
  import { Ways, Collapsible } from '$lib/components';
</script>

# Get a campaign

Read a campaign by its ID, including its settings, owners, and associated template.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl https://api.platic.ai/v1/campaigns/$CAMPAIGN_ID \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.campaigns.get("campaign_123");
```

</Ways.Way>
</Ways>

## Path parameters

| Parameter | Type | Description | Required |
| --- | --- | --- | --- |
| `campaignId` | string | Unique identifier of the campaign | required |

## Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `workspace` | string | Only if the credential covers several workspaces: the campaign's workspace. It is required there | — |

## Response `200 OK`

```json
{
  "status": "success",
  "data": {
    "id": "EgIOvaKPmrQFfuh6D023",
    "title": "Summer promo",
    "category": "MARKETING",
    "platform": "whatsapp",
    "templateName": "summer_promo_2026",
    "owners": ["marketing@acme.com"],
    "language": "en_US",
    "wabaId": "waba_xyz",
    "creationDate": "2026-02-14T10:00:00.000Z",
    "lastUpdate": "2026-02-14T12:00:00.000Z",
    "template": {
      "name": "summer_promo_2026",
      "language": "en_US",
      "category": "MARKETING",
      "status": "APPROVED",
      "id": "1234567890",
      "wabaId": "waba_xyz",
      "components": []
    },
    "cta": { "targetUrl": "https://example.com/summer", "label": "See offers" },
    "templateSubmissions": []
  }
}
```

## Response fields

<Collapsible summary="Show all fields">

`data` is the campaign:

| Field | Description |
|-------|-------------|
| `id` | Internal ID of the campaign |
| `title` | Campaign title |
| `category` | Category: `MARKETING`, `UTILITY`, or `AUTHENTICATION` |
| `platform` | Send platform |
| `templateName` | Name of the associated template, or `null` |
| `owners` | List of responsible-user emails |
| `language` | Template language when it applies |
| `wabaId` | WABA identifier when it applies |
| `creationDate` | Creation date in ISO 8601 format |
| `lastUpdate` | Last update date in ISO 8601 format |
| `template` | The chosen template: `name`, `language`, `category`, Meta's `status` in capitals (`DRAFT` if it was never sent for review), `id`, `wabaId`, and `components`. `null` if it has none |
| `cta` | The button destination, `{ targetUrl, label }`, or `null` |
| `templateSubmissions` | The templates the campaign sent for review with [create a template](/api-reference/whatsapp-templates/create) and `campaignId`, newest to oldest (up to 20): `id`, `name`, `language`, `category`, `status`, `wabaId`, and `submittedAt` |

</Collapsible>

## Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | The credential covers several workspaces and `workspace` is missing or is not one of them (`details.available` lists the valid ones) |
| `401` | `UNAUTHENTICATED` | The credential is missing or invalid |
| `403` | `FORBIDDEN` | The credential does not have the Campaigns permission in that workspace |
| `404` | `NOT_FOUND` | The campaign does not exist in the workspace or was deleted |

```json
{
  "code": 404,
  "error": "Not Found - The resource doesn't exist",
  "details": {
    "code": "NOT_FOUND",
    "message": "Campaign not found"
  }
}
```

See [Errors](/api-reference/errors) for the full shape of an error.
