---
title: "Update Speaker Enrollment"
method: PATCH
path: "/ai/audio/v1/enrollments/{speakerId}"
tags: ["Audio"]
---

# Update Speaker Enrollment

`PATCH /ai/audio/v1/enrollments/{speakerId}`

Add newer audio data to improve an existing speaker enrollment

## Path parameters

- `speakerId` string, required

## Request body

- EnrollmentPatchInput
  - `encoding` 'Mpeg' | 'Mp4' | 'Wav' | 'Webm' | 'Webp' | 'Aac' | 'Avi' | 'Ogg', required — The encoding of the original audio
  - `languageCode` string — Language spoken in the audio file.
  - `content` string, required — Base64-encoded audio file data.

## Response `201`

Enrollments Request Created

- EnrollmentStatus
  - `enrollmentQuality` 'Poor' | 'Average' | 'Good' | 'High' — Quality of the enrollment.
  - `enrollmentComplete` boolean, required — Status of the enrollment.
  - `speakerId` string, required
  - `totalEnrollDuration` number, float — Total speech duration of the enrollment in seconds.
  - `totalSpeechDuration` number, float, required — Total duration of the enrollment in seconds.

## Other responses

- `400` — Bad Request
- `404` — The {speakerId} doesn't exist

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/revisions/8d602198ec97/schema)
