curl -X POST "https://api.joinformal.com/core.v1.SessionsService/ListSessionsV2" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"sessions": [
{
"id": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"duration": "<string>",
"sessionStatus": "active",
"network": {
"clientIpAddress": "<string>",
"serverIpAddress": "<string>"
},
"sidecar": {
"id": "<string>",
"name": "<string>",
"technology": "<string>"
},
"user": {
"type": "<string>",
"username": "<string>",
"formal": {
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"type": "<string>",
"groups": [
"<string>"
],
"externalIds": [
"<string>"
]
},
"endUser": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"type": "<string>",
"groups": [
"<string>"
],
"externalIds": [
"<string>"
]
}
},
"native": {
"username": "<string>"
}
},
"resource": {
"type": "<string>",
"id": "<string>",
"name": "<string>",
"technology": "<string>"
},
"connector": {
"id": "<string>",
"name": "<string>"
}
}
],
"listMetadata": {
"after": "<string>",
"before": "<string>",
"count": 123,
"nextCursor": "<string>"
}
}curl -X POST "https://api.joinformal.com/core.v1.SessionsService/ListSessionsV2" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"sessions": [
{
"id": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"duration": "<string>",
"sessionStatus": "active",
"network": {
"clientIpAddress": "<string>",
"serverIpAddress": "<string>"
},
"sidecar": {
"id": "<string>",
"name": "<string>",
"technology": "<string>"
},
"user": {
"type": "<string>",
"username": "<string>",
"formal": {
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"type": "<string>",
"groups": [
"<string>"
],
"externalIds": [
"<string>"
]
},
"endUser": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"type": "<string>",
"groups": [
"<string>"
],
"externalIds": [
"<string>"
]
}
},
"native": {
"username": "<string>"
}
},
"resource": {
"type": "<string>",
"id": "<string>",
"name": "<string>",
"technology": "<string>"
},
"connector": {
"id": "<string>",
"name": "<string>"
}
}
],
"listMetadata": {
"after": "<string>",
"before": "<string>",
"count": 123,
"nextCursor": "<string>"
}
}API key authentication. Get your API key from the Formal console.
Was this page helpful?