Skip to main content

Get user requests list

GET 

/seb-api/v1/user-requests

Returns a list of user requests.

Request

Query Parameters

    limit int32

    Number of user requests to return.

    request.type string

    Possible values: [WebAccess, AppLogin]

    Filter by request type.

    request.user_id string

    Filter by request user id

    request.device_id string

    Filter by request device id.

    request.rule_id string

    Filter by request rule id.

    request.url string

    Filter by request url.

    request.responded_by string

    Filter by response by user id.

    request.status string

    Possible values: [Approved, Declined, Pending, Revoked]

    Filter by request status.

    cursor string

    An optional opaque string that defines from where to start listing

    sort string

    Possible values: [request.created_at, request.type, request.status, request.response_time, request.url]

    The field to sort by

    order Order

    Possible values: [asc, desc]

    The sort order

Responses

A list of requests with pagination info

Schema
    data object[]
  • Array [
  • adminBypassTimeframe string

    The timeframe for which the approval is valid

    adminComment string

    Admin comment

    createdAt date-timerequired

    Request created at

    deviceId stringrequired

    Device unique identifier

    id stringrequired

    Unique identifier

    reason stringrequired

    reason for request

    respondedBy string

    Response by

    responseTime date-time

    Admin response time

    revokedAt date-time

    Admin revoke time

    revokedBy string

    Revoked by

    revokerComment string

    Revoke comment

    ruleId stringrequired

    Blocking rule unique identifier

    status stringrequired

    Request status

    type stringrequired

    Request type

    url stringrequired

    bypassing url

    userAcceptedAt date-time

    User accepted response at

    userId stringrequired

    Request unique identifier

  • ]
  • pageInfo object
    cursor stringnullable

    When paginating forwards, the cursor to continue.

    hasNextPage booleanrequired

    When paginating forwards, are there more items?

Loading...