Workspaces
Retrieve analytics
Workspaces
Retrieve analytics
Retrieve analytics for the authenticated workspace.
GET
/
workspaces
/
{url}
/
analytics
/
stats
curl --request GET \
--url https://api.reqlick.com/workspaces/{url}/analytics/stats \
--header 'Authorization: Bearer <token>'
{
"success": true,
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "def50200b1c7c2f703...",
"lastWorkspaceViewed": "/my-workspace-url",
"userStatistics": {
"views": [
{
"_id": "1110580a82031111aaa03333",
"linkId": "1110580a82031111aaa02222",
"projectId": "1110580a82031111aaa1111",
"viewedAt": "2024-01-05T12:45:39.752Z",
"isBot": false,
"projectDetails": {
"_id": "1110580a82031111aaa03333",
"name": "Reqlick",
"url": "reqlick-url",
"createdAt": "2024-06-05T12:20:26.768Z",
"viewedAt": "2024-07-20T11:29:13.050Z",
"updatedAt": "2024-07-20T11:29:13.051Z",
"isArchived": false,
"subscriptionId": "1110580a82031111aaa03333",
"logo": "logo.png"
},
"memberDetails": {
"_id": "1110580a82031111aaa03333",
"userId": "1110580a82031111aaa03333",
"role": "MEMBER",
"expires": null,
"projectId": "1110580a82031111aaa03333",
"status": "ACCEPTED",
"createdAt": "2024-01-27T16:02:58.964Z",
"updatedAt": "2024-01-27T16:23:52.596Z",
"email": null
},
"link": {
"_id": "1110580a82031111aaa03333",
"url": "https://www.reqlick.com/watch?v=q-9EDv_quno&utm_source=social&utm_medium=social&utm_campaign=1st%20campaign&utm_term=digital&utm_content=marketing&ref=facebook",
"key": "Y203",
"expiresAt": "2024-01-05T12:46:00.000Z",
"password": "my-password",
"proxy": false,
"isFile": false,
"isQR": false,
"title": "Reqlick Title",
"description": "Reqlick Description",
"image": "/file/logo.png",
"createdAt": "2024-06-05T12:29:34.244Z",
"updatedAt": "2024-06-13T12:56:48.323Z",
"projectId": "6660580a43f1a356b97f64b9",
"isPublic": true,
"isActive": false,
"isArchived": false,
"isRecord": false,
"domain": "rqk.sh",
"ios": "https://reqlick.com/install/ios",
"android": "https://reqlick.com/install/android"
},
"viewData": {
"_id": "1110580a82031111aaa03333",
"viewId": "1110580a82031111aaa03333",
"h_userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
"h_referer": "https://rqk.sh/Y211",
"h_acceptLanguage": "fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7",
"h_sec_ch_ua_platform": "Windows",
"sessionId": "5fa8e79f-1111-586a-2222-0b50220b4094",
"b_screen": {},
"b_screen_width": 1920,
"b_screen_height": 1080,
"b_navigator": {},
"b_history": {},
"b_hostname": "rqk.sh",
"b_pathname": "/Y2111",
"b_language": "en",
"b_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
}
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successfully retrieved workspace statistics and analytics data
The response is of type object
.
curl --request GET \
--url https://api.reqlick.com/workspaces/{url}/analytics/stats \
--header 'Authorization: Bearer <token>'
{
"success": true,
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "def50200b1c7c2f703...",
"lastWorkspaceViewed": "/my-workspace-url",
"userStatistics": {
"views": [
{
"_id": "1110580a82031111aaa03333",
"linkId": "1110580a82031111aaa02222",
"projectId": "1110580a82031111aaa1111",
"viewedAt": "2024-01-05T12:45:39.752Z",
"isBot": false,
"projectDetails": {
"_id": "1110580a82031111aaa03333",
"name": "Reqlick",
"url": "reqlick-url",
"createdAt": "2024-06-05T12:20:26.768Z",
"viewedAt": "2024-07-20T11:29:13.050Z",
"updatedAt": "2024-07-20T11:29:13.051Z",
"isArchived": false,
"subscriptionId": "1110580a82031111aaa03333",
"logo": "logo.png"
},
"memberDetails": {
"_id": "1110580a82031111aaa03333",
"userId": "1110580a82031111aaa03333",
"role": "MEMBER",
"expires": null,
"projectId": "1110580a82031111aaa03333",
"status": "ACCEPTED",
"createdAt": "2024-01-27T16:02:58.964Z",
"updatedAt": "2024-01-27T16:23:52.596Z",
"email": null
},
"link": {
"_id": "1110580a82031111aaa03333",
"url": "https://www.reqlick.com/watch?v=q-9EDv_quno&utm_source=social&utm_medium=social&utm_campaign=1st%20campaign&utm_term=digital&utm_content=marketing&ref=facebook",
"key": "Y203",
"expiresAt": "2024-01-05T12:46:00.000Z",
"password": "my-password",
"proxy": false,
"isFile": false,
"isQR": false,
"title": "Reqlick Title",
"description": "Reqlick Description",
"image": "/file/logo.png",
"createdAt": "2024-06-05T12:29:34.244Z",
"updatedAt": "2024-06-13T12:56:48.323Z",
"projectId": "6660580a43f1a356b97f64b9",
"isPublic": true,
"isActive": false,
"isArchived": false,
"isRecord": false,
"domain": "rqk.sh",
"ios": "https://reqlick.com/install/ios",
"android": "https://reqlick.com/install/android"
},
"viewData": {
"_id": "1110580a82031111aaa03333",
"viewId": "1110580a82031111aaa03333",
"h_userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
"h_referer": "https://rqk.sh/Y211",
"h_acceptLanguage": "fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7",
"h_sec_ch_ua_platform": "Windows",
"sessionId": "5fa8e79f-1111-586a-2222-0b50220b4094",
"b_screen": {},
"b_screen_width": 1920,
"b_screen_height": 1080,
"b_navigator": {},
"b_history": {},
"b_hostname": "rqk.sh",
"b_pathname": "/Y2111",
"b_language": "en",
"b_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
}
}
]
}
}