myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Get AI agent

GET

/api/v1/ext/ai-agents/{id}

One agent with its configuration.

Auth: Bearer access_token
Scope: ai_agents.read

Parameters

NameInTypeRequiredDescription
id
path
string
yes
Agent id.
workspace_id
query
number
yes
A workspace of the installer.

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)
404
The agent does not exist or is in another workspace

Response schema

ai_agentobject
idstring

Agent id.

Example:a3f1c2d4-5b6e-4f70-8a91-b2c3d4e5f607
namestring

Agent name.

Example:Revive
rolestring

What the agent is for — its job, in a sentence or two.

personastring

Who it speaks as, and how.

statusstring

`draft`, `active` (answering) or `paused`.

Example:draft
workspace_idstring

The workspace it works in.

Example:7
config_metadataobject

The whole configuration: model, tone, opening messages, follow-ups, qualifying questions, FAQs, goal and calendar. See Create AI agent.

created_atstring (ISO 8601)

Created.

updated_atstring (ISO 8601)

Last saved.

Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/ai-agents/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": {
    "id": "a3f1c2d4-5b6e-4f70-8a91-b2c3d4e5f607",
    "name": "Revive",
    "role": "Reactivate old leads for Harbour Dental and book them in for a check-up.",
    "persona": "Sam, a friendly front-desk assistant at Harbour Dental. Short, warm messages.",
    "status": "draft",
    "workspace_id": "7",
    "config_metadata": {
      "model": "gpt-4.1-mini",
      "tone": "Friendly",
      "ghl_tag": "revive-2026",
      "company_info": "Harbour Dental, Sydney. Check-ups, cleaning, whitening.",
      "initial_messages": [
        "Hi {{contact.first_name}}, it's Sam from Harbour Dental. It's been a while — would you like to book a check-up?"
      ],
      "followUps": [
        {
          "text": "Just checking in, {{contact.first_name}} — any time suit you this week?",
          "delay": {
            "days": 2,
            "hours": 0,
            "minutes": 0
          }
        }
      ],
      "qualification_enabled": true,
      "questions": [
        {
          "id": "q1",
          "text": "Is it a check-up or something hurting?"
        }
      ],
      "faqs": [
        {
          "question": "Do you take insurance?",
          "answer": "Yes, all major funds."
        }
      ],
      "config": {
        "end_goal": "Book Appointment",
        "calendar_provider": "native",
        "calendar_id": "12",
        "calendar_ids": [
          "12"
        ],
        "disqualify_trigger": "Not interested or moved away"
      }
    },
    "created_at": "2026-10-28T09:00:00.000Z",
    "updated_at": "2026-10-28T09:00:00.000Z"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Agent id.

Query parameters

A workspace of the installer.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/ai-agents/%7Bid%7D
Previous

« List AI models

Next

Create AI agent »