---
title: "Add an agent script"
method: POST
path: "/v1/dialer/agent_script"
---

# Add an agent script

`POST /v1/dialer/agent_script`

This API allows you to add an agent script to the list

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string, required — Name of the agent script
  - `list_id` string, required — List Id where agent script has to be applied
  - `description` string — Description of agent script
  - `message` string, required — Message for agent

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/tatatelebusiness/apis/smartflo-base-api-config.md) · [All operations](https://skmtc.net/tatatelebusiness/apis/smartflo-base-api-config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tatatelebusiness/smartflo-base-api-config/revisions/6d23fb7bf7e1/schema)
