Skip to Content
Xeonr Developer Docs
API SpecificationPRIVATEApplications

List Application Binding Requests

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

Lists clients and service accounts asking to be bound to this application. A binding is what makes this application's scopes requestable by another principal and what puts this application's audience into that principal's tokens, so it waits on the application owner's decision.

Required scopes: auth:apps:read (organisation-wide) or auth:apps:read:own (applications owned by a team you belong to) or auth:apps:manage:self (a service account, for its own application only; never the auth application)

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

applicationId?string
Length1 <= length <= 64
includeApproved?boolean

When true, include bindings that are already approved. Default lists only what is waiting on a decision.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/ListApplicationBindingRequests" \  -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"
      ]
    }
  ]
}