Routes

Get sessions for a given client

Returns a paginated list of sessions created within the date range provided.

GEThttps://api.insurely.com/export/sessions

Query Parameters

fromstring

The start of the interval to export

Example:  "2023-01-02T00:00:00Z"
tostring

The end of the interval to export

Example:  "2023-01-02T00:00:00Z"
pagestring

The page number of the export

pageSizestring

The number of entries per page

Responses

currentPageinteger[int32]

The page you are currently exporting data for

List containing information about exported sessions

totalElementsinteger[int64]

The total number of elements

totalPagesinteger[int32]

The total amount of pages available to export data for

cURL
curl https://api.insurely.com/export/sessions?from=2023-01-02T00:00:00Z&to=2023-01-02T00:00:00Z&page=your-value&pageSize=your-value