---
title: "Update an Auto Attendant"
method: PUT
path: "/v1/auto_attendant/{id}"
---

# Update an Auto Attendant

`PUT /v1/auto_attendant/{id}`

## Request

- Base URL: `https://api-smartflo.tatateleservices.com`
- URL: `https://api-smartflo.tatateleservices.com/v1/auto_attendant/{id}`
- Auth: none required
- TypeScript: <https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/docs/v1/auto_attendant/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

This API allows you to update an existing Auto Attendant.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string, required: Name of auto attendant
  - `description` string, required: Description of auto attendant
  - `recording_type` 'recording' | 'outbound_tts', required: Type of recording
  - `destination_type` 'agent' | 'department' | 'ivr' | 'voicemail' | 'time_condition' | 'custom_dialplan' | 'dynamicdp' | 'hangup', required: Type of destination. Note: in case of hangup destination_id will always be 1.
  - `recording_id` string, required: Recording ID
  - `destination_id` string, required: Destination ID. In case of hangup, use 1.

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config.md) - [All operations](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/llms.txt) - [OpenAPI document](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/revisions/f41acb27d695?raw)
