POST
Add Profile Sample
Add a sample to a voice profile. POST /api/voice/profiles/{profile_id}/samples All requests authenticate with your PeachDesk API key in the X-API-Key header (an interactive session token in Authorization: Bearer also works тАФ see Authentication). Use the playground to send a live request and inspect the response.

Authorizations

X-API-Key
string
header
required

Organization API key (bibha_...). Takes precedence over the session credential, and is refused outright on user-session-only and super-admin routes.

Path Parameters

profile_id
string
required

Body

multipart/form-data
file
file
required
reference_text
string
required

Response

Successful Response

Response model for profile sample.

id
string
required
profile_id
string
required
audio_path
string
required
reference_text
string
required