Skip to main content
Grant and revoke agent identities access to a note. Notes use explicit per-identity grants; contacts have separate visibility and communication choices. Users in the Inkbox Console and admin-scoped API keys always see every note regardless of grants. The rules below apply to scoped agent keys. Agent-created notes are auto-granted to the creating identity on POST /notes. All other grants must be added explicitly by a user in the Inkbox Console or a caller using an admin-scoped API key.

Grant identity access

Grant an agent identity read + CRUD access to a note.
Auth: admin-scoped API key, or as a user in the Inkbox Console. A scoped agent cannot grant itself or a peer.

Path parameters

Request body

Response (201)

JSON

Error responses

Code examples


List access rules

List the identities granted access to a note. A scoped agent without visibility on the note 404s before reaching the grant listing.

Path parameters

Response (200)

JSON

Code examples


Revoke identity access

Revoke an identity’s access to a note.
  • Admin-scoped API keys and users in the Inkbox Console may revoke any identity — including the original creator. created_by is a pure audit stamp; revoking the creator’s grant makes the note agent-invisible (Console users still see it).
  • A claimed agent may only revoke its own grant.

Path parameters

Response

204 No Content on success.

Error responses

Code examples


Access rule object