get https://api.taplytics.com/v2/users
Parameters
-
paginationToken (optional, string,
"548223f2c7036020742ff21c"
) ... The page token used for pagination. If omitted, the endpoint returns the first page of users. A request will respond with the pagination token for the next page of users. -
per_page (optional, integer,
100
) ... An optional parameter to define the number of results you would like returned.
Response
200 - List of user objects
List all Users by Token
URL
https://api.taplytics.com/v2/usersByToken{?api_token}{?per_page}{?paginationToken}
Headers
application/json; charset=utf-8
Response Body
{
"nextPaginationToken": "548223f2c7036020742ff21c",
"numEntities": 1,
"users": [
{
"id": "548223f2c7036020742ff21c",
"created_at": "2015-01-06T03:51:57+00:00",
"user_id": "42",
"email": "[email protected]",
"first_name": "Jonathan",
"last_name": "Norris",
"name": "Jonathan Taylor Thomas Norris",
"metadata": {
"occupation": "Bug Fixer",
"favourite_color": "Chartreuse",
"favourite movie": "You Don't Mess With The Zohan"
},
"last_seen_ip": "123.123.123.123",
"location": {
"city_name": "San Francisco",
"continent_code": "NA",
"country_code": "USA",
"country_name": "United States",
"latitude": 37.7749300,
"longitude": -122.4194200,
"postal_code": null,
"region_name": "San Francisco",
"timezone": "Europe/San Francisco"
},
"experiments": [
{
"experiment_id": "548223f2c7036020742aa21c",
"variation": "548223f2c7036020742ff21a"
}
],
"devices": [
{}
],
"session_count": 16
}
]
}