/v1/advertisements/
-
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" \
{
"items": [
{
"created_at": "2024-12-21T00:00:00.000Z",
"modified_at": "2024-12-21T00: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
]
}