myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Update voice agent

PATCH

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

Change a voice agent's name, AI agent, status or settings.

Auth: Bearer access_token
Scope: voice_agents.write

Send only what changes; settings replaces the whole object. status: "paused" stops it taking or placing calls (an AI call to a contact whose agent is paused is refused, never swapped).

Parameters

NameInTypeRequiredDescription
id
path
string
yes
The voice agent id.
workspace_id
body
number
yes
A workspace of the installer.
name
body
stringnoUp to 255 characters.
agent_id
body
stringnoAnother AI agent to speak for.
status
body
enumnoactive / paused.
settings
body
objectnoThe full settings object (see Create).

Responses

StatusWhen
200
OK
400
Nothing to change, or a setting the AI service refused
401
Missing or invalid token
403
Voice agents are switched off for the account
403
Missing scope
404
Voice agent does not exist or is not the installer's (same response for both)
Request
curl -X PATCH "https://backend.mysmsgateway.app/api/v1/ext/voice-agents/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "workspace_id": 7,
  "status": "paused"
}'
Responses
OK
{
  "success": true,
  "message": "Voice agent updated",
  "data": {
    "id": "va_01HZX4Q8K2",
    "workspace_id": 7,
    "name": "Sales Voice",
    "agent_id": "0f3b2c1d-7e8a-4b9c-a1d2-3e4f5a6b7c8d",
    "agent_name": "Sales Agent",
    "status": "paused",
    "answers_inbound": true,
    "settings": {
      "mode": "pipeline",
      "template_id": "receptionist",
      "stt": {
        "provider": "deepgram",
        "model": "nova-3",
        "language": "en"
      },
      "llm": {
        "model": "gpt-4.1-mini",
        "temperature": 0.4
      },
      "tts": {
        "provider": "cartesia",
        "model": "sonic-2",
        "voice": "a0e99841-438c-4a64-b679-ae501e7d6091",
        "speed": 1
      },
      "realtime": null,
      "greeting": "Hi, this is Sam from Acme. Is now a good time?",
      "voice_description": "Warm, unhurried, Australian.",
      "instructions": "Confirm the appointment and offer to reschedule if needed.",
      "responsiveness": "balanced",
      "allow_interruptions": true,
      "disclose_ai": true,
      "max_call_seconds": 600,
      "inbound_answer_after_seconds": 15,
      "inbound_hours": {
        "enabled": false,
        "timezone": "Australia/Sydney",
        "days": {
          "mon": {
            "enabled": true,
            "open": "09:00",
            "close": "17:00"
          }
        }
      }
    },
    "created_at": "2026-11-01T00:00:00+00:00",
    "updated_at": "2026-11-02T00:00:00+00:00"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

The voice agent id.

Body (JSON)
Request URL
PATCHhttps://backend.mysmsgateway.app/api/v1/ext/voice-agents/%7Bid%7D
Previous

« Create voice agent

Next

Delete voice agent »