Skip to main content
POST
cURL
Restores the version’s configuration onto the agent and makes it the live version. Every new call uses it, unless the call pins another version with agent_version_id. The response’s current_version_id is the version you passed. The version that was live stays in List agent versions, so you can roll back by calling this endpoint with its id. Inbound phone numbers stay connected to the agent: making a version live doesn’t change which numbers route to it.

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string<uuid>
required

The agent's id

agent_version_id
string<uuid>
required

The version's id, from List agent versions

Response

Version is now live