User
Offers
Surveys
Magic-Receipts
Get user history
Changed onGet User History returns a sorted list of events where the first element is the most recent. It contains up to four different types of events: OPEN, LEAVE, SCREENOUT, COMPLETE.
Events in this response are unique per survey so if a survey was completed, only the complete event is returned and not the corresponding opening. Only non open events contain a duration property. Only screenout and complete events contain a user value property.
get/v1/client/user/history
Request
- Base URLhttps://api.bitlabs.ai
- URLhttps://api.bitlabs.ai/v1/client/user/history
- 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
Query parameters
filterstring[]
optionally filter by type
Response
OK
Example response
{
"data": [
{
"user_value": "1.23",
"support_form_url": "support.bitlabs.link/bitburst/survey/contact?user_id={encodedUserId}&tx_id={encodedTxId}"
}
]
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - info
added the optional property
//////to the response with the status - info
removed from the
/response propertyoneOflist for the response status
- breaking