GET /api/v1/paths/sessions/{sessionId}/stats/users

Return users statistics for the specified path session.

Fields

Parameters (optional)

You can add the following optional parameters to the query:

If both completedBefore and completedAfter are added to the query, the statistics for users who completed the session between the dates provided as values for the completedAfter and completedBefore parameters are returned.

Error messages

Status codeError bodyReason
400{ "error": "inconsistent_dates" }Dates added as parameter values for completedAfter or completedBefore are not consistent, for example, completedAtBefore=2022-10-04T22:00:00.000Z&completedAtAfter=2022-10-14T22:00:00.000Z
404{ "error": "path_session_not_found" }The path session ID is incorrect (the session doesn’t exist, or exists in another platform).

Servers

Path parameters

Name Type Required Description
sessionId String Yes

ID of the path session.

Query parameters

Name Type Required Description
company String No

(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

apiKey String No

(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.