post https://api-smartflo.tatateleservices.com/v1/dialer/agent_script
This API allows you to add an agent script to the list
Sample Request
curl --request POST \
--url https://api-smartflo.tatateleservices.com/v1/dialer/agent_script \
--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)
The following parameter is required to add an agent script:
Variable Name | Description | Data Type |
---|---|---|
name* | Name of the agent script. | string |
list_id* | List Id where agent script has to be applied | string |
description | Description of agent script | string |
message* | Message for agent | string |
Response Variables
The response returned is as following:
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 |