Offers

Get user history offer details

Changed on

Get User History Offer Details returns the details of a specific offer that the user has interacted with.

get/v1/client/user/history/offers/{offerId}

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/client/user/history/offers/{offerId}
  • Auth
    • API key in header X-Api-Token and API key in header X-User-Id
    • or API key in query parameter token and API key in query parameter uid
    • or HTTP bearer

Path parameters

offerIdstring required

Response

OK

Example response

{
  "data": {
    "anchor": "Playstation 5",
    "description": "Enter to win a Playstation 5!",
    "requirements": "Sign up with valid information and complete the full survey.",
    "icon_url": "https://main-p.agmcdn.com/offers/1564507470875.gif",
    "contact_url": "https://seek.gg/contact/nQ/testing-prodege/360819",
    "started_at": "2022-01-01T00:00:00Z",
    "events": [
      {
        "uuid": "0dc43f54-135a-46a4-a51c-a2c5f3cfdac0",
        "name": "Completed",
        "timestamp": "2022-01-01T00:00:00Z",
        "offer_expires_at": "2021-12-31T23:59:59Z",
        "promotional_points": "150.29"
      }
    ],
    "categories": [
      "Free",
      "Android"
    ],
    "latest_date": "2022-01-01T00:00:00Z",
    "points": "130.12"
  }
}

Changes