myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Research a website

POST

/api/v1/ext/dbr-campaigns/research-website

Read the business's website to help write the agent.

Auth: Bearer access_token
Scope: dbr_campaigns.write

Optional, before Create campaign with a new agent. It reads the site (up to a couple of minutes) and returns a description of the business and suggestions. Pass the returned session_id and research_id to Create campaign with a new agent so the agent is written with what was found. The research is kept for one hour.

Parameters

NameInTypeRequiredDescription
workspace_id
body
number
yes
A workspace of the installer.
url
body
string
yes
The website, http(s).
session_id
body
stringnoYour own id for this campaign draft (letters, numbers, - and _). One is made for you when left out.

Responses

StatusWhen
200
OK
400
Bad url
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
Request
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns/research-website" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "workspace_id": 7,
  "url": "https://harbourdental.com.au"
}'
Responses
OK
{
  "success": true,
  "data": {
    "session_id": "api-6f1d2c3b-…",
    "research_id": "r_8c1f…",
    "message": "Read the website.",
    "slots": {
      "company_description": {
        "value": "Family dental clinic in Sydney offering check-ups, cleaning and whitening."
      }
    },
    "suggestions": {
      "offer": "Free check-up for returning patients"
    },
    "expires_at": "2026-10-28T10:00:00.000Z"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Body (JSON)
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/dbr-campaigns/research-website
Previous

« Get campaign

Next

Create campaign with a new agent »