Voice Registration
Create a person
Create person
POST
https://api.usetani.com/v1/person
Creates a new person.
Headers
Name
Type
Description
x-api-key*
string
Your API key
x-group-id*
string
Your group ID from the dashboard.
Request Body
Name
Type
Description
person_name*
string
The name of the person
client_id*
string
The unique ID of your user for reference.
{
"message":"Person created successfully",
"person_details": {
"person_id": "string",
"person_name": "string",
"client_id": "string",
}
}
Add a voice recording
Authorizations
Path parameters
person_idstringRequired
Body
audiostring · binaryRequired
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
POST /api/v0/persons/{person_id}/voice HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18
{
"audio": "binary"
}
No content
Last updated