post https://api-smartflo.tatateleservices.com/v1/sms_template
This API allows you to create a new SMS template.
Sample Request
This API allows you to create a new SMS template.
curl --request POST \
--url https://api-smartflo.tatateleservices.com/v1/sms_template \
--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 |
---|---|---|
name | Name of the SMS Template | string |
sms_type | Type of SMS Template. 0: Agent SMS missed call, 1: Caller SMS Missed Call, 2: Department SMS Missed Call, 3: Agent SMS Received Call, 4: Caller SMS Received Call, 5: Answered On IVR SMS, 6: Answered On Auto Attendant SMS, 7: IVR Option SMS | integer |
sms_text_type | Type of text for SMS Template Message, 0: Normal Text, 1: Unicode text for other Languages | integer |
status | Status of the SMS Template, 0: Disabled, 1: Enabled | integer |
message | Message corresponding to SMS Template | string |
cc_numbers | Numbers that are kept in cc when SMS is sent | array of integer |
Email ID to be associated with SMS Template | string |
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 |