Skip to navigation

List CDRs

Charge detail records of your drivers, filtered by authorization, session, token or start time.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

authorization_referencestring or nullOptional<=36 characters

Only this authorization (the reference you sent the command with).

session_idstring or nullOptional<=36 characters
Only CDRs of this session.
token_uidstring or nullOptional<=36 characters
Only this token uid.
fromdatetime or nullOptional
Only CDRs of sessions started at or after this time.
todatetime or nullOptional
Only CDRs of sessions started before this time.
afterstring or nullOptional1-255 characters

Cursor: the previous page’s pagination.end_cursor. Omit it for the first page.

limitintegerOptional1-200Defaults to 50

Maximum rows per page (default 50, max 200).

Response

One page of CDRs.
datalist of objects
paginationobject

Spirii cursor page. Pass end_cursor as the next after value.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error