/developers
Developer docsAtom Files ↗
← API referenceAccess · API access unavailable
API REFERENCE / ACCESS

GET /v1/grants

Let an owner inspect which integrations can access which folders.

Request fields

LocationFieldTypeRequiredDescription
HeaderAuthorizationstringYesCredential scoped to the authorized resource.
QuerycursorstringNoOpaque pagination cursor.

Request example

Example request
GET /v1/grants
Authorization: Bearer <owner token>

HTTP status codes

StatusMeaning
200 OKSuccess response shown below.
400 Bad RequestInvalid pagination cursor.
401 UnauthorizedMissing, expired, or invalid credential.
403 ForbiddenCredential is valid but lacks the required scope or role.
429 Too Many RequestsRate limit reached; honor Retry-After when provided.
503 Service UnavailableService temporarily unavailable; retry safely.

Response fields

FieldTypeExample
itemsobject[][1 shown]
items[].idstringgrant_123
items[].folder_idstringfolder_123
items[].integration_idstringapp_123
items[].capabilitiesstring[][2 shown]
items[].statusstringactive
next_cursorstring | nullnull

Response example

Example response
200 OK
Content-Type: application/json

{
  "items": [
    {
      "id": "grant_123",
      "folder_id": "folder_123",
      "integration_id": "app_123",
      "capabilities": [
        "read",
        "write"
      ],
      "status": "active"
    }
  ],
  "next_cursor": null
}

How it works

Creating a grant belongs to an explicit interactive consent flow, not an unscoped service-token API. This endpoint must not reveal unrelated account grants to an integration.