---
title: "Update Dialogflow agent"
method: PUT
path: "/api/fabric/resources/dialogflow_agents/{id}"
tags: ["AI Agents: Dialogflow"]
---

# Update Dialogflow agent

`PUT /api/fabric/resources/dialogflow_agents/{id}`

Updates a Dialogflow Agent by ID

#### Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or _Video_.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Path parameters

- `id` string, uuid, required — Universal Unique Identifier.

## Request body

- DialogflowAgentUpdateRequest
  - `name` string — Name of the Dialogflow Agent
  - `say_enabled` boolean — Whether to enable the 'say' feature
  - `say` string — Default message to say
  - `voice` string — Voice to use for speech

## Response `200`

The request has succeeded.

- DialogflowAgentResponse
  - `id` string, uuid, required — Universal Unique Identifier.
  - `project_id` string, uuid, required — Universal Unique Identifier.
  - `display_name` string, required — Display name of the Dialogflow Agent Fabric Resource
  - `type` 'dialogflow_agent', required — Type of the Fabric Resource
  - `created_at` string, date-time, required — Date and time when the resource was created.
  - `updated_at` string, date-time, required — Date and time when the resource was updated.
  - `dialogflow_agent` DialogflowAgent, required
    - `id` string, uuid, required — Universal Unique Identifier.
    - `say_enabled` boolean — Whether to enable the 'say' feature
    - `say` string — Default message to say
    - `voice` string — Voice to use for speech
    - `display_name` string — Display name of the Dialogflow Agent
    - `dialogflow_reference_id` string, uuid — Universal Unique Identifier.
    - `dialogflow_reference_name` string — Dialogflow reference name

## Other responses

- `401` — Access is unauthorized.
- `404` — The server cannot find the requested resource.
- `422` — The request contains invalid parameters. See errors for details.
- `500` — An internal server error occurred.

---

[API](https://skmtc.net/signalwire/apis/signalwire-rest-api.md) · [All operations](https://skmtc.net/signalwire/apis/signalwire-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signalwire/signalwire-rest-api/versions/05c5164b85c7/schema)
