Skip to main content
GET
/
v2
/
tts
/
histories
/
{id}
Get TTS history
curl --request GET \
  --url https://api.tryhamsa.com/v2/tts/histories/{id}
{
  "success": true,
  "message": "Operation completed successfully",
  "messageKey": "OPERATION_SUCCESSFUL",
  "data": {
    "id": "c4f66d94-a1f5-4000-b9a3-dad55b206968",
    "audio": "https://cdn.tryhamsa.com/tts-histories/audio.wav",
    "downloadUrl": "https://cdn.tryhamsa.com/tts-histories/audio.wav?response-content-disposition=attachment",
    "script": "hello hello",
    "createdAt": "2025-12-31T08:19:52.129Z",
    "ttsVoice": {
      "name": "Huda",
      "dialect": {
        "languageCode": "oma",
        "language": "ar"
      }
    }
  }
}

Path Parameters

id
string<uuid>
required

History identifier.

Example:

"48f7656f-098b-4c43-b165-7cfd2cc8ac30"

Query Parameters

projectId
string
required

Project identifier.

Example:

"ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b"

Response

History retrieved successfully.

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

messageKey
string
Example:

"OPERATION_SUCCESSFUL"

data
object