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 |