Delete a cloned voice
/v1/custom-voices/{voice_id}Delete a cloned voice using its voice ID. Pass the ID as voice_id in the URL, for example DELETE /v1/custom-voices/AM:@narrator. A successful request returns 204 No Content with no response body. Deletion cannot be undone and may take about a minute to finish.
Authorization
BearerAuth Tenant key supplied as the Authorization Bearer token.
In: header
Path Parameters
Your voice ID, for example AM:@narrator. Copy the complete id value from the create response, or voices[].voice.id from the list.
1 <= length <= 120Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
// Replace AM:@narrator with the `id` returned by create.const response = await fetch("https://api.allmodels.io/v1/custom-voices/AM:@narrator", { method: "DELETE", headers: { Authorization: `Bearer ${process.env.ALLMODELS_API_KEY}` }});if (!response.ok) throw new Error(`AllModels request failed: ${response.status}`);# Replace AM:@narrator with the `id` returned by create.import osimport requestsresponse = requests.delete( "https://api.allmodels.io/v1/custom-voices/AM:@narrator", headers={"Authorization": f"Bearer {os.environ['ALLMODELS_API_KEY']}"}, timeout=30,)response.raise_for_status()# Replace AM:@narrator with the `id` returned by create.curl -X DELETE https://api.allmodels.io/v1/custom-voices/AM:@narrator \ -H "Authorization: Bearer $ALLMODELS_API_KEY"{ "error": "invalid_api_key"}{ "error": "tenant_disabled"}{ "error": "not_found"}{ "error": "stale_transition"}{ "error": "custom_voices_failed", "message": "The request could not be completed. Try again; if you were creating or deleting a voice, check its status first."}{ "error": "upstream_error"}{ "error": "custom_voices_unavailable"}Get one cloned voice GET
Retrieve a cloned voice using its voice ID. Pass the ID as `voice_id` in the URL, for example `GET /v1/custom-voices/AM:@narrator`. Use this endpoint to check its status and see which speech models support it.
Email a sign-in code POST
Start email-based account access for an agent. Provide the email address whose owner will approve access. AllModels sends that address a six-digit code. Ask the owner for the code, then call `POST /account/agent-signup/verify` with the same email address. No API key is required for this request, and the flow works for both new and existing AllModels accounts.
