Create Identity

HTTP Requestarrow-up-right

POST https://app.0xIQ.ai/api/v2/identity

Parameter
Type
Description

name

Required

A name or identifier for the voice identity. This should be a unique string to identify the voice profile.

url

Required

The URL of the audio file to create the identity from. Provide a valid HTTPS URL pointing to the audio file.

HTTP Responsearrow-up-right

{
    "success": true,
    "item": {
        "id": "<string>",
        "name": "<string>",
        "created_at": "2024-01-01T00:00:00.000Z",
        "updated_at": "2024-01-01T00:00:00.000Z"
    }
}

Response Fieldsarrow-up-right

Field
Type
Description

success

boolean

Indicates whether the operation was successful

item

object

Contains details about the created identity

id

string

Unique identifier for the created identity

name

string

The name provided for the identity

created_at

string

Timestamp of when the identity was created

updated_at

string

Timestamp of when the identity was last updated

Replace YOUR_API_KEY with your actual Resemble AI API key.

Error Handlingarrow-up-right

If the request is unsuccessful, you will receive an error response. For example:

Ensure that you provide a valid name and URL, and that the audio file is in a supported format (WAV is recommended).

Last updated