/v2/credentials/authorizeAuthorize document digests
OperationId: SicAuthorize · Trusted SIC 1.7.260928 · PDF pages: 30, 31
Source-derived; deployment remains unconfirmed. Sample inputs are for reading, not live submission.
Preconditions and authentication
Select a credential and fix the digests and signature count. Bind the user interface to the correct requested content. Keep the Bearer token server-side; exclude tokens/SAD from frontend code and public logs.
Request · application/json
| Field | Type | Presence | Description |
|---|---|---|---|
credentialID | string | Required | Credential identifier for the operation. |
numSignatures | integer | Required | Number of signatures to authorize. |
documentDigests | object | Required | |
documentDigests.hashes | string[] | Required | Base64 digests of the authorized content. |
documentDigests.hashAlgorithmOID | string | Required | Hash algorithm OID; select using confirmed configuration. |
description | string | Optional / source conditions | User-facing authorization description. |
agreementUUID | string | Optional / source conditions | Client-data correlation identifier in the source. |
username | string | Optional / source conditions | Username in the authorization context. |
clientInfo | object | Optional / source conditions | |
clientInfo.application | string | Optional / source conditions | Originating application name. |
view | object | Optional / source conditions | |
view.lang | string | Optional / source conditions | View language. enum: VI, EN |
view.callbackUrl | string | Optional / source conditions | Registered callback URL. format: uri |
view.redirectUrl | string | Optional / source conditions | Registered redirect URL. format: uri |
view.fontSize | string | Optional / source conditions | UI font-size configuration. |
view.templateUiId | string | Optional / source conditions | UI template identifier. |
view.expiresIn | integer | Optional / source conditions | Units/meaning require confirmation; no default provided. |
Illustrative payload — Not executed against the service
{
"credentialID": "DEMO_SIC_CREDENTIAL",
"numSignatures": 1,
"documentDigests": {
"hashes": [
"ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs="
],
"hashAlgorithmOID": "2.16.840.1.101.3.4.2.1"
}
}Response · 202
Read HTTP status and business outcome separately.
| Field | Type | Presence | Description |
|---|---|---|---|
token | string | Required | Token returned by the preceding step; do not publish it. |
Response · default
Read HTTP status and business outcome separately.
| Field | Type | Presence | Description |
|---|---|---|---|
code | string | Optional / source conditions | Service error code, distinct from HTTP status. |
message | string | Optional / source conditions | Short error message. |
description | string | Optional / source conditions | Detailed explanation when present. |
Confirmation required
Next action
Persist the token, use the confirmed authorization view, then call authorizeCheck.