Skip to Content
Xeonr Developer Docs
API SpecificationPRIVATEApplications

List Pending Binding Requests

POST
/xeonr.auth.private.v1.ApplicationsService/ListPendingBindingRequests

The approvals inbox: every client and service-account binding request, across all applications the caller administers, that is waiting on a decision. That is a new request, or an approved binding whose requested scopes have grown. An organisation administrator sees every application's; anyone else sees those of applications owned by a team they own.

Required scopes: auth:apps:edit (organisation-wide) or auth:apps:edit:own (applications owned by a team you belong to)

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/ListPendingBindingRequests" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "requests": [
    {
      "principalType": "BINDING_PRINCIPAL_TYPE_UNSPECIFIED",
      "principalId": "string",
      "principalName": "string",
      "principalApplicationId": "string",
      "approved": true,
      "requestedAt": "2023-01-15T01:30:15.01Z",
      "mode": "CLIENT_APPLICATION_BINDING_MODE_UNSPECIFIED",
      "requestedScopes": [
        "string"
      ],
      "approvedScopes": [
        "string"
      ],
      "state": "APPLICATION_BINDING_STATE_UNSPECIFIED",
      "decisionPending": true,
      "targetApplicationId": "string",
      "targetApplicationName": "string",
      "targetOwnerTeamSlug": "string",
      "autoApprovedScopes": [
        "string"
      ]
    }
  ]
}