Get all voices
This endpoint retrieves voices.
HTTP Request
GET https://app.resemble.ai/api/v2/voices?page=<page>&page_size=<page_size>
Query Parameters | Type | Description |
---|---|---|
page | number starting from 1 | The page to fetch |
page_size | number between 10-1000 (inclusive) | Determines the number of items per page |
HTTP Response
{
"success": true,
"page": <number>,
"num_pages": <number>,
"page_size": <number,
"items": Array<{
"uuid": <string>,
"name": <string>,
"status": <string>,
"default_language": <string>,
"supported_languages": <string[]>,
"created_at": <UTC Date>,
"updated_at": <UTC Date>,
}>
}
Examples
NodeJS
1
2
3
4
5
6
7
8
9
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
const page = 1
const pageSize = 10
const response = await Resemble.v2.voices.all(page, pageSize)
const voices = response.items
Try it out
API Key:
Page:
Page Size: