myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Get campaign creation job

GET

/api/v1/ext/dbr-campaigns/jobs/{job_id}

Progress of Create campaign with a new agent.

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

NameInTypeRequiredDescription
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.

Responses

StatusWhen
200
Still running
200
Done
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not the installer's (same response for both)
404
Unknown job
Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns/jobs/{job_id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
Still running
{
  "success": true,
  "data": {
    "job_id": "job_5e2f…",
    "status": "running"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

The `job_id` from Create campaign with a new agent.

Query parameters

A workspace of the installer.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns/jobs/%7Bjob_id%7D
Previous

« Create campaign with a new agent

Next

Create campaign on an existing agent »