Skip to main content
GET
Get agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Shapes the Campaign row to match the Supabase response structure the frontend already consumes (nested user_agents / contact_groups objects).

id
string<uuid>
required
read-only
post_call_analyzers
object[]
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
user_agents
object | null
required
read-only
contact_groups
object | null
required
read-only
name
string
Maximum string length: 255
description
string | null
status
string
Maximum string length: 32
paused_reason
string | null
agent_id
string<uuid> | null
contact_group_id
string<uuid> | null
concurrent_calls
integer<int64>
Required range: -9223372036854776000 <= x <= 9223372036854776000
max_retry_days
integer<int64>
Required range: -9223372036854776000 <= x <= 9223372036854776000
calling_hours
any
schedule_config
any
active_days
any
field_mappings
any
selected_contact_fields
any
timezone
string
Maximum string length: 64
call_insights
any
started_at
string<date-time> | null
completed_at
string<date-time> | null