Update a call script
Partial update — omitted fields stay untouched; updated_at is always bumped. is_archived: false restores an archived script, making this the inverse of the DELETE call.
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).
Path Parameters
Script ID (BIGINT serialized as string in responses; send the numeric value).
^[1-9][0-9]*$Body
Body of the patch-script call. Every field is optional; omitted fields stay untouched.
Response
The updated 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"