Stamp ManagementAPI ReferenceList envelope-level stamp permissions

List envelope-level stamp permissions

POST/openapi/v1/stamps/list-envelope-grants

List the historical operation results of envelope-level stamp permissions, with pagination. All four filters (UserId, EnvelopeId, StampId, GrantRecordId) are optional and are combined when multiple are provided; when none are provided, results are paginated for the current Space. Results are returned in descending order of creation time.

  • Each result row carries Status, FailedGrants and GrantRecordId, so it can be matched against the response of the grant-by-envelope endpoint.
  • Obtain a UserId via List Members.
  • This endpoint returns envelope-level stamp permission operation results only. The results are historical and do not indicate currently active grants, nor do they include Space-level grants (stamps/grant); to view the current details of Space-level grants, use Authorizations in stamps/list.

Required Scope: stamp:manage


Request Parameters

AuthorizationRequiredstring
Bearer <access_token>
X-Operator-User-IdOptionalstring
Operator user ID. Not required in the authorization code flow (the authorized user is used automatically); **required** in the client credentials flow. The operator must be an administrator of the current Space.
application/json
UserIdOptionalstring
Filter by user ID.
EnvelopeIdOptionalstring
Filter by envelope ID.
StampIdOptionalstring
Filter by stamp ID.
GrantRecordIdOptionalstring
Filter by grant record ID.
OffsetOptionalinteger(int32)
Pagination offset, default `0`.
LimitOptionalinteger(int32)
Page size, default `20`; values above `50` are treated as `50`; a negative value returns `INVALID_REQUEST`.

Response Parameters

ItemsOptionalarray<object>
Envelope-level stamp permission operation result list.
UserIdsOptionalarray<string>
UserIDs of this grant row.
EnvelopeIdOptionalstring
Target envelope ID.
StampIdsOptionalarray<string>
Stamp IDs of this grant row.
RemarkOptionalstring
Grant remark.
StatusOptionalstring
Grant result. Values: `success` (all targets granted), `partial` (some failed, see `FailedGrants`), `failed` (all failed).
FailedGrantsOptionalarray<object>
Failed targets (invalid targets and reasons, returned when partially or fully failed).
TargetTypeOptionalstring
Type of the failed target. Values: `user` (invalid member or not a signer of the envelope), `stamp` (invalid stamp), `envelope` (invalid envelope or not in a grantable state).
TargetIdOptionalstring
Business ID of the failed target (`UserId` / `StampId` / `EnvelopeId`).
ReasonOptionalstring
Failure reason. Values: `user_invalid`, `envelope_invalid`, `stamp_invalid`, `internal_error`.
GrantRecordIdOptionalstring
Grant record ID, usable for querying and reconciliation.
CreatedAtOptionalstring(date-time)
Creation time in RFC3339 format (must include a timezone offset; UTC recommended), e.g. `2026-06-01T00:00:00Z`.
TotalOptionalinteger(int64)
Total number of matching operation results (one row corresponds to one `Items` row of a request) — not the number of stamps, users, or user×stamp combinations.

Error Codes

Error CodeDescription
INVALID_REQUESTInvalid request parameters (negative Offset / Limit)
OPENAPI.OPERATOR_USER_ID_REQUIREDX-Operator-User-Id not provided in the client credentials flow
OPENAPI.OPERATOR_USER_NOT_FOUNDOperator user does not exist, account not enabled, or not an enabled member of the current Space
OPENAPI.OPERATOR_USER_NOT_HUMANOperator user is not a real user
MEMBER.INSUFFICIENT_PERMISSIONOperator user is not a Space administrator
INTERNAL_ERRORInternal server error