Skip to main content
POST
Publish 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.

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).

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