myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

List campaigns

GET

/api/v1/ext/dbr-campaigns

The Database Reactivation campaigns of a workspace.

Auth: Bearer access_token
Scope: dbr_campaigns.read

Open campaigns by default; include_closed=true adds completed and stopped ones. open_campaign_id is the one in progress, if any.

Parameters

NameInTypeRequiredDescription
workspace_id
query
number
yes
A workspace of the installer.
include_closed
query
booleannoDefault false.

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not the installer's (same response for both)
502
The campaign service could not be reached

Response schema

campaignobject

Each item in `data`

campaign_idstring

Campaign id.

campaign_namestring

Campaign name.

campaign_tagstring

The contact tag that puts a contact on the list. Adding it to contacts is what launches them.

campaign_stagestring

`built` (draft) → `live` → `tested` → `launched` → `completed`; `aborted` when stopped.

Example:built
campaign_openboolean

Not completed or deleted. An agent runs one open campaign at a time.

agent_idstring

The AI agent that talks to the contacts.

agent_namestring
nullable

Its name.

agent_statusstring
nullable

The agent's status: `draft`, `active`, `paused`.

workflow_idstring
nullable

The automation that sends the openers — set by the first Preview.

list_size_estimatenumber
nullable

How many contacts you said the list has.

tagged_countnumber
nullable

Contacts carrying the campaign tag now — the list's real size.

previewed_atstring (ISO 8601)
nullable

Last preview.

missed_call_firstboolean

A missed call rings each contact before their opener.

runsobject

Launched / completed only: `total`, `active`, `completed`, `failed`, `cancelled`, `last_finished_at`.

pacingobject

How fast the openers go out.

next_stepstring

What to do next, in words.

Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": [
    {
      "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"
    }
  ],
  "open_campaign_id": "c7d2e9f0-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters

A workspace of the installer.

Default false.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns
Previous

« Preflight

Next

Get campaign »