API ReferenceManagementInbound Apps
POST
/v1/mgmt/thirdparty/consents/search

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

appId?string
Lengthlength <= 10000
userId?string
consentId?string
page?integer

Page number starting with 0 for the first page

Formatint32
tenantId?string
limit?integer
Formatint32

Search OAuth user consents for Inbound Apps. Filter by appId, userId, consentId, or tenantId.

For agentic identities (MCP server authorizations), use Search agentic identities instead — it returns agent name, resource ID, and client ID alongside each consent.

curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/consents/search" \  -H "Content-Type: application/json" \  -d '{}'
{  "consents": [    {      "id": "string",      "appId": "string",      "userId": "string",      "scopes": [        "string"      ],      "grantedBy": "string",      "createdTime": 0,      "tenantId": "string",      "ExpireTime": 0,      "modifiedTime": 0,      "authMethod": "string",      "blocked": true    }  ],  "total": 0}
export interface Response {consents?: {id: stringappId: stringuserId?: stringscopes?: string[]grantedBy?: stringcreatedTime?: numbertenantId?: stringExpireTime?: numbermodifiedTime?: number/** * Empty for an explicit consent, "idJag" for an identity recorded by a Cross-App Access exchange, which cannot be revoked */authMethod?: string/** * True when an admin blocked this "idJag" identity, so the user's ID-JAG exchanges for the application are rejected with invalid_grant */blocked?: boolean}[]total?: number}
Was this helpful?