result.data | object | Yes | — | Provider response payload. |
result.data.data | array | Yes | — | — |
result.data.data[].type | "object-record-access" | Yes | — | Allowed: object-record-access. |
result.data.data[].id | string | Yes | — | — |
result.data.data[].attributes | object | Yes | — | — |
result.data.data[].attributes._id | string | Yes | — | The unique ID of the grant. |
result.data.data[].attributes.object_id | string | Yes | — | The unique ID of the shared record. |
result.data.data[].attributes.grantee_type | "user" | "workspace" | "group" | "email" | "public" | Yes | — | Who the grant is for: user for a single workspace member, workspace for everyone in the workspace. Allowed: user, workspace, group, email, public. |
result.data.data[].attributes.grantee_id | string | null | Yes | — | The unique ID of the grantee. Set to the user’s ID for user grants. null for workspace grants. |
result.data.data[].attributes.access_level | "view" | "edit" | "manage" | "owner" | Yes | — | The level of access the grant confers: view read-only, edit read-write. owner marks the record’s owner — returned read-only to identify the owner. It cannot be granted, changed, or revoked through this API (use the reassign-owner endpoint). Allowed: view, edit, manage, owner. |
result.data.data[].attributes.source | "share" | "field" | "delegated_send" | "account_read" | Yes | — | Why the grant exists: share for a direct grant, field for a grant from a user field on the record, such as a deal’s owner, delegated_send for an email a delegate sent from the owner’s account, or a reply in a thread they started, account_read for a message from a connected account its owner shares with the user. Field grants follow the field, and delegated-send and account-read grants follow their delegation. none can be changed or revoked through this API. A user can hold a direct grant See the live schema for the complete constraint. |
result.data.data[].attributes._created_at | string | Yes | — | When the grant was created. Format: date-time. |
result.data.data[].attributes._created_by | string | null | Yes | — | The unique ID of the user who created the grant. |
result.data.data[].attributes._updated_at | string | null | Yes | — | When the grant was last updated. Format: date-time. |
result.data.data[].attributes._updated_by | string | null | Yes | — | The unique ID of the user who last updated the grant. |
result.data.meta | object | Yes | — | — |
result.data.meta.viewerAccess | array | Yes | — | — |
result.data.meta.viewerAccess[].kind | "public-link" | "workspace-public" | "legacy-delegate" | "entity-wide-delegate" | Yes | — | How the viewer reaches the record. workspace-public is deprecated and never returned. Allowed: public-link, workspace-public, legacy-delegate, entity-wide-delegate. |
result.data.meta.viewerAccess[].grantee_id | string | null | Yes | — | — |
result.data.meta.viewerAccess[].access_level | "view" | "edit" | "manage" | "owner" | Yes | — | Allowed: view, edit, manage, owner. |
result.data.meta.viewerAccess[].owners | array | Yes | — | The record owners whose delegation grants this viewer access, each with the access level that owner granted. Empty for paths with no delegating owner, such as public-link sharing. |
result.data.meta.viewerAccess[].owners[].owner_id | string | Yes | — | — |
result.data.meta.viewerAccess[].owners[].access_level | "view" | "edit" | "manage" | "owner" | Yes | — | Allowed: view, edit, manage, owner. |
result.meta | object | No | — | Additional response metadata (status, paging). |