Skip to main content
GET
/
api
/
v1
/
vendors
/
{vendorId}
/
organizations
/
{organizationId}
/
agents
/
{agentId}
Get Agent Details
curl --request GET \
  --url https://app.phonebot.io:80/api/v1/vendors/{vendorId}/organizations/{organizationId}/agents/{agentId}
{
  "success": true,
  "timestamp": "2025-04-17T14:23:30Z",
  "message": "<string>",
  "data": {
    "id": "98765432-10fe-dcba-9876-543210fedcba",
    "name": "Sales Bot Alpha",
    "systemPromptTemplate": "You are a helpful sales assistant for ACME Corp. Your goal is to qualify leads.",
    "userValueTypes": {
      "customer_name": "STRING",
      "product_interest": "STRING",
      "order_id": "NUMBER"
    },
    "llmAudioContentGenerationStrategyId": "abcdef01-2345-6789-abcd-ef0123456789",
    "telephoneNumberId": "11223344-5566-7788-9900-aabbccddeeff",
    "extensions": [
      {
        "id": "deadbeef-cafe-babe-feed-faceabadb001",
        "name": "CRM Lookup",
        "type": "crm_lookup_v1",
        "parameters": {
          "crm_system_url": "https://mycrm.example.com/api",
          "api_key_secret": "secret_crm_key"
        }
      }
    ],
    "callEventHooks": [
      {
        "id": "b00bface-1337-badd-cafe-d00df00dcafe",
        "type": "webhook_call_ended_v1",
        "parameters": {
          "target_url": "https://my.service.com/call_event",
          "auth_token": "bearer_abc123"
        }
      }
    ]
  },
  "traceId": "<string>"
}

Path Parameters

vendorId
string
required

ID of the Vendor (UUID)

organizationId
string
required

ID of the Organization (UUID)

agentId
string
required

ID of the Agent (UUID)

Response

Successfully retrieved agent details

Standard API response wrapper

success
boolean
required

Indicates if the request was successful

Example:

true

timestamp
string<date-time>
required

Response timestamp in ISO-8601 format

Example:

"2025-04-17T14:23:30Z"

message
string

Human-readable message

data
object

Payload data object

traceId
string

Correlation or trace ID