Sessions

Session management

circle-info

This document uses the REST API. For more details, see the Working with the REST API page.

List Sessions

get
/sessions

Retrieves a list of all sessions (bets, wins, and rollbacks).

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
chevron-right
200

Successful operation

application/json
get
/sessions

Get Session

get
/sessions/{id}

Retrieves a specific session (bet) by ID.

Path parameters
idintegerRequired
Responses
chevron-right
200

Successful operation

application/json
get
/sessions/{id}

List Credit Sessions

get
/sessions/credit

Retrieves a list of credit sessions (wins).

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
chevron-right
200

Successful operation

application/json
get
/sessions/credit

List Rollback Sessions

get
/sessions/rollback

Retrieves a list of rollback sessions.

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
chevron-right
200

Successful operation

application/json
get
/sessions/rollback

Last updated