Use the Hamsa connector to convert speech to text and text to speech with Arabic-focused voice AI.
Integrating your application with Hamsa lets you use these operations in an automation. It exposes 5 actions, listed below. Add the connector from the Connections area, authenticate, then select its operations in the automation builder. Capabilities: actions.
Authentication
Before you begin, make sure you have the following information:
Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings.
Authentication: The connection form asks for these fields:
Use Custom Endpoint: Leave this off to connect to the standard Hamsa API. Turn it on only if you connect to a custom Hamsa deployment.
Authorization Header (required when Use Custom Endpoint is off): the Authorization header value used for authentication, based on your Hamsa API key.
API Key and Base URL (required when Use Custom Endpoint is on): the API key for your custom deployment and the base URL for API requests. The default base URL is https://api.tryhamsa.com.
Trust All SSL Certificates: Turn this on to skip SSL certificate checks for self-signed or custom endpoints.
Obtaining Your API Key
Log in to your Hamsa account.
On the Dashboard, click Create API Key (or open the API keys tab and click Create API Key there).
In the popup, enter a name for the key and either set an expiry date or choose no expiry.
Click Create to generate the key.
Copy the API Key Identifier from the dashboard and store it securely for further authentication purposes. Some endpoints also require a Project ID, which you can copy from the project switcher in the top navigation bar of the dashboard.


Actions
Action Name | Description |
|---|---|
Get job details | Get the details of a transcription job in Hamsa using the job ID |
Speech to text | Converts speech to text in Hamsa |
Text to speech | Converts text to speech in Hamsa |
Text to speech Realtime | Converts text to speech in realtime in Hamsa |
Transcribe audio | Converts speech to text in Hamsa |