Count Voices
FreshGETGET https://api.creatify.ai/api/voices/count/Get the total count of available voices.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Example Request
bash
curl -X GET 'https://api.creatify.ai/api/voices/count/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"count": 150
}Response Fields
| Field | Type | Description |
|---|---|---|
count | integer | Total number of available voices (including built-in and cloned) |
Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
500 | Internal server error |
TIP
Use this endpoint to check how many voices are available before deciding on pagination parameters for the paginated list endpoint.