Start an async job to retrieve a list of session IDs, given the specified filters. The following filters must be passed:
You can only call this method when authenticated as a Wix app or Wix user identity.
User's timezone. Defaults to timezone as set in the Site Properties API.
Custom time period with start & end dates.
Predefined time period.
Navigation flow details.
Conversion funnel details. The steps in the journey the visitor has taken on the site.
Device type.
List sessions job ID. Pass this ID to Get List Sessions Job Result to retrieve job details and metadata.
curl -X POST \
'https://www.wixapis.com/analytics/v1/sessions/list/async' \
-H 'Content-type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"deviceType": {
"type": "MOBILE"
},
"predefinedTimePeriod": "LAST_30_DAYS"
}'
{
"jobId": "a391a44f-b037-4344-b555-6f5be67c4123"
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.