v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-01140308542.4 KB
svc-org-management_other

List invitations for an organization

get/organizations/{organization_id}/invitations

Path parameters

organization_idstring required

Organization ID or label identifier

Organization ID or label

Query parameters

expand[]string[]

Fields to expand in the response. Supports "permissions" to include the permissions field with the caller's permissions for the resource. For list organization identities only, "total_count" populates pagination.total_count with the number of identities matching the same filters as the list (excluding cursor and limit). Other operations ignore expand values they do not use.

afterstring

Pagination cursor for navigating through results

Cursor for forward pagination

beforestring

Pagination cursor for navigating through results

Cursor for backward pagination

limitinteger

Maximum number of invitations to return

Headers

X-Client-Request-IDstring uuid

Unique request identifier specified by the originating caller and passed along by proxies.

Response

List of organization invitations

permissionsOrgManagementPermissions

Permissions granted to the authenticated principal for this resource. Only populated when the 'expand[]=permissions' query parameter is provided. Keys are resource types (e.g., "organizations"), values are objects mapping permission names to boolean values indicating if the permission is granted.

Example response

{
  "items": [
    {
      "id": "ab3def8hij2klm9opq5rst7uvw",
      "organization_id": "ab3def8hij2klm9opq5rst7uvw",
      "created_by": "ab3def8hij2klm9opq5rst7uvw",
      "permissions": {
        "organizations": {
          "read": true,
          "update": true
        },
        "users": {
          "read": true,
          "list": true
        }
      }
    }
  ],
  "permissions": {
    "organizations": {
      "read": true,
      "update": true
    },
    "users": {
      "read": true,
      "list": true
    }
  }
}