GET
/
v1
/
deals
/
coupons
Get coupon offers
curl --request GET \
  --url https://api.onsleek.ai/v1/deals/coupons \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "ea0efd78-2c3c-4efd-9e92-1ab676ee304b",
      "code": "SAVE20",
      "startDate": "2024-01-01T00:00:00.000Z",
      "endDate": "2024-12-31T23:59:59.999Z",
      "description": "Use SAVE20 coupon code to get 20% off.",
      "retailerId": "4f9df53d-16dc-4630-8603-8d14ec40fcfe",
      "url": "https://www.bestbuy.com",
      "name": "BestBuy",
      "hostname": "www.bestbuy.com",
      "logo": "https://www.bestbuy.com/logo.png",
      "updatedAt": "2024-01-01T12:00:00.000Z"
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key for accessing the Sleek API.

Query Parameters

cursor
string

The ID of the next item that will be fetched. Format: UUID RFC 4122

hostname
string

The hostname of the retailer to search for.

Response

200 - application/json

List of coupon offers.

The response is of type object.