v1

latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KB

Get TTS voice

Retrieve a single TTS voice by ID.

get/v2/tts/voices/{id}

Path parameters

idstring uuid required
Example:48f7656f-098b-4c43-b165-7cfd2cc8ac30

Voice identifier.

Query parameters

projectIdstring
Example:ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b

Project identifier.

Response

Voice retrieved successfully.

successboolean
messagestring
messageKeystring

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "messageKey": "OPERATION_SUCCESSFUL",
  "data": {
    "id": "633f19a6-089b-4950-bfab-55f5c750732e",
    "language": "ar",
    "name": "Aisha",
    "tags": [
      "female",
      "conversational"
    ],
    "voiceRecord": "https://cdn.tryhamsa.com/tts-voices/Aisha.wav",
    "dialectId": "6ac0324d-bcb9-40f3-a57a-de6da7b721c8",
    "dialect": {
      "name": "Oman",
      "languageCode": "oma"
    },
    "image": "https://cdn.tryhamsa.com/tts-voices-images/aisha.jpg",
    "createdAt": "2025-12-18T11:21:36.182Z",
    "usedInJobs": true,
    "usedInVoiceAgents": true
  }
}