Export group's users sessions
GET/:customer_id/groups/:group_id/export/sessions
Export sessions for users in a group
Request
Path Parameters
customer_id Customer Idrequired
Id of the tenant
group_id Group Idrequired
Id of the group
Query Parameters
fields string[]
Possible values: [start_local_time, end_local_time, start_utc, end_utc, uid, device_id, participant_id, external_id, states]
List of columns available in the exported csv file.
state_categories StateMetricsEnum[]
Possible values: [sleep, wear, charging]
List of state categories to include in the exported csv file.
Responses
- 200
- 400
Successful response. Returns a link to the generated excel file for downloading
- application/json
- Schema
- Example (from schema)
Schema
link Linkrequired
expires_at date-timerequired
{
"link": "string",
"expires_at": "2024-12-03T11:32:12.487Z"
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
errors undefined[]nullablerequired
{
"message": "string",
"errors": [
null
]
}
Loading...