Skip to main content
POST
Create an agent

Authorizations

Authorization
string
header
required

Enter your API key (Bearer token)

Headers

Idempotency-Key
string

Optional. A retry with the same key and body returns the first response instead of doing the work twice.

Body

application/json
name
string
required
Required string length: 1 - 255
config
object
description
string | null

A short note for people. null clears it.

Maximum string length: 2000

Response

config
object
required

What callers hear now: the live version, latest commit.

created_at
string
required
description
string | null
required
draft_pending
boolean
required
id
string
required
live_version_id
string | null
required
name
string | null
required
phone_numbers
string[]
required
revision
string | null
required
versioning_enabled
boolean
required
changed_fields
string[]
next_action
object
try_it
object

Ways to hear the live agent now. Left out when nothing is callable.

warnings
object[]