Skip to main content
PUT
/
campaigns-texting
/
toggle-standard-campaign-status
/
{id}
Toggle standard texting campaign status
curl --request PUT \
  --url https://api.cleartalk.ai/campaigns-texting/toggle-standard-campaign-status/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "removeScheduledFollowups": false
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
number
required

Body

application/json
removeScheduledFollowups
boolean
default:false

Whether to remove scheduled follow-ups when deactivating campaign. If false, follow-ups will be paused instead.

Response

200

Standard texting campaign status updated successfully