curl --request GET \
--url https://api.tryhamsa.com/v2/tts/histories{
"success": true,
"message": "Operation completed successfully",
"messageKey": "OPERATION_SUCCESSFUL",
"data": {
"ttsHistories": [
{
"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"
}
}
}
],
"totalPages": 5,
"page": 1,
"totalCount": 50
}
}List TTS history entries with pagination.
curl --request GET \
--url https://api.tryhamsa.com/v2/tts/histories{
"success": true,
"message": "Operation completed successfully",
"messageKey": "OPERATION_SUCCESSFUL",
"data": {
"ttsHistories": [
{
"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"
}
}
}
],
"totalPages": 5,
"page": 1,
"totalCount": 50
}
}Current page number.
1
Number of items per page.
10
Project identifier.
"ae6d58c6-c6bd-4ae0-ad74-b8b39c29928b"
Was this page helpful?