Create a call script
Creates a call script agents read while dialing. The body supports {{merge}} fields resolved by the agent’s phone at call time. Attach the script to a campaign via the campaign’s call_script_id.
Authorizations
HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).
Body
Response
The created script.
A call script agents read while dialing. Ids are BIGINTs serialized as strings.
Script ID.
"17"
Display name.
255"Summer promo pitch"
Script content; supports {{merge}} fields resolved by the agent's phone at call time.
"Hi {{first_name}}, this is {{agent_name}} from CloudTalk…"
Whether the script is archived (soft-deleted).
false
When the script was created (ISO 8601, UTC).
"2026-07-01T09:00:00.000Z"
When the script last changed (ISO 8601, UTC).
"2026-08-04T11:40:00.000Z"