Get user history offer details
Get User History Offer Details returns the details of a specific offer that the user has interacted with.
Path parameters
-
offerId
string Required
GET
/v1/client/user/history/offers/{offerId}
curl \
--request GET 'https://api.bitlabs.ai/v1/client/user/history/offers/{offerId}' \
--header "X-Api-Token: $API_KEY" \
--header "X-User-Id: $API_KEY"
Response examples (200)
{
"data": {
"offer_id": "string",
"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",
"things_to_know": [
"string"
],
"started_at": "2022-01-01T00:00:00Z",
"disclaimer": "string",
"events": [
{
"uuid": "0dc43f54-135a-46a4-a51c-a2c5f3cfdac0",
"name": "Completed",
"approved_conversions": 42,
"approved_cpa": "string",
"pending_conversions": 42,
"pending_cpa": "string",
"status": "viewed",
"type": "flat",
"payable": true,
"timestamp": "2022-01-01T00:00:00Z",
"pending_reason": "string",
"display_type": "none",
"promised_points": "string",
"promised_commission_amount": "string",
"time_played": {
"id": 42,
"goal_unit": "string",
"goal_unit_count": 42
},
"offer_expires_at": "2021-12-31T23:59:59Z",
"minutes_left": 42.0,
"type_id": 42,
"promotional_points": "150.29"
}
],
"hours_left": 42,
"is_game": true,
"product_id": "string",
"product_name": "string",
"categories": [
"Free",
"Android"
],
"confirmation_time": "string",
"latest_date": "2022-01-01T00:00:00Z",
"continue_url": "string",
"points": "130.12",
"completed_events": 42,
"completed": true,
"has_pending_conversions": true,
"total_points": "string",
"total_promotional_points": "string",
"total_approved_points": "string",
"total_pending_points": "string",
"total_cancelled_points": "string",
"total_events": 42,
"total_approved_events": 42,
"total_pending_events": 42,
"total_cancelled_events": 42,
"tx_id": "string",
"next_event": "string",
"next_payable_event": "string"
}
}
Response examples (406)
{
"error": {
"details": {
"msg": "vpn detected",
"http": "406 Not Acceptable"
}
}
}