# Get campaign creation job

> Progress of Create campaign with a new agent.

Source: https://docs.mycrmsim.com/docs/dbr-campaigns/get-dbr-campaign-job

```http
GET https://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns/jobs/{job_id}
```

- Category: myCRMSIM DBR Campaigns / DBR Campaigns
- Auth: Bearer access token
- Scope: `dbr_campaigns.read`

`status` is `queued`, then `running`, then `done`. A done job carries the campaign (`campaign_id` and the rest). Poll every few seconds; it usually takes 1–3 minutes. If writing the agent failed, the campaign service's error (`code`, `message`) comes back instead.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `job_id` | path | string | yes | The `job_id` from Create campaign with a new agent. |
| `workspace_id` | query | number | yes | A workspace of the installer. Example: `7` |

## Response 200

Still running

```json
{
  "success": true,
  "data": {
    "job_id": "job_5e2f…",
    "status": "running"
  }
}
```

## Response 200

Done

```json
{
  "success": true,
  "data": {
    "job_id": "job_5e2f…",
    "status": "done",
    "research_used": true,
    "campaign_id": "c7d2e9f0-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
    "campaign_name": "Harbour Dental — check-up reactivation",
    "campaign_tag": "dbr-harbour-dental",
    "campaign_stage": "built",
    "campaign_open": true,
    "agent_id": "a3f1c2d4-5b6e-4f70-8a91-b2c3d4e5f607",
    "agent_name": "Revive",
    "agent_status": "draft",
    "workflow_id": null,
    "list_size_estimate": 400,
    "tagged_count": 0,
    "previewed_at": null,
    "missed_call_first": false,
    "pacing": {
      "batch_size": 5,
      "every_seconds": 600,
      "random_seconds": [
        480,
        720
      ],
      "window": "9:00–18:00 Australia/Sydney, Mon–Fri",
      "per_day": 150,
      "list_size": 400,
      "working_days": 3,
      "waves_recommended": false
    },
    "pacing_sentence": "About 400 contacts, 5 every ~10 minutes in sending hours: about 150 a day, so 3 working days.",
    "next_step": "Preview the messages.",
    "created_at": "2026-10-28T09:00:00.000Z",
    "updated_at": "2026-10-28T09:00:00.000Z"
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): dbr_campaigns.read. This integration was granted: …"
}
```

## Response 404

workspace_id does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Workspace not found or not accessible to this token"
}
```

## Response 404

Unknown job

```json
{
  "success": false,
  "message": "Job not found or not accessible to this token"
}
```
