Agents

List, create, read, update and delete voice agents with the Callpme API v1.

On this page

List agentsLink to this section

GET/api/v1/agents

Filters: role (support, appointment, lead_qualification, outbound_sales, receptionist, survey, custom), status (active, paused, draft), search. Without limit or cursor, all agents are returned; with either one, the list is paginated (limit from 1 to 100, default 50).

curl "https://callpme.com/api/v1/agents?status=active" \
  -H "Authorization: Bearer $CALLPME_API_KEY"

Create an agentLink to this section

POST/api/v1/agents

FieldTypeDescription
name (required)string, 1 to 80Agent name
role (required)enumOne of the roles listed above
statusactive, paused, draftdraft by default
phoneNumberstring or nullLinked number (admin key)
firstMessagestring, ≤ 2,000Greeting message
firstSpeakeragent or callerWho speaks first
personastring, ≤ 1,000Personality
customRoleobject{ label, description } for the custom role
guardrailsarray of strings30 at most, 500 characters each
toolsarray of stringsIDs of the enabled tools
voiceobject{ provider, voiceId, language, speed } (speed 0.5 to 2)
modelobject{ provider: openai | anthropic | mistral, modelId, temperature }
curl -X POST "https://callpme.com/api/v1/agents" \
  -H "Authorization: Bearer $CALLPME_API_KEY" \
  -H "Idempotency-Key: agent-reception-2026-11" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Practice reception",
    "role": "receptionist",
    "firstMessage": "Hello, Martin practice, how can I help you?"
  }'

Retrieve an agentLink to this section

GET/api/v1/agents/{id}

curl "https://callpme.com/api/v1/agents/cm4agent01" \
  -H "Authorization: Bearer $CALLPME_API_KEY"

Update an agentLink to this section

PATCH/api/v1/agents/{id}

Updatable fields: name, status (active, paused, draft) and phoneNumber (admin key only).

curl -X PATCH "https://callpme.com/api/v1/agents/cm4agent01" \
  -H "Authorization: Bearer $CALLPME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "paused"
  }'

Delete an agentLink to this section

DELETE/api/v1/agents/{id}

curl -X DELETE "https://callpme.com/api/v1/agents/cm4agent01" \
  -H "Authorization: Bearer $CALLPME_API_KEY"

Related events: agent.created, agent.updated, agent.deleted.