identity
List All Sessions
Changed onListing all sessions that exist.
get/admin/sessions
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/admin/sessions
- AuthAPI key in header Authorization
Query parameters
page_sizeinteger
Items per Page
This is the number of items per page to return. For details on pagination please head over to the pagination documentation.
page_tokenstring
Next Page Token
The next page token. For details on pagination please head over to the pagination documentation.
activeboolean
Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
expandstring[]
ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped.
Response
Session List Response
The response given when listing sessions in an administrative context.
Example response
[
{
"identity": {
"verifiable_addresses": [
{
"created_at": "2014-01-01T23:28:56.782Z",
"updated_at": "2014-01-01T23:28:56.782Z",
"verified": true,
"via": "email"
}
]
}
}
]Changes
- warning
the optional response header
x-total-countremoved for the status200
- warning