Skip to main content
PUT
Update an existing Template

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Unique identifier for the template

Body

application/json
template_name
string

Name of the template

Example:

"Default Calling Template"

template_system_prompt
string

System prompt text used by the template

Example:

"You are a helpful AI assistant."

config
object

Settings and configuration for the template

knowledge_base
object[] | null

List of knowledge bases attached to this agent.

record
boolean

Whether the call should be recorded

Example:

true

is_active
boolean

Whether the record should be active or not

Example:

true

Response

Template details updated successfully

id
string<uuid>

Unique identifier of the updated template

Example:

"d22e4b02-3a47-46f2-b0cd-5420f277eaf9"

message
string
Example:

"Template details updated successfully"