post https://api-smartflo.tatateleservices.com/v1/recording
This API allows you to create new system recording.
Sample Request
This API allows you to create new system recording.
curl --request POST \
--url https://api-smartflo.tatateleservices.com/v1/recording \
--header 'accept: application/json' \
--header 'content-type: application/json'
📘Important
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Body Params)
Variable Name | Description | Data Type |
---|---|---|
audio_name | Name of system recording | String |
type | Type of system recording | String |
data | Data of system recording eg:text to speech or url | String |
speech | Speech of system recording | String |
voice | Voice of system recording | String |
moh_status | Flag to enable/disable music on hold in system recording | Integer |
Response Variables
After the execution of the API, you will get the following response:
Variable Name | Description | Data Type |
---|---|---|
success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |
🗣️ Speech Language Options
- English, India 1 →
en-IN
- English, India 2 →
en-IN-G
- Hindi, India →
hi-IN
- Tamil, India →
ta-IN
- Telugu, India →
te-IN
- Bengali, India →
bn-IN
- Gujarati, India →
gu-IN
- Kannada, India →
kn-IN
- Malayalam, India →
ml-IN
- English, Australia →
en-AU
- English, UK →
en-GB
- English, US →
en-US
- English, Wales →
en-GB-WLS
- Marathi, India →
mr-IN
🎙️ Voice Sample Options
- Voice Sample 1, Female →
vs-1f
- Voice Sample 2, Female (Hindi Supported) →
vs-2f-hs
- Voice Sample 2, Female →
vs-2f
- Voice Sample 3, Female →
vs-3f
- Voice Sample 4, Female →
vs-4f
- Voice Sample 5, Female →
vs-5f
- Voice Sample 6, Female →
vs-6f
- Voice Sample 7, Female →
vs-7f
- Voice Sample 8, Female →
vs-8f
- Voice Sample 1, Male →
vs-1m
- Voice Sample 2, Male →
vs-2m
- Voice Sample 3, Male →
vs-3m
- Voice Sample 4, Male →
vs-4m
- Voice Sample 5, Male →
vs-5m
- Voice Sample 6, Male →
vs-6m
- Voice Sample 7, Male →
vs-7m
- Voice Sample 8, Male →
vs-8m