Skip to main content
GET
Get Agent

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain your API key from the Dialgen API Keys dashboard at https://sa.dialgen.ai/api-keys

Query Parameters

agentId
string
required

The unique identifier of the agent

Example:

"agent_clx123abc..."

userId
string
required

The user ID owning the agent

Example:

"user_clx456def..."

Response

Agent details retrieved successfully

id
string

Unique agent identifier

name
string

Agent name

createdAt
string<date-time>

Agent creation timestamp

updatedAt
string<date-time>

Agent last update timestamp

type
enum<string>

Agent type

Available options:
OUTBOUND,
INBOUND
isActive
boolean

Whether the agent is active

basicDetails
object
metricConfig
object
sipTrunkId
string

SIP trunk identifier