Skip to main content
curl -X PATCH https://api.thinnest.ai/campaigns/{campaign_id} \
  -H "Authorization: Bearer $THINNESTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Updated Campaign Name",
  "message_template": "Updated message template.",
  "max_concurrent": 10
}'

Path Parameters

campaign_id
string
required
Campaign ID

Request Body

All fields are optional. Only provided fields are updated.
name
string
Campaign display name
message_template
string
Message template
contacts
array
Replace contact list
schedule
string
Reschedule launch time (ISO 8601)
max_concurrent
integer
Maximum concurrent calls/messages
Note: Updates are only allowed while the campaign status is draft. Launched campaigns cannot be modified — pause and create a new one instead.

Response 200

Returns the updated campaign object.

Errors

CodeDescription
401Missing or invalid authentication
403Campaign already launched (cannot modify)
404Campaign not found