Speechbase

List voices

Returns a cursor-paginated page of voices for the authenticated organization, ordered by creation date (newest first). Pass `next_cursor` from one response back as `cursor` on the next call until `has_more` is `false`.

GET
/v1/voices

Returns a cursor-paginated page of voices for the authenticated organization, ordered by creation date (newest first). Pass next_cursor from one response back as cursor on the next call until has_more is false.

Authorization

bearerAuth
AuthorizationBearer <token>

API key

In: header

Query Parameters

limit?integer

Maximum number of items to return. Defaults to 50, max 200.

Range1 <= value <= 200
cursor?string

Opaque pagination cursor. Pass back the next_cursor value from a previous response.

Length1 <= length

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/voices" \  -H "Authorization: Bearer $SPEECHBASE_API_KEY"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "org_id": "string",
      "title": "string",
      "provider": "string",
      "model": "string",
      "voice_id": "string",
      "tags": [
        "string"
      ],
      "gender": "string",
      "description": "string",
      "provider_options": {
        "property1": null,
        "property2": null
      },
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "next_cursor": "string",
  "has_more": true,
  "limit": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string"
}