Get user requests list
GET/seb-api/v1/user-requests
Returns a list of user requests.
Request
Query Parameters
Number of user requests to return.
Possible values: [WebAccess
, AppLogin
]
Filter by request type.
Filter by request user id
Filter by request device id.
Filter by request rule id.
Filter by request url.
Filter by response by user id.
Possible values: [Approved
, Declined
, Pending
, Revoked
]
Filter by request status.
An optional opaque string that defines from where to start listing
Possible values: [request.created_at
, request.type
, request.status
, request.response_time
, request.url
]
The field to sort by
Possible values: [asc
, desc
]
The sort order
Responses
- 200
- 400
- 500
A list of requests with pagination info
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
The timeframe for which the approval is valid
Admin comment
Request created at
Device unique identifier
Unique identifier
reason for request
Response by
Admin response time
Admin revoke time
Revoked by
Revoke comment
Blocking rule unique identifier
Request status
Request type
bypassing url
User accepted response at
Request unique identifier
pageInfo object
When paginating forwards, the cursor to continue.
When paginating forwards, are there more items?
{
"data": [
{
"adminBypassTimeframe": 0,
"adminComment": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"deviceId": "string",
"id": "string",
"reason": "string",
"respondedBy": "string",
"responseTime": "2024-07-29T15:51:28.071Z",
"revokedAt": "2024-07-29T15:51:28.071Z",
"revokedBy": "string",
"revokerComment": "string",
"ruleId": "string",
"status": "string",
"type": "string",
"url": "string",
"userAcceptedAt": "2024-07-29T15:51:28.071Z",
"userId": "string"
}
],
"pageInfo": {
"cursor": "string",
"hasNextPage": true
}
}
Bad request
Internal server error