Campaign Filters

GET /:account/campaign_filters

Provides a list of all CampaignFilters belonging to an Account.

Examples

Get Campaign Filter Collection

Request

GET /my_account/campaign_filters
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /my_account/campaign_filters
    

Response

Status

200

Response Type

hydra:Collection

Example Body

{
  "@type": "hydra:Collection",
  "id": "/my_account/campaign_filters",
  "@context": "/contexts/hydra:Collection.jsonld",
  "totalItems": 3,
  "members": [
    {
      "@type": "CampaignFilter",
      "@context": "/contexts/CampaignFilter.jsonld",
      "id": "/my_account/campaign_filters/mine",
      "slug": "mine",
      "title": "My Campaigns",
      "campaigns": "/my_account/campaign_filters/mine/campaigns",
      "export": "/my_account/campaign_filters/mine/export"
    }
  ]
}

Table of contents


© 2024 TextUs