---
title: "Enroll"
method: POST
path: "/api/voice-clones/enroll"
tags: ["voice-clones", "voice-clones"]
---

# Enroll

`POST /api/voice-clones/enroll`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/voice-clones/enroll`
- Auth: none declared

Enroll a voice clone. See module docstring for the request-flow order.

Multipart fields:
  audio              (file, WAV only in v1, ≤ 20 MB)
  provider           ('alibaba' | 'cartesia')
  label              1–80 chars, free text
  consent_accepted   "true" — defense-in-depth; UI checkbox already gates
  language_hint      'en'|'ru'|'zh'|… (optional, passed to vendor)

Required header:
  Idempotency-Key    UUIDv4 per attempt-batch; replay returns the
                     original row with no vendor call.

## Headers

- `Idempotency-Key` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
