Gets the thumbnail information for the offer

HTTP method

Endpoint

GET

/v1/offers/{offer_id}/thumbnails

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Response body parameters

Field

Type

Description

id

integer

A string that uniquely identifies this thumbnail.

offer_id

integer

A string that uniquely identifies this offer.

url

string

The url of the thumbnail preview.

mime

string

content-type

size

integer

The size of the file in bytes.

width

integer

The width of the image.

height

integer

The height of the image.

filename

string

The name of the file that was uploaded, optionally passed in.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/offers/23/thumbnails

Request GET http://{networkname}.api.offerslook.com/v1/offers/23/thumbnails

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_thumbnail": {
          "id": 87,
          "offer_id": 23,
          "url": "https://files.offerslook.com/offerslook-bucket/partner_40/campaign/thumb_logo_d66f5ac4e2484a55ab55881167988321.png",
          "mime": "image/png",
          "size": 3901,
          "width": 160,
          "height": 160,
          "filename": "logo.png"
        }
      }
    }

Last updated