Returns the list of visible campaigns with some general information.

Supported Formats

json

Errors

Code Description
400 Various errors: the specific error is provided in the message field of the response
401 Token is invalid
401 You must authenticate to perform this request.
404 The requested resource was not found.

Examples

GET '/api/v2/campaigns':
 [
   {
     "id":271,"name":"Campaign test 2",
     "created_at":"April 28, 2014 15:37",
     "status":"Pending",
     "targeted_asset_count":9,
     "asset_group_count":1,
     "warnings":"2 incompatible assets"
   },
   {
     "id":270,
     "name":"Campaign test 1",
     "created_at":"April 25, 2014 13:28",
     "status":"Sent",
     "targeted_asset_count":1,
     "asset_group_count":1
   }
 ] 

Params

Param name Description
_token
required

Validations:

  • Must be a String

archived
optional

Include archived campaigns

Validations:

  • Must be one of: true, false.