For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
  • Voice Generation
    • Speech-to-Speech
  • Voice Creation
  • Voice Tools
  • Real-Time Agents
    • Overview
  • Safety & Detection
      • Overview
      • Create Identity
      • List Identities
      • Search Identities
Status
LogoLogo
On this page
  • Request Body
  • Example
  • Response
Safety & DetectionIdentity API

Create Identity

Was this page helpful?
Previous

List Identities

Next
Built with

POST https://app.resemble.ai/api/v2/identity

Create a new voice identity profile based on an audio sample.

Request Body

FieldTypeRequiredDescription
namestring✅Speaker name/identifier.
urlstring✅URL to audio sample of the speaker.

Example

$curl --request POST 'https://app.resemble.ai/api/v2/identity' \
> -H 'Authorization: Bearer YOUR_API_TOKEN' \
> -H 'Content-Type: application/json' \
> --data '{
> "name": "John Doe",
> "url": "https://example.com/audio/john_doe_sample.wav"
> }'

Response

1{
2 "success": true,
3 "item": {
4 "uuid": "IDENTITY_UUID",
5 "name": "John Doe",
6 "created_at": "2024-01-01T00:00:00.000Z"
7 }
8}