Participants Data
Description
Get all participating users and data collected during the game.
Request
CODE
https://api.picogp.com/v1/activation/<ACTIVATION_ID>/data?limit=50&order_by=first_name&order_dir=asc&offset=1
Method: GET
Headers: Auth
Parameters:
ACTIVATION_ID: The ID of the activation
limit: the number of records to return (min: 1 | max 500 | default 20).
offset: pagination parameter 0 to n.
order_dir: ASC | DESC 0 - Default: ASC
order_by: sort the data by. (Optional values: first_name, last_name, gender, date_added, locale)
Response
JSON
{
"data": {
"users": [
{
"id": "7a74f5fa45f85afa47b8f195b4d0500f4d54831e5433fbb0f1f15bd4b84d03e9",
"name": "John Stockton",
"first_name": "John",
"last_name": "Stockton",
"username": "",
"campaigns": [],
"content": [],
"user_type": "pm",
"locale": "en-US",
"gender": "",
"date_added": 1637183201000,
"timezone": "-2",
"is_unsubscribed": false,
"labels": [
{
"id": "736",
"name": "Social ID",
"value": "7a74f5fa45f85afa47b8f195b4d0500f4d54831e5433fbb0f1f15bd4b84d03e9",
"additional_labels": []
},
{
"id": "637",
"name": "First Name",
"value": "John",
"additional_labels": []
}
],
"medium": "pm-app",
"last_engagement_date": 1637183272000,
"last_modified_date": 1637183201000,
"user_hash_id": "7a74f5fa45f85afa47b8f195b4d0500f4d54831e5433fbb0f1f15bd4b84d03e9",
"profile_picture_extension": ""
},
{
"id": "b28685637072c074f2b4a04aaef1eee3cfd0d2d90b53be389154e53e1451d7ab",
"name": "Larry Bird",
"first_name": "Larry",
"last_name": "Bird",
"username": "",
"campaigns": [],
"content": [],
"user_type": "pm",
"locale": "en-US",
"gender": "",
"date_added": 1637181464000,
"timezone": "-2",
"is_unsubscribed": false,
"labels": [
{
"id": "736",
"name": "Social ID",
"value": "b28685637072c074f2b4a04aaef1eee3cfd0d2d90b53be389154e53e1451d7ab",
"additional_labels": []
}
],
"medium": "pm-app",
"last_engagement_date": 1637181531000,
"last_modified_date": 1637181464000,
"user_hash_id": "b28685637072c074f2b4a04aaef1eee3cfd0d2d90b53be389154e53e1451d7ab",
"profile_picture_extension": ""
}
],
"count": 2,
"total": 18258,
"count_exclude_users": 0
}
}