Update a campaign

PUT {{baseUrl}}/v4/campaigns/00000000-0000-0000-0000-000000000000

List of all the campaigns that the caller has access to. The campaigns are sorted by updatedAt date, in descending order

Campaigns can be filtered by their status using the status query paramter

Request Body

{"includeActiveConversations"=>false, "locations"=>["00000000-0000-0000-0000-000000000000"], "recentlySentSubscriberOverride"=>false, "name"=>"Made from API - updated", "status"=>"ACTIVE"}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":{"createdAt":"2022-07-11T20:09:02Z","endedAt":null,"locations":[{"uid":"00000000-0000-0000-0000-000000000000"}],"message":null,"name":"Made from API - updated","organization":{"uid":"00000000-0000-0000-0000-000000000000"},"startedAt":"2022-07-11T20:09:02Z","status":"ACTIVE","uid":"00000000-0000-0000-0000-000000000000","updatedAt":"2022-07-11T20:09:02Z"},"metadata":{"url":"/v4/campaigns/00000000-0000-0000-0000-000000000000"}}