WAGHL Voice Solution
Send Voice notes from workflow automation using TTS
Now you can use the WAGHL TTS (Text To Speach) voice solution to send voice notes on WhatsApp to your customers from Workflow Automation.
How to add a custom menu link to access the GUI interface inside GHL
Inside GHL switch to Agency View- Settings-Custom Menu Link
Create a link with the below URL
https://tts.apimerger.com/i-tts?app={{location.id}}
Note: If you are using Premium Webhook to send the voice notes then you can ignore the below configuration, it applies only if you are planning to use the custom Webhook feature to send the voice notes
Identifying Webhook URL for sending Voice Notes Webhook URLs may be different based on the WhatsApp Gateway you are using. To identify the correct webhook URL for your GHL sub-accounts, switch to the subaccount and go to Settings- Phone Numbers - Advanced Settings Option 1. If you are using WhatsApp Gateway then you need to use the below URL https://trigger.apimerger.com/tts
Option 2. If you are using WhatsApp Gateway 1 then you need to use the below URL https://trigger1.apimerger.com/tts Option 3. If you are using WA 1 Connector then you need to use the below URL
Under custom data define
message: Your message here which you want to convert from text to speech
speaker: Select from any one of the voice models
(male
,female
)
speaker_voice: Select between 1-16
(1
, 2
, 3
, 4
, 5
, 6
,7
,8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
)
lang: Select from any one of the below languages
Language | Code |
---|---|
English | en |
Hindi | hi |
Arabic | ar |
French | fr |
German | de |
Spanish | es |
Portuguese | pt |
Polish | pl |
Italian | it |
Turkish | tr |
Russian | ru |
Dutch | nl |
Czech | cs |
Chinese | zh-cn |
Japanese | ja |
Korean | ko |
Hungarian | hu |
Rate Limits
Rate limits are restrictions that our API imposes on the number of times a user or client can access our services within a specified period of time.
Rate Limit Details
Requests per Minute (RPM): 1 request per minute
Characters per Request (CPR): 1200 characters per request
Requests per Day: 100 requests per day
Note: If you have any specific needs to increase the rate limits then contact us on our WhatsApp number
Why Do We Have Rate Limits?
Rate limits are a common practice for APIs, and they're put in place for a few different reasons:
Protect Against Abuse or Misuse: Rate limits help protect against abuse or misuse of the API. For example, a malicious actor could flood the API with requests in an attempt to overload it or cause disruptions in service. By setting rate limits, Voice Solutions by WAGHL can prevent this kind of activity.
Ensure Fair Access: Rate limits help ensure that everyone has fair access to the API. If one person or organization makes an excessive number of requests, it could bog down the API for everyone else. By throttling the number of requests that a single user can make, Voice Solutions by WAGHL ensures that the most number of people have an opportunity to use the API without experiencing slowdowns.
Manage Infrastructure Load: Rate limits can help Voice Solutions by WAGHL manage the aggregate load on its infrastructure. If requests to the API increase dramatically, it could tax the servers and cause performance issues. By setting rate limits, Voice Solutions by WAGHL can help maintain a smooth and consistent experience for all users.
Last updated