Documentation
advertisements

List Campaigns

get
/v1/advertisements/
List active advertisement campaigns for a benefit.
Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.
curl -X GET \
    https://api.polar.sh/v1/advertisements/?benefit_id=00000000-0000-0000-0000-000000000000 \
    -H "Accept: application/json" \
    
Responses
{
  "items": [
    {
      "created_at": "2024-09-16T00:00:00.000Z",
      "modified_at": "2024-09-16T00:00:00.000Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "image_url": "string",
      "image_url_dark": "string",
      "text": "string",
      "link_url": "string"
    }
  ],
  "pagination": {
    "total_count": 0,
    "max_page": 0
  },
  "dimensions": [
    0
  ]
}