List all campaigns.

GET {{baseUrl}}/v4/campaigns

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

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","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"},{"createdAt":"2022-02-11T17:44:30Z","endedAt":null,"locations":[{"uid":"00000000-0000-0000-0000-000000000000"},{"uid":"10000000-0000-0000-0000-000000000000"},{"uid":"20000000-0000-0000-0000-000000000000"},{"uid":"30000000-0000-0000-0000-000000000000"}],"message":"Hey :contact:, guess what? Weโ€™re textable now! ๐Ÿ“ฒ ๐ŸŽ‰ Save our contact info, and text this number whenever you need to reach us. Thanks for supporting :location:!","name":"Textable","organization":{"uid":"00000000-0000-0000-0000-000000000000"},"startedAt":"2022-02-11T17:44:30Z","status":"ACTIVE","uid":"00000000-0000-0000-0000-000000000000","updatedAt":"2022-02-11T17:44:30Z"}],"metadata":{"url":"/v4/campaigns"}}