Update Dialogflow Agent
PUT/resources/dialogflow_agents/:id
Updates a Dialogflow Agent by ID.
Request
Path Parameters
id uuidrequired
The ID of the Dialogflow Agent
- application/json
Body
required
namestring
Example:
Booking Assistant
say_enabledboolean
Example:
true
saystring
Example:
Welcome to the Booking Assistant
voicestring
Example:
en-US-Wavenet-D
Responses
- 200
- 422
A Dialogflow Agent
- application/json
- Schema
- Example (from schema)
Schema
iduuid
Example:
993ed018-9e79-4e50-b97b-984bd5534095
project_iduuid
Example:
1313fe58-5e14-4c11-bbe7-6fdfa11fe780
display_namestring
Example:
Reception
typestring
Example:
dialogflow_agent
created_atdate-time
Example:
2024-01-02T00:00:00Z
updated_atdate-time
Example:
2024-01-02T00:00:00Z
dialogflow_agent
object
iduuid
A unique identifier for the Dialogflow Agent
say_enabledboolean
Example:
true
saystring
Example:
Welcome to the Booking Assistant
voicestring
Example:
en-US-Wavenet-D
display_namestring
Example:
Booking Assistant
dialogflow_reference_iduuid
Example:
12345678-1234-1234-1234-1234567890ab
dialogflow_reference_namestring
Example:
my dialogflow agent
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"display_name": "Reception",
"type": "dialogflow_agent",
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"dialogflow_agent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"say_enabled": true,
"say": "Welcome to the Booking Assistant",
"voice": "en-US-Wavenet-D",
"display_name": "Booking Assistant",
"dialogflow_reference_id": "12345678-1234-1234-1234-1234567890ab",
"dialogflow_reference_name": "my dialogflow agent"
}
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
typestringrequired
codestringrequired
messagestringrequired
attributestring
urlurirequired
{
"type": "validation_error",
"code": "invalid_parameter",
"message": "Name must be present",
"attribute": "name",
"url": "https://developer.signalwire.com/rest/signalwire-rest/overview/error-codes#invalid_parameter"
}