Documentation
advertisements

List Campaigns

get
/v1/advertisements/
List active advertisement campaigns for a benefit.
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-11-10T00:00:00.000Z",
      "modified_at": "2024-11-10T00: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
  ]
}