The apps allowed into this org
const url = 'https://api.sloose.com/orgs/org_9f3c/consents';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.sloose.com/orgs/org_9f3c/consents \ --header 'Authorization: Bearer <token>'Every consent a member has given an MCP client for this org: which client, who allowed it, what it may do. Session only, administrators.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The org id the session was issued for. A token for one org can never read another.
Example
org_9f3cThe org id the session was issued for. A token for one org can never read another.
Responses
Section titled “Responses”The grants.
object
object
The client’s id — for a Client ID Metadata Document client, the HTTPS URL of that document.
Examplegenerated
{ "consents": [ { "id": "example", "clientId": "example", "clientName": "example", "clientUri": "example", "userId": "example", "scopes": [ "example" ], "grantedAt": "example" } ]}No bearer, or one that is expired, revoked or no longer resolves to a member.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}The bearer’s role is too low, or it was issued for a different org.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}