---
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 the agent script.
  - `message` string, required — Message for agent.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/acefone/apis/servetel-base-api-config.md) · [All operations](https://skmtc.net/acefone/apis/servetel-base-api-config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/acefone/servetel-base-api-config/versions/ca83a6f08f7f/schema)
