Get a session
GEThttps://$CUSTOM-DOMAIN/v2/sessions/:sessionId
Get a session and all its information like the time of the user or password verification
Request​
Path Parameters
sessionId stringrequired
Query Parameters
sessionToken string
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
session
object
{
"session": {
"id": "string",
"creationDate": "2025-03-25T15:37:44.465Z",
"changeDate": "2025-03-25T15:37:44.465Z",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2025-03-25T15:37:44.466Z",
"id": "string",
"loginName": "string",
"displayName": "string",
"organizationId": "string"
},
"password": {
"verifiedAt": "2025-03-25T15:37:44.466Z"
},
"webAuthN": {
"verifiedAt": "2025-03-25T15:37:44.466Z",
"userVerified": true
},
"intent": {
"verifiedAt": "2025-03-25T15:37:44.466Z"
},
"totp": {
"verifiedAt": "2025-03-25T15:37:44.466Z"
},
"otpSms": {
"verifiedAt": "2025-03-25T15:37:44.466Z"
},
"otpEmail": {
"verifiedAt": "2025-03-25T15:37:44.466Z"
}
},
"metadata": {},
"userAgent": {
"fingerprintId": "string",
"ip": "string",
"description": "string",
"header": {}
},
"expirationDate": "2025-03-25T15:37:44.466Z"
}
}
- Schema
- Example (from schema)
Schema
session
object
{
"session": {
"id": "string",
"creationDate": "2025-03-25T15:37:44.467Z",
"changeDate": "2025-03-25T15:37:44.467Z",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2025-03-25T15:37:44.467Z",
"id": "string",
"loginName": "string",
"displayName": "string",
"organizationId": "string"
},
"password": {
"verifiedAt": "2025-03-25T15:37:44.467Z"
},
"webAuthN": {
"verifiedAt": "2025-03-25T15:37:44.467Z",
"userVerified": true
},
"intent": {
"verifiedAt": "2025-03-25T15:37:44.467Z"
},
"totp": {
"verifiedAt": "2025-03-25T15:37:44.467Z"
},
"otpSms": {
"verifiedAt": "2025-03-25T15:37:44.467Z"
},
"otpEmail": {
"verifiedAt": "2025-03-25T15:37:44.467Z"
}
},
"metadata": {},
"userAgent": {
"fingerprintId": "string",
"ip": "string",
"description": "string",
"header": {}
},
"expirationDate": "2025-03-25T15:37:44.467Z"
}
}
- Schema
- Example (from schema)
Schema
session
object
{
"session": {
"id": "string",
"creationDate": "2025-03-25T15:37:44.469Z",
"changeDate": "2025-03-25T15:37:44.469Z",
"sequence": "string",
"factors": {
"user": {
"verifiedAt": "2025-03-25T15:37:44.469Z",
"id": "string",
"loginName": "string",
"displayName": "string",
"organizationId": "string"
},
"password": {
"verifiedAt": "2025-03-25T15:37:44.469Z"
},
"webAuthN": {
"verifiedAt": "2025-03-25T15:37:44.469Z",
"userVerified": true
},
"intent": {
"verifiedAt": "2025-03-25T15:37:44.469Z"
},
"totp": {
"verifiedAt": "2025-03-25T15:37:44.469Z"
},
"otpSms": {
"verifiedAt": "2025-03-25T15:37:44.469Z"
},
"otpEmail": {
"verifiedAt": "2025-03-25T15:37:44.469Z"
}
},
"metadata": {},
"userAgent": {
"fingerprintId": "string",
"ip": "string",
"description": "string",
"header": {}
},
"expirationDate": "2025-03-25T15:37:44.469Z"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/v2/sessions/:sessionId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear