Skip to main content
PUT
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Path Parameters

agent_id
string
required

The voice agent's id: the id from List voice agents. It is also the last part of that page's address in the app.

Body

application/json
after_hours
AfterHours · object | null

After hours returned by the Sendora API.

capture_leads
boolean | null

Capture leads returned by the Sendora API.

lead_defaults
LeadDefaults · object | null

Lead defaults returned by the Sendora API.

Response

Successful Response

after_hours
After Hours · object
required

After hours returned by the Sendora API.

capture_leads
boolean
required

Capture leads returned by the Sendora API.

direction
string
required

Direction returned by the Sendora API.

lead_defaults
Lead Defaults · object
required

Lead defaults returned by the Sendora API.

campaign_public_id
string | null

The id of the campaign behind this inbound agent: pass it to Get campaign.