> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbeo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get campaign

> Read one campaign, with its counters and its import's progress: lines read of the total, contacts added, and the lines skipped with their reasons.

Returns one campaign with its import: how far the import has got, the contacts it added, and the lines it skipped with why. Read it every few seconds while the import runs; the campaign can start once `import.status` is `done`.

**Who may call it:** any API key of the workspace; in the dashboard, any member.

## Path

**id** `string` *required*

UUID of the campaign.

## Request

```bash theme={null}
curl "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

`200 OK` with the [campaign object](https://docs.verbeo.ai/api-reference/campaign/overview.md#the-campaign-object) and its whole [import object](https://docs.verbeo.ai/api-reference/campaign/overview.md#the-import-object).

```json theme={null}
{
  "success": true,
  "data": {
    "id": "0175091d-2c3b-4aef-8c45-dbbe24f7b3ff",
    "campaign_name": "Spring renewals",
    "status": "draft",
    "total_contacts": 34998,
    "import": {
      "id": "9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b",
      "status": "importing",
      "total_lines": 50000,
      "lines_read": 35000,
      "contacts_added": 34998,
      "rows_skipped": 2,
      "skipped": [
        { "line": 12, "reason": "phone_number: must be a number in +E.164 format, e.g. +14155550123" },
        { "line": 4108, "reason": "not valid JSON" }
      ],
      "error_message": null,
      "…": "the rest of the import object"
    },
    "…": "the rest of the campaign object"
  }
}
```

## Errors

| Code | Status | When |
| - | - | - |
| `NOT_FOUND` | 404 | `Campaign not found`: no campaign with this id in your workspace. |
| `VALIDATION_FAILED` | 422 | `id` is not a UUID: `must be a valid uuid`. |

And the [errors every route can give](https://docs.verbeo.ai/api-reference/campaign/overview.md#errors-every-route-can-give).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.