Skip to main content
PATCH
Update an agent

Authorizations

Authorization
string
header
required

Enter your API key (Bearer token)

Headers

If-Match
string

The revision from your last read or write. If the object changed since, you get 409 stale_revision with the current object.

Path Parameters

id
string
required

Agent id (UUID).

Body

application/json
config
object

Goes to the live version's draft. Callers hear it after publish.

description
string | null

A short note for people. null clears it.

Maximum string length: 2000
name
string
Required string length: 1 - 255

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[]