@inklok/api-spec 7.2.1 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.yaml +82 -19
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -8,7 +8,7 @@ info:
|
|
|
8
8
|
Authenticate using an API key or bearer token, then use the resources below to manage
|
|
9
9
|
templates, agreements, documents, and signing. For your first integration, start with
|
|
10
10
|
the Quick Start guide.
|
|
11
|
-
version: "7.
|
|
11
|
+
version: "7.3.0"
|
|
12
12
|
contact:
|
|
13
13
|
name: Inklok API Support
|
|
14
14
|
email: support@inklok.com
|
|
@@ -2051,9 +2051,10 @@ paths:
|
|
|
2051
2051
|
summary: Resolve a party signing session
|
|
2052
2052
|
x-visibility: internal
|
|
2053
2053
|
description: >
|
|
2054
|
-
Returns a
|
|
2055
|
-
is the active signer for the agreement.
|
|
2056
|
-
|
|
2054
|
+
Returns a short-lived signer session for the requested execution party when
|
|
2055
|
+
the authenticated Cognito user is the active signer for the agreement. This
|
|
2056
|
+
endpoint never creates or returns magic links.
|
|
2057
|
+
x-required-roles: []
|
|
2057
2058
|
tags:
|
|
2058
2059
|
- Agreements
|
|
2059
2060
|
parameters:
|
|
@@ -2082,10 +2083,19 @@ paths:
|
|
|
2082
2083
|
schema:
|
|
2083
2084
|
type: object
|
|
2084
2085
|
required:
|
|
2085
|
-
-
|
|
2086
|
+
- signerToken
|
|
2086
2087
|
properties:
|
|
2087
|
-
|
|
2088
|
+
signerToken:
|
|
2089
|
+
type: string
|
|
2090
|
+
tokenType:
|
|
2091
|
+
type: string
|
|
2092
|
+
example: Bearer
|
|
2093
|
+
expiresIn:
|
|
2094
|
+
type: integer
|
|
2095
|
+
minimum: 1
|
|
2096
|
+
expiresAt:
|
|
2088
2097
|
type: string
|
|
2098
|
+
format: date-time
|
|
2089
2099
|
'401':
|
|
2090
2100
|
$ref: '#/components/responses/Unauthorized'
|
|
2091
2101
|
'403':
|
|
@@ -2188,18 +2198,18 @@ paths:
|
|
|
2188
2198
|
/me/sandbox/inbox:
|
|
2189
2199
|
get:
|
|
2190
2200
|
operationId: listMeSandboxInbox
|
|
2191
|
-
summary: List simulated agreement emails from
|
|
2201
|
+
summary: List simulated agreement emails from Sandbox Inbox
|
|
2192
2202
|
x-visibility: internal
|
|
2193
2203
|
description: |
|
|
2194
2204
|
Returns simulated emails generated by sandbox agreement workflows visible
|
|
2195
|
-
to the authenticated account
|
|
2196
|
-
|
|
2197
|
-
instead. No emails are
|
|
2198
|
-
Recipient email address is not used for visibility.
|
|
2199
|
-
explicit allowlist of agreement lifecycle email event
|
|
2200
|
-
authentication, identity, invitation, security, or
|
|
2201
|
-
Each item includes the rendered simulated
|
|
2202
|
-
the simulated email content is available.
|
|
2205
|
+
to the authenticated account or the caller's sandbox API-key organization.
|
|
2206
|
+
When an agreement action would normally send a notification to a party,
|
|
2207
|
+
Inklok creates a simulated email in Sandbox Inbox instead. No emails are
|
|
2208
|
+
sent to recipients. Recipient email address is not used for visibility.
|
|
2209
|
+
The endpoint uses an explicit allowlist of agreement lifecycle email event
|
|
2210
|
+
types and never returns authentication, identity, invitation, security, or
|
|
2211
|
+
generic outbound email history. Each item includes the rendered simulated
|
|
2212
|
+
email HTML and plain-text body when the simulated email content is available.
|
|
2203
2213
|
x-required-roles: [workflow-editor, workflow-operator, agreement-auditor, organization-admin, platform-super-admin]
|
|
2204
2214
|
x-required-scopes: [agreements:read]
|
|
2205
2215
|
tags:
|
|
@@ -2480,6 +2490,18 @@ paths:
|
|
|
2480
2490
|
properties:
|
|
2481
2491
|
execution_id:
|
|
2482
2492
|
type: string
|
|
2493
|
+
agreement_title:
|
|
2494
|
+
type: string
|
|
2495
|
+
nullable: true
|
|
2496
|
+
description: Human-readable title for this agreement.
|
|
2497
|
+
agreement_message:
|
|
2498
|
+
type: string
|
|
2499
|
+
nullable: true
|
|
2500
|
+
description: Shared message from the sender for all recipients.
|
|
2501
|
+
recipient_message:
|
|
2502
|
+
type: string
|
|
2503
|
+
nullable: true
|
|
2504
|
+
description: Private message for the authenticated signer only.
|
|
2483
2505
|
version:
|
|
2484
2506
|
type: string
|
|
2485
2507
|
description: Rendering engine version for this agreement
|
|
@@ -2576,13 +2598,14 @@ paths:
|
|
|
2576
2598
|
operationId: signingInitiate
|
|
2577
2599
|
summary: Create a signing session
|
|
2578
2600
|
description: >
|
|
2579
|
-
Creates a short-lived signing token for the specified agreement participant
|
|
2580
|
-
|
|
2601
|
+
Creates a short-lived signing token for the specified agreement participant
|
|
2602
|
+
only when the caller is that participant. API-key authentication is not
|
|
2603
|
+
supported for this endpoint.
|
|
2581
2604
|
tags:
|
|
2582
2605
|
- Signing
|
|
2583
2606
|
security:
|
|
2584
2607
|
- bearerAuth: []
|
|
2585
|
-
x-required-
|
|
2608
|
+
x-required-roles: []
|
|
2586
2609
|
requestBody:
|
|
2587
2610
|
required: true
|
|
2588
2611
|
content:
|
|
@@ -4694,11 +4717,26 @@ components:
|
|
|
4694
4717
|
name:
|
|
4695
4718
|
type: string
|
|
4696
4719
|
nullable: true
|
|
4720
|
+
recipientMessage:
|
|
4721
|
+
type: string
|
|
4722
|
+
nullable: true
|
|
4723
|
+
maxLength: 5000
|
|
4724
|
+
description: Optional private message visible only to this recipient.
|
|
4697
4725
|
|
|
4698
4726
|
CreateExecutionRequest:
|
|
4699
4727
|
type: object
|
|
4700
|
-
required: [participants, crypto]
|
|
4728
|
+
required: [agreementTitle, participants, crypto]
|
|
4701
4729
|
properties:
|
|
4730
|
+
agreementTitle:
|
|
4731
|
+
type: string
|
|
4732
|
+
minLength: 1
|
|
4733
|
+
maxLength: 160
|
|
4734
|
+
description: Human-readable title for this agreement.
|
|
4735
|
+
agreementMessage:
|
|
4736
|
+
type: string
|
|
4737
|
+
nullable: true
|
|
4738
|
+
maxLength: 5000
|
|
4739
|
+
description: Optional shared message visible to all recipients.
|
|
4702
4740
|
participants:
|
|
4703
4741
|
type: array
|
|
4704
4742
|
minItems: 1
|
|
@@ -5047,6 +5085,16 @@ components:
|
|
|
5047
5085
|
type: integer
|
|
5048
5086
|
minimum: 1
|
|
5049
5087
|
readOnly: true
|
|
5088
|
+
agreementTitle:
|
|
5089
|
+
type: string
|
|
5090
|
+
nullable: true
|
|
5091
|
+
readOnly: true
|
|
5092
|
+
description: Human-readable title for this agreement.
|
|
5093
|
+
agreementMessage:
|
|
5094
|
+
type: string
|
|
5095
|
+
nullable: true
|
|
5096
|
+
readOnly: true
|
|
5097
|
+
description: Shared message from the sender for all recipients.
|
|
5050
5098
|
pdfEngineVersion:
|
|
5051
5099
|
type: integer
|
|
5052
5100
|
minimum: 1
|
|
@@ -5092,6 +5140,7 @@ components:
|
|
|
5092
5140
|
createdAt,
|
|
5093
5141
|
updatedAt,
|
|
5094
5142
|
pdfEngineVersion,
|
|
5143
|
+
agreementTitle,
|
|
5095
5144
|
participants,
|
|
5096
5145
|
placeholderValues,
|
|
5097
5146
|
]
|
|
@@ -5107,6 +5156,16 @@ components:
|
|
|
5107
5156
|
status:
|
|
5108
5157
|
$ref: '#/components/schemas/ExecutionStatus'
|
|
5109
5158
|
readOnly: true
|
|
5159
|
+
agreementTitle:
|
|
5160
|
+
type: string
|
|
5161
|
+
nullable: true
|
|
5162
|
+
readOnly: true
|
|
5163
|
+
description: Human-readable title for this agreement.
|
|
5164
|
+
agreementMessage:
|
|
5165
|
+
type: string
|
|
5166
|
+
nullable: true
|
|
5167
|
+
readOnly: true
|
|
5168
|
+
description: Shared message from the sender for all recipients.
|
|
5110
5169
|
createdAt:
|
|
5111
5170
|
type: string
|
|
5112
5171
|
format: date-time
|
|
@@ -5173,6 +5232,10 @@ components:
|
|
|
5173
5232
|
color:
|
|
5174
5233
|
type: string
|
|
5175
5234
|
nullable: true
|
|
5235
|
+
recipientMessage:
|
|
5236
|
+
type: string
|
|
5237
|
+
nullable: true
|
|
5238
|
+
description: Private message for this recipient. Signer-scoped responses only include the current signer's message.
|
|
5176
5239
|
|
|
5177
5240
|
ExecutionParticipantSearchResult:
|
|
5178
5241
|
type: object
|