@assinafy/cli 2.10.0 → 2.10.1

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.
@@ -6,8 +6,8 @@ The renderer reuses a generic 400 envelope for several non-400 errors; top-level
6
6
 
7
7
  - OpenAPI: 3.1.0
8
8
  - API document version: 1.0.0
9
- - Operations: 158
10
- - Contract SHA-256: `8300f6ac4d3b348777a60729fb5778d68c3eae260e8454bd7a2f842d322d8f66`
9
+ - Operations: 147
10
+ - Contract SHA-256: `0ab3e88bbb3b76e7133afc153f12759743969c473bf5329f0eb2974bac201562`
11
11
 
12
12
  ## Accounts
13
13
 
@@ -50,7 +50,6 @@ Retrieve a workspace account the user belongs to.
50
50
  "DigitalCertificate": true,
51
51
  "VerificationIdDocumentFaceMatchBasic": false,
52
52
  "WhatsappNotification": true,
53
- "VerificationBypass": false,
54
53
  "Embed": false
55
54
  },
56
55
  "created_at": "2026-06-03T03:54:16Z"
@@ -168,7 +167,6 @@ Example:
168
167
  "DigitalCertificate": true,
169
168
  "VerificationIdDocumentFaceMatchBasic": false,
170
169
  "WhatsappNotification": true,
171
- "VerificationBypass": false,
172
170
  "Embed": false
173
171
  },
174
172
  "created_at": "2026-06-03T03:54:16Z"
@@ -814,7 +812,6 @@ Called with an OAuth application token, this returns exactly one workspace: the
814
812
  "DigitalCertificate": true,
815
813
  "VerificationIdDocumentFaceMatchBasic": false,
816
814
  "WhatsappNotification": true,
817
- "VerificationBypass": false,
818
815
  "Embed": false
819
816
  },
820
817
  "created_at": "2026-06-03T03:54:16Z"
@@ -909,7 +906,6 @@ Example:
909
906
  "DigitalCertificate": true,
910
907
  "VerificationIdDocumentFaceMatchBasic": false,
911
908
  "WhatsappNotification": true,
912
- "VerificationBypass": false,
913
909
  "Embed": false
914
910
  },
915
911
  "created_at": "2026-06-03T03:54:16Z"
@@ -1238,10 +1234,8 @@ Precomputed per-account document-funnel KPIs. `granularity=monthly` (default) re
1238
1234
  "signature_requests": 61,
1239
1235
  "signature_requests_notification_email": 55,
1240
1236
  "signature_requests_notification_whatsapp": 18,
1241
- "signature_requests_notification_bypass": 3,
1242
1237
  "signature_requests_verification_email": 48,
1243
1238
  "signature_requests_verification_whatsapp": 6,
1244
- "signature_requests_verification_bypass": 3,
1245
1239
  "signature_requests_verification_digital_certificate": 4,
1246
1240
  "signature_requests_viewed": 44,
1247
1241
  "signature_requests_completed": 52,
@@ -3763,7 +3757,7 @@ Example:
3763
3757
  }
3764
3758
  ```
3765
3759
 
3766
- ##### 403 — The free workspace exceeds three signers (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
3760
+ ##### 403 — The free workspace exceeds its signer limit (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
3767
3761
 
3768
3762
  ```json
3769
3763
  {
@@ -3904,7 +3898,7 @@ Example:
3904
3898
  }
3905
3899
  ```
3906
3900
 
3907
- ##### 403 — The free workspace exceeds three signers (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
3901
+ ##### 403 — The free workspace exceeds its signer limit (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
3908
3902
 
3909
3903
  ```json
3910
3904
  {
@@ -4605,7 +4599,7 @@ Example — Create with input fields (method: collect):
4605
4599
  }
4606
4600
  ```
4607
4601
 
4608
- ##### 403 — The free workspace exceeds three signers (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
4602
+ ##### 403 — The free workspace exceeds its signer limit (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
4609
4603
 
4610
4604
  ```json
4611
4605
  {
@@ -4799,7 +4793,7 @@ Example:
4799
4793
  }
4800
4794
  ```
4801
4795
 
4802
- ##### 403 — The free workspace exceeds three signers (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
4796
+ ##### 403 — The free workspace exceeds its signer limit (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
4803
4797
 
4804
4798
  ```json
4805
4799
  {
@@ -5809,7 +5803,7 @@ Each signer of the document's assignment, in the order **Get document** lists th
5809
5803
 
5810
5804
  `POST /v1/documents/{documentId}/scheduled-sends`
5811
5805
 
5812
- Keeps a **Create assignment** request and makes it at `send_at`, as the member who scheduled it, through the same checks and charges as **Create assignment** then. Nothing is sent or charged now, and nothing changes for the document: it can still be sent at once, and the scheduled send then fails when it goes. A document takes one pending scheduled send at a time, counting one being sent. The request is checked now as **Estimate assignment cost** checks it (the method, each signer's methods, the plan's features), and each signer named must be a contact of the workspace; the balance is checked when it is sent. A job checks every five minutes and makes the sends that are due. On a free plan whose daily signer email limit has no room for its invitations then, it is not failed: it stays `pending` with `next_attempt_at` set to when the room is there, the workspace's other due sends waiting behind it in `send_at` order, for up to 7 days after `send_at`, after which it fails. Any other send that can't be made then becomes `failed` with the reason, nothing is charged, and the member who scheduled it is e-mailed; if that member has left the workspace, it is not made as anyone else: it fails and the workspace's active owners are e-mailed. **List scheduled sends**, **Cancel a scheduled send** and **Send a scheduled send now** follow it. Free workspaces can schedule assignments for up to three signers (`403 FreePlanSignerLimit`).
5806
+ Keeps a **Create assignment** request and makes it at `send_at`, as the member who scheduled it, through the same checks and charges as **Create assignment** then. Nothing is sent or charged now, and nothing changes for the document: it can still be sent at once, and the scheduled send then fails when it goes. A document takes one pending scheduled send at a time, counting one being sent. The request is checked now as **Estimate assignment cost** checks it (the method, each signer's methods, the plan's features), and each signer named must be a contact of the workspace; the balance is checked when it is sent. A job checks every five minutes and makes the sends that are due. On a free plan whose daily signer email limit has no room for its invitations then, it is not failed: it stays `pending` with `next_attempt_at` set to when the room is there, the workspace's other due sends waiting behind it in `send_at` order, for up to 7 days after `send_at`, after which it fails. Any other send that can't be made then becomes `failed` with the reason, nothing is charged, and the member who scheduled it is e-mailed; if that member has left the workspace, it is not made as anyone else: it fails and the workspace's active owners are e-mailed. **List scheduled sends**, **Cancel a scheduled send** and **Send a scheduled send now** follow it. Free workspaces can schedule assignments for up to three signers by default (`403 FreePlanSignerLimit` when the workspace exceeds its limit).
5813
5807
 
5814
5808
  **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
5815
5809
 
@@ -5877,7 +5871,7 @@ Example:
5877
5871
  }
5878
5872
  ```
5879
5873
 
5880
- ##### 403 — The free workspace exceeds three signers (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
5874
+ ##### 403 — The free workspace exceeds its signer limit (`FreePlanSignerLimit`), the plan lacks a verification or notification method sent (`PlanRestricted`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership or a role.
5881
5875
 
5882
5876
  ```json
5883
5877
  {
@@ -6239,7 +6233,7 @@ Makes a `pending` scheduled send's request now rather than at `send_at`: as **Cr
6239
6233
  }
6240
6234
  ```
6241
6235
 
6242
- ##### 403 — The workspace's plan lacks a feature the request uses (`PlanRestricted`), the free workspace exceeds three signers (`FreePlanSignerLimit`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership, a role, or the workspace's deletion pending. The send stays `pending`.
6236
+ ##### 403 — The workspace's plan lacks a feature the request uses (`PlanRestricted`), the free workspace exceeds its signer limit (`FreePlanSignerLimit`), or an OAuth app's token lacks `documents:write` (`InsufficientScope`); also a deactivated membership, a role, or the workspace's deletion pending. The send stays `pending`.
6243
6237
 
6244
6238
  ```json
6245
6239
  {
@@ -6781,962 +6775,6 @@ Example:
6781
6775
  }
6782
6776
  ```
6783
6777
 
6784
- ### Complete a two-factor login
6785
-
6786
- `POST /v1/authentication/mfa/verify`
6787
-
6788
- Exchanges the `mfa_token` returned by login for an access token. `code` is either the 6-digit code from the authenticator app or one of the recovery codes issued at enrollment. The challenge is single-use and expires 5 minutes after login.
6789
-
6790
- **Authentication:** none (public endpoint).
6791
-
6792
- #### Request Body (required)
6793
-
6794
- Fields (`application/json`):
6795
-
6796
- - `mfa_token` (string, required) — The token returned by the login response.
6797
- - `code` (string, required) — A 6-digit authenticator code, or a recovery code such as ABCD-EFGH-JKMN.
6798
-
6799
- Example:
6800
-
6801
- ```json
6802
- {
6803
- "mfa_token": "example_secret",
6804
- "code": "123456"
6805
- }
6806
- ```
6807
-
6808
- #### Responses
6809
-
6810
- ##### 200 — Access token, user and accounts
6811
-
6812
- ```json
6813
- {
6814
- "data": {
6815
- "access_token": "example_credential",
6816
- "user": {
6817
- "id": "example_id_29",
6818
- "name": "John Smith",
6819
- "email": "user9@example.com",
6820
- "telephone": "+5500000000000",
6821
- "government_id": "00000000000",
6822
- "is_email_verified": false,
6823
- "has_accepted_terms": true,
6824
- "created_at": "2023-03-03T11:51:34Z",
6825
- "to_be_deleted_at": null
6826
- },
6827
- "accounts": [
6828
- {
6829
- "id": "example_id_1",
6830
- "name": "JS",
6831
- "roles": [
6832
- "owner"
6833
- ],
6834
- "is_delete_allowed": true,
6835
- "created_at": "2023-03-03T11:51:34Z"
6836
- }
6837
- ]
6838
- },
6839
- "status": 200,
6840
- "message": ""
6841
- }
6842
- ```
6843
-
6844
- ##### 400 — One or more fields failed validation.
6845
-
6846
- ```json
6847
- {
6848
- "status": 400,
6849
- "message": "Bad request.",
6850
- "data": null,
6851
- "code": "PlanRestricted",
6852
- "errors": [
6853
- {
6854
- "field": "full_name",
6855
- "code": "Required",
6856
- "message": "Full Name cannot be blank."
6857
- }
6858
- ]
6859
- }
6860
- ```
6861
-
6862
- ##### 401 — The challenge expired, was already used, or too many codes were tried
6863
-
6864
- ##### 500 — Unexpected server error.
6865
-
6866
- ```json
6867
- {
6868
- "status": 500,
6869
- "message": "Bad request.",
6870
- "data": null,
6871
- "code": "PlanRestricted",
6872
- "errors": [
6873
- {
6874
- "field": "full_name",
6875
- "code": "Required",
6876
- "message": "Full Name cannot be blank."
6877
- }
6878
- ]
6879
- }
6880
- ```
6881
-
6882
- ### List two-factor methods
6883
-
6884
- `GET /v1/users/self/mfa`
6885
-
6886
- The authenticated user's enrolled two-factor methods and how many recovery codes remain unused.
6887
-
6888
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
6889
-
6890
- #### Responses
6891
-
6892
- ##### 200 — Enrolled methods
6893
-
6894
- ```json
6895
- {
6896
- "data": {
6897
- "methods": [
6898
- {
6899
- "id": "example_id_30",
6900
- "type": "Totp",
6901
- "label": "My phone",
6902
- "confirmed_at": "2026-09-09T14:21:03Z",
6903
- "last_used_at": "2026-09-09T18:02:44Z"
6904
- }
6905
- ],
6906
- "recovery_codes_remaining": 8
6907
- },
6908
- "status": 200,
6909
- "message": ""
6910
- }
6911
- ```
6912
-
6913
- ##### 401 — Missing or invalid credentials.
6914
-
6915
- ```json
6916
- {
6917
- "status": 401,
6918
- "message": "Bad request.",
6919
- "data": null,
6920
- "code": "PlanRestricted",
6921
- "errors": [
6922
- {
6923
- "field": "full_name",
6924
- "code": "Required",
6925
- "message": "Full Name cannot be blank."
6926
- }
6927
- ]
6928
- }
6929
- ```
6930
-
6931
- ##### 500 — Unexpected server error.
6932
-
6933
- ```json
6934
- {
6935
- "status": 500,
6936
- "message": "Bad request.",
6937
- "data": null,
6938
- "code": "PlanRestricted",
6939
- "errors": [
6940
- {
6941
- "field": "full_name",
6942
- "code": "Required",
6943
- "message": "Full Name cannot be blank."
6944
- }
6945
- ]
6946
- }
6947
- ```
6948
-
6949
- ### Start authenticator enrollment
6950
-
6951
- `POST /v1/users/self/mfa/totp`
6952
-
6953
- Creates an unconfirmed authenticator method and returns the shared secret. The secret is returned only by this call and cannot be retrieved again. Two-factor authentication is not active until the enrollment is confirmed.
6954
-
6955
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
6956
-
6957
- #### Request Body
6958
-
6959
- Fields (`application/json`):
6960
-
6961
- - `label` (string)
6962
-
6963
- Example:
6964
-
6965
- ```json
6966
- {
6967
- "label": "My phone"
6968
- }
6969
- ```
6970
-
6971
- #### Responses
6972
-
6973
- ##### 200 — Enrollment started
6974
-
6975
- ```json
6976
- {
6977
- "data": {
6978
- "id": "example_id_30",
6979
- "secret": "example_secret",
6980
- "provisioning_uri": "https://example.com/example-url-11"
6981
- },
6982
- "status": 200,
6983
- "message": ""
6984
- }
6985
- ```
6986
-
6987
- ##### 401 — Missing or invalid credentials.
6988
-
6989
- ```json
6990
- {
6991
- "status": 401,
6992
- "message": "Bad request.",
6993
- "data": null,
6994
- "code": "PlanRestricted",
6995
- "errors": [
6996
- {
6997
- "field": "full_name",
6998
- "code": "Required",
6999
- "message": "Full Name cannot be blank."
7000
- }
7001
- ]
7002
- }
7003
- ```
7004
-
7005
- ##### 500 — Unexpected server error.
7006
-
7007
- ```json
7008
- {
7009
- "status": 500,
7010
- "message": "Bad request.",
7011
- "data": null,
7012
- "code": "PlanRestricted",
7013
- "errors": [
7014
- {
7015
- "field": "full_name",
7016
- "code": "Required",
7017
- "message": "Full Name cannot be blank."
7018
- }
7019
- ]
7020
- }
7021
- ```
7022
-
7023
- ### Confirm authenticator enrollment
7024
-
7025
- `PUT /v1/users/self/mfa/totp/confirm`
7026
-
7027
- Activates the method by proving one live code from the NEW device (`code`). Returns the recovery codes, which are shown only once and cannot be retrieved again. From this point every login requires a second factor. If the user already has a confirmed method of the same type, confirming REPLACES it — the old one is soft-deleted and recovery codes are reissued — so this call additionally requires re-authentication via `password` or `reauth_code` (a live code from the CURRENT device, or one of the existing recovery codes), exactly like disabling a method. First-time enrollment needs neither.
7028
-
7029
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7030
-
7031
- #### Request Body (required)
7032
-
7033
- Fields (`application/json`):
7034
-
7035
- - `id` (string, required)
7036
- - `code` (string, required) — Live code from the NEW device being confirmed.
7037
- - `password` (string) — Re-authentication proof, required only when replacing an existing confirmed method.
7038
- - `reauth_code` (string) — Re-authentication proof alternative to password: a live code from the CURRENT device, or a recovery code. Required only when replacing an existing confirmed method.
7039
-
7040
- Example:
7041
-
7042
- ```json
7043
- {
7044
- "id": "example_id_30",
7045
- "code": "123456",
7046
- "password": "example_secret",
7047
- "reauth_code": "string"
7048
- }
7049
- ```
7050
-
7051
- #### Responses
7052
-
7053
- ##### 200 — Two-factor enabled
7054
-
7055
- ```json
7056
- {
7057
- "data": {
7058
- "recovery_codes": [
7059
- "ABCD-EFGH-JKMN"
7060
- ]
7061
- },
7062
- "status": 200,
7063
- "message": ""
7064
- }
7065
- ```
7066
-
7067
- ##### 400 — One or more fields failed validation.
7068
-
7069
- ```json
7070
- {
7071
- "status": 400,
7072
- "message": "Bad request.",
7073
- "data": null,
7074
- "code": "PlanRestricted",
7075
- "errors": [
7076
- {
7077
- "field": "full_name",
7078
- "code": "Required",
7079
- "message": "Full Name cannot be blank."
7080
- }
7081
- ]
7082
- }
7083
- ```
7084
-
7085
- ##### 404 — The requested resource does not exist.
7086
-
7087
- ```json
7088
- {
7089
- "status": 404,
7090
- "message": "Bad request.",
7091
- "data": null,
7092
- "code": "PlanRestricted",
7093
- "errors": [
7094
- {
7095
- "field": "full_name",
7096
- "code": "Required",
7097
- "message": "Full Name cannot be blank."
7098
- }
7099
- ]
7100
- }
7101
- ```
7102
-
7103
- ##### 401 — Missing or invalid credentials.
7104
-
7105
- ```json
7106
- {
7107
- "status": 401,
7108
- "message": "Bad request.",
7109
- "data": null,
7110
- "code": "PlanRestricted",
7111
- "errors": [
7112
- {
7113
- "field": "full_name",
7114
- "code": "Required",
7115
- "message": "Full Name cannot be blank."
7116
- }
7117
- ]
7118
- }
7119
- ```
7120
-
7121
- ##### 500 — Unexpected server error.
7122
-
7123
- ```json
7124
- {
7125
- "status": 500,
7126
- "message": "Bad request.",
7127
- "data": null,
7128
- "code": "PlanRestricted",
7129
- "errors": [
7130
- {
7131
- "field": "full_name",
7132
- "code": "Required",
7133
- "message": "Full Name cannot be blank."
7134
- }
7135
- ]
7136
- }
7137
- ```
7138
-
7139
- ### Regenerate recovery codes
7140
-
7141
- `POST /v1/users/self/mfa/recovery-codes`
7142
-
7143
- Issues a fresh set of ten recovery codes and invalidates the previous set. Requires the current password, a live authenticator code, or one of the existing recovery codes (which is then consumed).
7144
-
7145
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7146
-
7147
- #### Request Body (required)
7148
-
7149
- Fields (`application/json`):
7150
-
7151
- - `password` (string)
7152
- - `code` (string) — A live 6-digit authenticator code, or one of the existing recovery codes.
7153
-
7154
- Example:
7155
-
7156
- ```json
7157
- {
7158
- "password": "example_secret",
7159
- "code": "123456"
7160
- }
7161
- ```
7162
-
7163
- #### Responses
7164
-
7165
- ##### 200 — New recovery codes
7166
-
7167
- ```json
7168
- {
7169
- "data": {
7170
- "recovery_codes": [
7171
- "ABCD-EFGH-JKMN"
7172
- ]
7173
- },
7174
- "status": 200,
7175
- "message": ""
7176
- }
7177
- ```
7178
-
7179
- ##### 400 — One or more fields failed validation.
7180
-
7181
- ```json
7182
- {
7183
- "status": 400,
7184
- "message": "Bad request.",
7185
- "data": null,
7186
- "code": "PlanRestricted",
7187
- "errors": [
7188
- {
7189
- "field": "full_name",
7190
- "code": "Required",
7191
- "message": "Full Name cannot be blank."
7192
- }
7193
- ]
7194
- }
7195
- ```
7196
-
7197
- ##### 401 — Missing or invalid credentials.
7198
-
7199
- ```json
7200
- {
7201
- "status": 401,
7202
- "message": "Bad request.",
7203
- "data": null,
7204
- "code": "PlanRestricted",
7205
- "errors": [
7206
- {
7207
- "field": "full_name",
7208
- "code": "Required",
7209
- "message": "Full Name cannot be blank."
7210
- }
7211
- ]
7212
- }
7213
- ```
7214
-
7215
- ##### 500 — Unexpected server error.
7216
-
7217
- ```json
7218
- {
7219
- "status": 500,
7220
- "message": "Bad request.",
7221
- "data": null,
7222
- "code": "PlanRestricted",
7223
- "errors": [
7224
- {
7225
- "field": "full_name",
7226
- "code": "Required",
7227
- "message": "Full Name cannot be blank."
7228
- }
7229
- ]
7230
- }
7231
- ```
7232
-
7233
- ### Remove a two-factor method
7234
-
7235
- `DELETE /v1/users/self/mfa/{customId}`
7236
-
7237
- Removes an enrolled method. Requires the current password, a live authenticator code, or one of the existing recovery codes (which is then consumed), so that a stolen session cannot silently disable two-factor authentication. Removing the last method also discards the recovery codes.
7238
-
7239
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7240
-
7241
- #### Parameters
7242
-
7243
- | Name | In | Type | Required | Description |
7244
- |---|---|---|---|---|
7245
- | `customId` | path | string | yes | |
7246
-
7247
- #### Request Body (required)
7248
-
7249
- Fields (`application/json`):
7250
-
7251
- - `password` (string)
7252
- - `code` (string) — A live 6-digit authenticator code, or one of the existing recovery codes.
7253
-
7254
- Example:
7255
-
7256
- ```json
7257
- {
7258
- "password": "example_secret",
7259
- "code": "123456"
7260
- }
7261
- ```
7262
-
7263
- #### Responses
7264
-
7265
- ##### 200 — Method removed
7266
-
7267
- ```json
7268
- {
7269
- "data": {
7270
- "is_mfa_enabled": false
7271
- },
7272
- "status": 200,
7273
- "message": ""
7274
- }
7275
- ```
7276
-
7277
- ##### 400 — One or more fields failed validation.
7278
-
7279
- ```json
7280
- {
7281
- "status": 400,
7282
- "message": "Bad request.",
7283
- "data": null,
7284
- "code": "PlanRestricted",
7285
- "errors": [
7286
- {
7287
- "field": "full_name",
7288
- "code": "Required",
7289
- "message": "Full Name cannot be blank."
7290
- }
7291
- ]
7292
- }
7293
- ```
7294
-
7295
- ##### 404 — The requested resource does not exist.
7296
-
7297
- ```json
7298
- {
7299
- "status": 404,
7300
- "message": "Bad request.",
7301
- "data": null,
7302
- "code": "PlanRestricted",
7303
- "errors": [
7304
- {
7305
- "field": "full_name",
7306
- "code": "Required",
7307
- "message": "Full Name cannot be blank."
7308
- }
7309
- ]
7310
- }
7311
- ```
7312
-
7313
- ##### 401 — Missing or invalid credentials.
7314
-
7315
- ```json
7316
- {
7317
- "status": 401,
7318
- "message": "Bad request.",
7319
- "data": null,
7320
- "code": "PlanRestricted",
7321
- "errors": [
7322
- {
7323
- "field": "full_name",
7324
- "code": "Required",
7325
- "message": "Full Name cannot be blank."
7326
- }
7327
- ]
7328
- }
7329
- ```
7330
-
7331
- ##### 500 — Unexpected server error.
7332
-
7333
- ```json
7334
- {
7335
- "status": 500,
7336
- "message": "Bad request.",
7337
- "data": null,
7338
- "code": "PlanRestricted",
7339
- "errors": [
7340
- {
7341
- "field": "full_name",
7342
- "code": "Required",
7343
- "message": "Full Name cannot be blank."
7344
- }
7345
- ]
7346
- }
7347
- ```
7348
-
7349
- ### Social login
7350
-
7351
- `POST /v1/authentication/social-login`
7352
-
7353
- Exchange a token from a social login provider (currently only `google`) for an Assinafy access token.
7354
-
7355
- **Authentication:** none (public endpoint).
7356
-
7357
- #### Request Body (required)
7358
-
7359
- Fields (`application/json`):
7360
-
7361
- - `provider` (string, required)
7362
- - `token` (string, required) — Access/ID token from the provider.
7363
- - `has_accepted_terms` (boolean, required)
7364
-
7365
- Example:
7366
-
7367
- ```json
7368
- {
7369
- "provider": "google",
7370
- "token": "example_secret",
7371
- "has_accepted_terms": true
7372
- }
7373
- ```
7374
-
7375
- #### Responses
7376
-
7377
- ##### 200 — Access token, user and accounts
7378
-
7379
- ```json
7380
- {
7381
- "data": {
7382
- "access_token": "example_credential",
7383
- "user": {
7384
- "id": "example_id_29",
7385
- "name": "John Smith",
7386
- "email": "user9@example.com",
7387
- "telephone": "+5500000000000",
7388
- "government_id": "00000000000",
7389
- "is_email_verified": false,
7390
- "has_accepted_terms": true,
7391
- "created_at": "2023-03-03T11:51:34Z",
7392
- "to_be_deleted_at": null
7393
- },
7394
- "accounts": [
7395
- {
7396
- "id": "example_id_1",
7397
- "name": "JS",
7398
- "roles": [
7399
- "owner"
7400
- ],
7401
- "is_delete_allowed": true,
7402
- "created_at": "2023-03-03T11:51:34Z"
7403
- }
7404
- ]
7405
- },
7406
- "status": 200,
7407
- "message": ""
7408
- }
7409
- ```
7410
-
7411
- ##### 400 — One or more fields failed validation.
7412
-
7413
- ```json
7414
- {
7415
- "status": 400,
7416
- "message": "Bad request.",
7417
- "data": null,
7418
- "code": "PlanRestricted",
7419
- "errors": [
7420
- {
7421
- "field": "full_name",
7422
- "code": "Required",
7423
- "message": "Full Name cannot be blank."
7424
- }
7425
- ]
7426
- }
7427
- ```
7428
-
7429
- ##### 500 — Unexpected server error.
7430
-
7431
- ```json
7432
- {
7433
- "status": 500,
7434
- "message": "Bad request.",
7435
- "data": null,
7436
- "code": "PlanRestricted",
7437
- "errors": [
7438
- {
7439
- "field": "full_name",
7440
- "code": "Required",
7441
- "message": "Full Name cannot be blank."
7442
- }
7443
- ]
7444
- }
7445
- ```
7446
-
7447
- ### Link social login
7448
-
7449
- `POST /v1/auth/link-social-login`
7450
-
7451
- Link a social-login provider account to the authenticated user.
7452
-
7453
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7454
-
7455
- #### Request Body (required)
7456
-
7457
- Fields (`application/json`):
7458
-
7459
- - `provider` (string, required)
7460
- - `token` (string, required) — Token from the provider.
7461
-
7462
- Example:
7463
-
7464
- ```json
7465
- {
7466
- "provider": "google",
7467
- "token": "example_secret"
7468
- }
7469
- ```
7470
-
7471
- #### Responses
7472
-
7473
- ##### 200 — Provider linked
7474
-
7475
- ```json
7476
- {
7477
- "status": 200,
7478
- "message": ""
7479
- }
7480
- ```
7481
-
7482
- ##### 400 — One or more fields failed validation.
7483
-
7484
- ```json
7485
- {
7486
- "status": 400,
7487
- "message": "Bad request.",
7488
- "data": null,
7489
- "code": "PlanRestricted",
7490
- "errors": [
7491
- {
7492
- "field": "full_name",
7493
- "code": "Required",
7494
- "message": "Full Name cannot be blank."
7495
- }
7496
- ]
7497
- }
7498
- ```
7499
-
7500
- ##### 401 — Missing or invalid credentials.
7501
-
7502
- ```json
7503
- {
7504
- "status": 401,
7505
- "message": "Bad request.",
7506
- "data": null,
7507
- "code": "PlanRestricted",
7508
- "errors": [
7509
- {
7510
- "field": "full_name",
7511
- "code": "Required",
7512
- "message": "Full Name cannot be blank."
7513
- }
7514
- ]
7515
- }
7516
- ```
7517
-
7518
- ##### 500 — Unexpected server error.
7519
-
7520
- ```json
7521
- {
7522
- "status": 500,
7523
- "message": "Bad request.",
7524
- "data": null,
7525
- "code": "PlanRestricted",
7526
- "errors": [
7527
- {
7528
- "field": "full_name",
7529
- "code": "Required",
7530
- "message": "Full Name cannot be blank."
7531
- }
7532
- ]
7533
- }
7534
- ```
7535
-
7536
- ### Get API key
7537
-
7538
- `GET /v1/users/api-keys`
7539
-
7540
- Retrieve a masked version of the existing API key. The full key cannot be retrieved. Returns `null` when no key has been generated yet.
7541
-
7542
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7543
-
7544
- #### Responses
7545
-
7546
- ##### 200 — The masked API key
7547
-
7548
- ```json
7549
- {
7550
- "data": {
7551
- "api_key": "example_credential"
7552
- },
7553
- "status": 200,
7554
- "message": ""
7555
- }
7556
- ```
7557
-
7558
- ##### 401 — Missing or invalid credentials.
7559
-
7560
- ```json
7561
- {
7562
- "status": 401,
7563
- "message": "Bad request.",
7564
- "data": null,
7565
- "code": "PlanRestricted",
7566
- "errors": [
7567
- {
7568
- "field": "full_name",
7569
- "code": "Required",
7570
- "message": "Full Name cannot be blank."
7571
- }
7572
- ]
7573
- }
7574
- ```
7575
-
7576
- ##### 500 — Unexpected server error.
7577
-
7578
- ```json
7579
- {
7580
- "status": 500,
7581
- "message": "Bad request.",
7582
- "data": null,
7583
- "code": "PlanRestricted",
7584
- "errors": [
7585
- {
7586
- "field": "full_name",
7587
- "code": "Required",
7588
- "message": "Full Name cannot be blank."
7589
- }
7590
- ]
7591
- }
7592
- ```
7593
-
7594
- ### Create API key
7595
-
7596
- `POST /v1/users/api-keys`
7597
-
7598
- Generate an API key for the user, used via the `X-Api-Key` header. Generating a new key deletes the previous one. Never use an API key from a front-end application. Requires a verified e-mail address and a confirmed two-factor authentication method. Otherwise returns `403` with code `EmailNotVerified` or `MfaRequired`.
7599
-
7600
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7601
-
7602
- #### Request Body (required)
7603
-
7604
- Fields (`application/json`):
7605
-
7606
- - `password` (string, required) — The user's password.
7607
-
7608
- Example:
7609
-
7610
- ```json
7611
- {
7612
- "password": "example_secret"
7613
- }
7614
- ```
7615
-
7616
- #### Responses
7617
-
7618
- ##### 200 — The generated API key (shown in full only once)
7619
-
7620
- ```json
7621
- {
7622
- "data": {
7623
- "api_key": "example_credential"
7624
- },
7625
- "status": 200,
7626
- "message": ""
7627
- }
7628
- ```
7629
-
7630
- ##### 403 — Authenticated but not allowed to perform this action.
7631
-
7632
- ```json
7633
- {
7634
- "status": 403,
7635
- "message": "Bad request.",
7636
- "data": null,
7637
- "code": "PlanRestricted",
7638
- "errors": [
7639
- {
7640
- "field": "full_name",
7641
- "code": "Required",
7642
- "message": "Full Name cannot be blank."
7643
- }
7644
- ]
7645
- }
7646
- ```
7647
-
7648
- ##### 401 — Missing or invalid credentials.
7649
-
7650
- ```json
7651
- {
7652
- "status": 401,
7653
- "message": "Bad request.",
7654
- "data": null,
7655
- "code": "PlanRestricted",
7656
- "errors": [
7657
- {
7658
- "field": "full_name",
7659
- "code": "Required",
7660
- "message": "Full Name cannot be blank."
7661
- }
7662
- ]
7663
- }
7664
- ```
7665
-
7666
- ##### 500 — Unexpected server error.
7667
-
7668
- ```json
7669
- {
7670
- "status": 500,
7671
- "message": "Bad request.",
7672
- "data": null,
7673
- "code": "PlanRestricted",
7674
- "errors": [
7675
- {
7676
- "field": "full_name",
7677
- "code": "Required",
7678
- "message": "Full Name cannot be blank."
7679
- }
7680
- ]
7681
- }
7682
- ```
7683
-
7684
- ### Delete API key
7685
-
7686
- `DELETE /v1/users/api-keys`
7687
-
7688
- Delete the existing API key.
7689
-
7690
- **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
7691
-
7692
- #### Responses
7693
-
7694
- ##### 200 — API key deleted
7695
-
7696
- ```json
7697
- {
7698
- "data": [],
7699
- "status": 200,
7700
- "message": ""
7701
- }
7702
- ```
7703
-
7704
- ##### 401 — Missing or invalid credentials.
7705
-
7706
- ```json
7707
- {
7708
- "status": 401,
7709
- "message": "Bad request.",
7710
- "data": null,
7711
- "code": "PlanRestricted",
7712
- "errors": [
7713
- {
7714
- "field": "full_name",
7715
- "code": "Required",
7716
- "message": "Full Name cannot be blank."
7717
- }
7718
- ]
7719
- }
7720
- ```
7721
-
7722
- ##### 500 — Unexpected server error.
7723
-
7724
- ```json
7725
- {
7726
- "status": 500,
7727
- "message": "Bad request.",
7728
- "data": null,
7729
- "code": "PlanRestricted",
7730
- "errors": [
7731
- {
7732
- "field": "full_name",
7733
- "code": "Required",
7734
- "message": "Full Name cannot be blank."
7735
- }
7736
- ]
7737
- }
7738
- ```
7739
-
7740
6778
  ## Contracts
7741
6779
 
7742
6780
  ### List contracts
@@ -7777,7 +6815,7 @@ List the contract terms tracked on the workspace's documents, most recently upda
7777
6815
  "message": "",
7778
6816
  "data": [
7779
6817
  {
7780
- "document_id": "example_id_31",
6818
+ "document_id": "example_id_30",
7781
6819
  "status": "active",
7782
6820
  "counterparty_name": "Acme Ltda",
7783
6821
  "counterparty_taxpayer_id": "00000000000",
@@ -7789,14 +6827,14 @@ List the contract terms tracked on the workspace's documents, most recently upda
7789
6827
  "renewal_term_months": 12,
7790
6828
  "notice_period_days": 30,
7791
6829
  "term": 1,
7792
- "owner_id": "example_id_32",
6830
+ "owner_id": "example_id_31",
7793
6831
  "metadata": {
7794
6832
  "crm_stage": "won"
7795
6833
  },
7796
6834
  "external_references": [
7797
6835
  {
7798
6836
  "system": "hubspot",
7799
- "id": "example_id_33"
6837
+ "id": "example_id_32"
7800
6838
  }
7801
6839
  ],
7802
6840
  "created_at": "2026-10-23T12:00:00Z",
@@ -7814,7 +6852,7 @@ List the contract terms tracked on the workspace's documents, most recently upda
7814
6852
  "message": "",
7815
6853
  "data": [
7816
6854
  {
7817
- "document_id": "example_id_31",
6855
+ "document_id": "example_id_30",
7818
6856
  "status": "active",
7819
6857
  "counterparty_name": "Acme Ltda",
7820
6858
  "counterparty_taxpayer_id": "00000000000",
@@ -7826,29 +6864,29 @@ List the contract terms tracked on the workspace's documents, most recently upda
7826
6864
  "renewal_term_months": 12,
7827
6865
  "notice_period_days": 30,
7828
6866
  "term": 1,
7829
- "owner_id": "example_id_32",
6867
+ "owner_id": "example_id_31",
7830
6868
  "metadata": {
7831
6869
  "crm_stage": "won"
7832
6870
  },
7833
6871
  "external_references": [
7834
6872
  {
7835
6873
  "system": "hubspot",
7836
- "id": "example_id_33"
6874
+ "id": "example_id_32"
7837
6875
  }
7838
6876
  ],
7839
6877
  "created_at": "2026-10-23T12:00:00Z",
7840
6878
  "updated_at": "2026-10-23T12:00:00Z",
7841
6879
  "document": {
7842
- "id": "example_id_31",
6880
+ "id": "example_id_30",
7843
6881
  "account_id": "example_id_4",
7844
6882
  "template_id": null,
7845
6883
  "name": "Contrato de prestação de serviços.pdf",
7846
6884
  "status": "certificated",
7847
6885
  "artifacts": {
7848
- "original": "https://example.com/example-url-12"
6886
+ "original": "https://example.com/example-url-11"
7849
6887
  },
7850
6888
  "is_closed": true,
7851
- "signing_url": "https://example.com/example-url-13",
6889
+ "signing_url": "https://example.com/example-url-12",
7852
6890
  "verification_code": "example_secret",
7853
6891
  "verification_url": "https://example.com/example-url-4",
7854
6892
  "decline_reason": null,
@@ -7946,7 +6984,7 @@ The contract terms tracked on a document, with `amendments`: the documents that
7946
6984
  "message": "",
7947
6985
  "data": {
7948
6986
  "resource": "document_contract",
7949
- "document_id": "example_id_31",
6987
+ "document_id": "example_id_30",
7950
6988
  "status": "active",
7951
6989
  "counterparty_name": "Acme Ltda",
7952
6990
  "counterparty_taxpayer_id": "00000000000",
@@ -7958,23 +6996,23 @@ The contract terms tracked on a document, with `amendments`: the documents that
7958
6996
  "renewal_term_months": 12,
7959
6997
  "notice_period_days": 30,
7960
6998
  "term": 2,
7961
- "owner_id": "example_id_32",
6999
+ "owner_id": "example_id_31",
7962
7000
  "metadata": {
7963
7001
  "crm_stage": "won"
7964
7002
  },
7965
7003
  "external_references": [
7966
7004
  {
7967
7005
  "system": "hubspot",
7968
- "id": "example_id_33"
7006
+ "id": "example_id_32"
7969
7007
  }
7970
7008
  ],
7971
7009
  "created_at": "2026-10-23T12:00:00Z",
7972
7010
  "updated_at": "2027-05-12T18:20:00Z",
7973
7011
  "amendments": [
7974
7012
  {
7975
- "document_id": "example_id_34",
7013
+ "document_id": "example_id_33",
7976
7014
  "document_name": "Aditivo 1 - Contrato de prestação de serviços.pdf",
7977
- "parent_document_id": "example_id_31",
7015
+ "parent_document_id": "example_id_30",
7978
7016
  "relation_type": "amendment",
7979
7017
  "number": 1,
7980
7018
  "status": "applied",
@@ -8016,9 +7054,9 @@ The contract terms tracked on a document, with `amendments`: the documents that
8016
7054
  "message": "",
8017
7055
  "data": {
8018
7056
  "resource": "document_contract_amendment",
8019
- "document_id": "example_id_34",
7057
+ "document_id": "example_id_33",
8020
7058
  "document_name": "Aditivo 1 - Contrato de prestação de serviços.pdf",
8021
- "parent_document_id": "example_id_31",
7059
+ "parent_document_id": "example_id_30",
8022
7060
  "relation_type": "amendment",
8023
7061
  "number": null,
8024
7062
  "status": "pending",
@@ -8146,14 +7184,14 @@ Example — Set every term:
8146
7184
  "auto_renew": true,
8147
7185
  "renewal_term_months": 12,
8148
7186
  "notice_period_days": 30,
8149
- "owner_id": "example_id_32",
7187
+ "owner_id": "example_id_31",
8150
7188
  "metadata": {
8151
7189
  "crm_stage": "won"
8152
7190
  },
8153
7191
  "external_references": [
8154
7192
  {
8155
7193
  "system": "hubspot",
8156
- "id": "example_id_33"
7194
+ "id": "example_id_32"
8157
7195
  }
8158
7196
  ]
8159
7197
  }
@@ -8175,11 +7213,11 @@ Example — Replace the external references:
8175
7213
  "external_references": [
8176
7214
  {
8177
7215
  "system": "hubspot",
8178
- "id": "example_id_33"
7216
+ "id": "example_id_32"
8179
7217
  },
8180
7218
  {
8181
7219
  "system": "erp",
8182
- "id": "example_id_35"
7220
+ "id": "example_id_34"
8183
7221
  }
8184
7222
  ]
8185
7223
  }
@@ -8189,7 +7227,7 @@ Example — Link an aditivo that changes the value and the end date:
8189
7227
 
8190
7228
  ```json
8191
7229
  {
8192
- "parent_document_id": "example_id_31",
7230
+ "parent_document_id": "example_id_30",
8193
7231
  "relation_type": "amendment",
8194
7232
  "value": 130000,
8195
7233
  "end_date": "2028-06-30"
@@ -8208,7 +7246,7 @@ Example — Link an aditivo that changes the value and the end date:
8208
7246
  "message": "",
8209
7247
  "data": {
8210
7248
  "resource": "document_contract",
8211
- "document_id": "example_id_31",
7249
+ "document_id": "example_id_30",
8212
7250
  "status": "active",
8213
7251
  "counterparty_name": "Acme Ltda",
8214
7252
  "counterparty_taxpayer_id": "00000000000",
@@ -8220,14 +7258,14 @@ Example — Link an aditivo that changes the value and the end date:
8220
7258
  "renewal_term_months": 12,
8221
7259
  "notice_period_days": 30,
8222
7260
  "term": 1,
8223
- "owner_id": "example_id_32",
7261
+ "owner_id": "example_id_31",
8224
7262
  "metadata": {
8225
7263
  "crm_stage": "won"
8226
7264
  },
8227
7265
  "external_references": [
8228
7266
  {
8229
7267
  "system": "hubspot",
8230
- "id": "example_id_33"
7268
+ "id": "example_id_32"
8231
7269
  }
8232
7270
  ],
8233
7271
  "created_at": "2026-10-23T12:00:00Z",
@@ -8244,9 +7282,9 @@ Example — Link an aditivo that changes the value and the end date:
8244
7282
  "message": "",
8245
7283
  "data": {
8246
7284
  "resource": "document_contract_amendment",
8247
- "document_id": "example_id_34",
7285
+ "document_id": "example_id_33",
8248
7286
  "document_name": "Aditivo 1 - Contrato de prestação de serviços.pdf",
8249
- "parent_document_id": "example_id_31",
7287
+ "parent_document_id": "example_id_30",
8250
7288
  "relation_type": "amendment",
8251
7289
  "number": null,
8252
7290
  "status": "pending",
@@ -8286,9 +7324,9 @@ Example — Link an aditivo that changes the value and the end date:
8286
7324
  "message": "",
8287
7325
  "data": {
8288
7326
  "resource": "document_contract_amendment",
8289
- "document_id": "example_id_34",
7327
+ "document_id": "example_id_33",
8290
7328
  "document_name": "Aditivo 1 - Contrato de prestação de serviços.pdf",
8291
- "parent_document_id": "example_id_31",
7329
+ "parent_document_id": "example_id_30",
8292
7330
  "relation_type": "amendment",
8293
7331
  "number": 1,
8294
7332
  "status": "applied",
@@ -8434,7 +7472,7 @@ The family the document belongs to, seen from its root: the contract terms with
8434
7472
  "message": "",
8435
7473
  "data": {
8436
7474
  "resource": "document_contract",
8437
- "document_id": "example_id_31",
7475
+ "document_id": "example_id_30",
8438
7476
  "status": "active",
8439
7477
  "counterparty_name": "Acme Ltda",
8440
7478
  "counterparty_taxpayer_id": "00000000000",
@@ -8446,23 +7484,23 @@ The family the document belongs to, seen from its root: the contract terms with
8446
7484
  "renewal_term_months": 12,
8447
7485
  "notice_period_days": 30,
8448
7486
  "term": 2,
8449
- "owner_id": "example_id_32",
7487
+ "owner_id": "example_id_31",
8450
7488
  "metadata": {
8451
7489
  "crm_stage": "won"
8452
7490
  },
8453
7491
  "external_references": [
8454
7492
  {
8455
7493
  "system": "hubspot",
8456
- "id": "example_id_33"
7494
+ "id": "example_id_32"
8457
7495
  }
8458
7496
  ],
8459
7497
  "created_at": "2026-10-23T12:00:00Z",
8460
7498
  "updated_at": "2027-05-12T18:20:00Z",
8461
7499
  "amendments": [
8462
7500
  {
8463
- "document_id": "example_id_34",
7501
+ "document_id": "example_id_33",
8464
7502
  "document_name": "Aditivo 1 - Contrato de prestação de serviços.pdf",
8465
- "parent_document_id": "example_id_31",
7503
+ "parent_document_id": "example_id_30",
8466
7504
  "relation_type": "amendment",
8467
7505
  "number": 1,
8468
7506
  "status": "applied",
@@ -8596,7 +7634,7 @@ Example — Renew to a date with a new value:
8596
7634
  "message": "",
8597
7635
  "data": {
8598
7636
  "resource": "document_contract",
8599
- "document_id": "example_id_31",
7637
+ "document_id": "example_id_30",
8600
7638
  "status": "active",
8601
7639
  "counterparty_name": "Acme Ltda",
8602
7640
  "counterparty_taxpayer_id": "00000000000",
@@ -8608,14 +7646,14 @@ Example — Renew to a date with a new value:
8608
7646
  "renewal_term_months": 12,
8609
7647
  "notice_period_days": 30,
8610
7648
  "term": 2,
8611
- "owner_id": "example_id_32",
7649
+ "owner_id": "example_id_31",
8612
7650
  "metadata": {
8613
7651
  "crm_stage": "won"
8614
7652
  },
8615
7653
  "external_references": [
8616
7654
  {
8617
7655
  "system": "hubspot",
8618
- "id": "example_id_33"
7656
+ "id": "example_id_32"
8619
7657
  }
8620
7658
  ],
8621
7659
  "created_at": "2026-10-23T12:00:00Z",
@@ -8753,7 +7791,7 @@ Example — Terminate with a reason:
8753
7791
  "message": "",
8754
7792
  "data": {
8755
7793
  "resource": "document_contract",
8756
- "document_id": "example_id_31",
7794
+ "document_id": "example_id_30",
8757
7795
  "status": "terminated",
8758
7796
  "counterparty_name": "Acme Ltda",
8759
7797
  "counterparty_taxpayer_id": "00000000000",
@@ -8765,14 +7803,14 @@ Example — Terminate with a reason:
8765
7803
  "renewal_term_months": 12,
8766
7804
  "notice_period_days": 30,
8767
7805
  "term": 1,
8768
- "owner_id": "example_id_32",
7806
+ "owner_id": "example_id_31",
8769
7807
  "metadata": {
8770
7808
  "crm_stage": "won"
8771
7809
  },
8772
7810
  "external_references": [
8773
7811
  {
8774
7812
  "system": "hubspot",
8775
- "id": "example_id_33"
7813
+ "id": "example_id_32"
8776
7814
  }
8777
7815
  ],
8778
7816
  "created_at": "2026-10-23T12:00:00Z",
@@ -8892,8 +7930,8 @@ List the origins allowed to embed the workspace's signing pages, oldest first. R
8892
7930
  {
8893
7931
  "data": [
8894
7932
  {
8895
- "id": "example_id_36",
8896
- "origin": "https://example.com/example-url-14",
7933
+ "id": "example_id_35",
7934
+ "origin": "https://example.com/example-url-13",
8897
7935
  "created_at": "2026-11-04T12:05:00Z"
8898
7936
  }
8899
7937
  ],
@@ -8980,7 +8018,7 @@ Example:
8980
8018
 
8981
8019
  ```json
8982
8020
  {
8983
- "origin": "https://example.com/example-url-14"
8021
+ "origin": "https://example.com/example-url-13"
8984
8022
  }
8985
8023
  ```
8986
8024
 
@@ -8991,8 +8029,8 @@ Example:
8991
8029
  ```json
8992
8030
  {
8993
8031
  "data": {
8994
- "id": "example_id_36",
8995
- "origin": "https://example.com/example-url-14",
8032
+ "id": "example_id_35",
8033
+ "origin": "https://example.com/example-url-13",
8996
8034
  "created_at": "2026-11-04T12:05:00Z"
8997
8035
  },
8998
8036
  "status": 200,
@@ -9097,7 +8135,7 @@ Example:
9097
8135
 
9098
8136
  ```json
9099
8137
  {
9100
- "origin": "https://example.com/example-url-14"
8138
+ "origin": "https://example.com/example-url-13"
9101
8139
  }
9102
8140
  ```
9103
8141
 
@@ -9108,8 +8146,8 @@ Example:
9108
8146
  ```json
9109
8147
  {
9110
8148
  "data": {
9111
- "id": "example_id_36",
9112
- "origin": "https://example.com/example-url-14",
8149
+ "id": "example_id_35",
8150
+ "origin": "https://example.com/example-url-13",
9113
8151
  "created_at": "2026-11-04T12:05:00Z"
9114
8152
  },
9115
8153
  "status": 200,
@@ -9329,7 +8367,7 @@ Mint a single-use embed URL for a signer created with `embedded: true`. Load the
9329
8367
  ```json
9330
8368
  {
9331
8369
  "data": {
9332
- "url": "https://example.com/example-url-15",
8370
+ "url": "https://example.com/example-url-14",
9333
8371
  "expires_at": "2026-11-04T12:05:00Z"
9334
8372
  },
9335
8373
  "status": 200,
@@ -9439,7 +8477,7 @@ Example:
9439
8477
 
9440
8478
  ```json
9441
8479
  {
9442
- "parent_origin": "https://example.com/example-url-14"
8480
+ "parent_origin": "https://example.com/example-url-13"
9443
8481
  }
9444
8482
  ```
9445
8483
 
@@ -9451,11 +8489,11 @@ Example:
9451
8489
  {
9452
8490
  "data": {
9453
8491
  "signer_access_code": "example_secret",
9454
- "signer_id": "example_id_36",
9455
- "document_id": "example_id_37",
8492
+ "signer_id": "example_id_35",
8493
+ "document_id": "example_id_36",
9456
8494
  "verification_method": "Email",
9457
8495
  "embed_origins": [
9458
- "https://example.com/example-url-14"
8496
+ "https://example.com/example-url-13"
9459
8497
  ]
9460
8498
  },
9461
8499
  "status": 200,
@@ -9514,7 +8552,7 @@ The workspace's envelopes, the most recent first: each with its documents in ord
9514
8552
  "data": [
9515
8553
  {
9516
8554
  "resource": "envelope",
9517
- "id": "example_id_38",
8555
+ "id": "example_id_37",
9518
8556
  "name": "Contrato de prestação de serviços",
9519
8557
  "message": "Segue o contrato e seus anexos.",
9520
8558
  "documents": [
@@ -9524,8 +8562,8 @@ The workspace's envelopes, the most recent first: each with its documents in ord
9524
8562
  "name": "contrato.pdf",
9525
8563
  "status": "pending_signature",
9526
8564
  "artifacts": {
9527
- "original": "https://example.com/example-url-16",
9528
- "thumbnail": "https://example.com/example-url-17"
8565
+ "original": "https://example.com/example-url-15",
8566
+ "thumbnail": "https://example.com/example-url-16"
9529
8567
  },
9530
8568
  "signers": [
9531
8569
  {
@@ -9650,7 +8688,7 @@ The workspace's envelopes, the most recent first: each with its documents in ord
9650
8688
 
9651
8689
  `POST /v1/accounts/{accountId}/envelopes`
9652
8690
 
9653
- Send several documents to the same signers at once. Each document gets its own assignment and keeps its own status, certificate and downloads; one invitation goes to each signer, through the methods sent for them, for all the documents they are on, from the first of them. A send that fails is recorded on that signer's request (`notification_history`) and doesn't undo the envelope: `200` means the envelope was created, not that every invitation was delivered. The envelope is charged as one document, whatever its documents, each signer's notifications and identity check once for the whole envelope, and each digital-certificate signature on every document it is made on. Every document must be uploaded and processed (`metadata_ready`) with no assignment, and every listed signer must be on at least one document. Each document is signed on its virtual page or, with `collect`, on the fields placed on its pages, as on an assignment; a digital-certificate signer signs only virtual documents, alone on each. Needs the Envelopes feature on the workspace's plan (`403` with code `PlanRestricted` otherwise). Free workspaces can use up to three distinct signers across the envelope (`403 FreePlanSignerLimit`). A refused request creates and charges nothing; `errors` names every field at fault.
8691
+ Send several documents to the same signers at once. Each document gets its own assignment and keeps its own status, certificate and downloads; one invitation goes to each signer, through the methods sent for them, for all the documents they are on, from the first of them. A send that fails is recorded on that signer's request (`notification_history`) and doesn't undo the envelope: `200` means the envelope was created, not that every invitation was delivered. The envelope is charged as one document, whatever its documents, each signer's notifications and identity check once for the whole envelope, and each digital-certificate signature on every document it is made on. Every document must be uploaded and processed (`metadata_ready`) with no assignment, and every listed signer must be on at least one document. Each document is signed on its virtual page or, with `collect`, on the fields placed on its pages, as on an assignment; a digital-certificate signer signs only virtual documents, alone on each. Needs the Envelopes feature on the workspace's plan (`403` with code `PlanRestricted` otherwise). Free workspaces can use up to three distinct signers across the envelope by default (`403 FreePlanSignerLimit` when the workspace exceeds its limit). A refused request creates and charges nothing; `errors` names every field at fault.
9654
8692
 
9655
8693
  **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
9656
8694
 
@@ -9717,7 +8755,7 @@ Example:
9717
8755
  ],
9718
8756
  "expires_at": "2026-12-31T23:59:59Z",
9719
8757
  "copy_receiver_ids": [
9720
- "example_id_39"
8758
+ "example_id_38"
9721
8759
  ]
9722
8760
  }
9723
8761
  ]
@@ -9732,7 +8770,7 @@ Example:
9732
8770
  {
9733
8771
  "data": {
9734
8772
  "resource": "envelope",
9735
- "id": "example_id_38",
8773
+ "id": "example_id_37",
9736
8774
  "name": "Contrato de prestação de serviços",
9737
8775
  "message": "Segue o contrato e seus anexos.",
9738
8776
  "documents": [
@@ -9742,8 +8780,8 @@ Example:
9742
8780
  "name": "contrato.pdf",
9743
8781
  "status": "pending_signature",
9744
8782
  "artifacts": {
9745
- "original": "https://example.com/example-url-16",
9746
- "thumbnail": "https://example.com/example-url-17"
8783
+ "original": "https://example.com/example-url-15",
8784
+ "thumbnail": "https://example.com/example-url-16"
9747
8785
  },
9748
8786
  "signers": [
9749
8787
  {
@@ -9775,7 +8813,7 @@ Example:
9775
8813
  }
9776
8814
  ```
9777
8815
 
9778
- ##### 400 — Refused as sent; nothing was created or charged. Each field at fault is an entry of `errors` (a list refused as a whole is not read item by item), an item of a list named by its index (`documents[1].signer_ids`): `name`; `message` (not text); `signers` and `documents` (missing, empty, not a list, or more than 20 signers or 20 documents; `documents` also when its documents hold more than 2,000 fields between them, a virtual document's being one per signer, or more than 100 copy receivers); `signers[i].id` (missing, listed twice, not a signer of the workspace, or on no document); `signers[i].verification_method` (not a code); `signers[i].notification_methods` (not a list of codes); `signers[i].step` (sent at all); `documents[i].id` (missing, listed twice, or a document that can't take the assignment: not found, not `metadata_ready`, or already assigned); `documents[i].method` (other than `virtual` or `collect`); `documents[i].entries` (missing for `collect`, or not a list of pages with fields naming their `signer_id`); `documents[i].expires_at` (not text, a number or null); `documents[i].signer_ids` (missing, not a list of ids, a signer not listed once in `signers`, for `collect` not exactly the signers on its fields, or a digital-certificate signer on a `collect` document or with another signer). A page or field the assignment doesn't find on a `collect` document, a method code the platform doesn't know, a verification and notification that don't pair, a signer without the e-mail or WhatsApp number their method needs, an `embedded` other than `true`, `false`, `1` or `0` (`null` reads as left out, as on an assignment) or set for a signer verified other than by Bypass, Email or WhatsApp, a balance too low for the envelope, an `expires_at` or `copy_receiver_ids` the assignment refuses, and a document another request assigned or put back into processing meanwhile answer `400` with `message` only, as on an assignment.
8816
+ ##### 400 — Refused as sent; nothing was created or charged. Each field at fault is an entry of `errors` (a list refused as a whole is not read item by item), an item of a list named by its index (`documents[1].signer_ids`): `name`; `message` (not text); `signers` and `documents` (missing, empty, not a list, or more than 20 signers or 20 documents; `documents` also when its documents hold more than 2,000 fields between them, a virtual document's being one per signer, or more than 100 copy receivers); `signers[i].id` (missing, listed twice, not a signer of the workspace, or on no document); `signers[i].verification_method` (not a code); `signers[i].notification_methods` (not a list of codes); `signers[i].step` (sent at all); `documents[i].id` (missing, listed twice, or a document that can't take the assignment: not found, not `metadata_ready`, or already assigned); `documents[i].method` (other than `virtual` or `collect`); `documents[i].entries` (missing for `collect`, or not a list of pages with fields naming their `signer_id`); `documents[i].expires_at` (not text, a number or null); `documents[i].signer_ids` (missing, not a list of ids, a signer not listed once in `signers`, for `collect` not exactly the signers on its fields, or a digital-certificate signer on a `collect` document or with another signer). A page or field the assignment doesn't find on a `collect` document, a method code the platform doesn't know, a verification and notification that don't pair, a signer without the e-mail or WhatsApp number their method needs, an `embedded` other than `true`, `false`, `1` or `0` (`null` reads as left out, as on an assignment) or set for a signer verified other than by Email or WhatsApp, a balance too low for the envelope, an `expires_at` or `copy_receiver_ids` the assignment refuses, and a document another request assigned or put back into processing meanwhile answer `400` with `message` only, as on an assignment.
9779
8817
 
9780
8818
  ```json
9781
8819
  {
@@ -9791,7 +8829,7 @@ Example:
9791
8829
  }
9792
8830
  ```
9793
8831
 
9794
- ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds three signers (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
8832
+ ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds its signer limit (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
9795
8833
 
9796
8834
  ```json
9797
8835
  {
@@ -9953,7 +8991,7 @@ Example:
9953
8991
  ],
9954
8992
  "expires_at": "2026-12-31T23:59:59Z",
9955
8993
  "copy_receiver_ids": [
9956
- "example_id_39"
8994
+ "example_id_38"
9957
8995
  ]
9958
8996
  }
9959
8997
  ]
@@ -10008,7 +9046,7 @@ Example:
10008
9046
  }
10009
9047
  ```
10010
9048
 
10011
- ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds three signers (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
9049
+ ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds its signer limit (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
10012
9050
 
10013
9051
  ```json
10014
9052
  {
@@ -10103,7 +9141,7 @@ One envelope of the workspace: its documents in order, each with its status and
10103
9141
  {
10104
9142
  "data": {
10105
9143
  "resource": "envelope",
10106
- "id": "example_id_38",
9144
+ "id": "example_id_37",
10107
9145
  "name": "Contrato de prestação de serviços",
10108
9146
  "message": "Segue o contrato e seus anexos.",
10109
9147
  "documents": [
@@ -10113,8 +9151,8 @@ One envelope of the workspace: its documents in order, each with its status and
10113
9151
  "name": "contrato.pdf",
10114
9152
  "status": "pending_signature",
10115
9153
  "artifacts": {
10116
- "original": "https://example.com/example-url-16",
10117
- "thumbnail": "https://example.com/example-url-17"
9154
+ "original": "https://example.com/example-url-15",
9155
+ "thumbnail": "https://example.com/example-url-16"
10118
9156
  },
10119
9157
  "signers": [
10120
9158
  {
@@ -10366,7 +9404,7 @@ Example:
10366
9404
  "message": "Segue o contrato e seus anexos.",
10367
9405
  "document_ids": [
10368
9406
  "example_id_3",
10369
- "example_id_40"
9407
+ "example_id_39"
10370
9408
  ]
10371
9409
  }
10372
9410
  ```
@@ -10379,7 +9417,7 @@ Example:
10379
9417
  {
10380
9418
  "data": {
10381
9419
  "resource": "envelope",
10382
- "id": "example_id_38",
9420
+ "id": "example_id_37",
10383
9421
  "name": "Contrato de prestação de serviços",
10384
9422
  "message": "Segue o contrato e seus anexos.",
10385
9423
  "documents": [
@@ -10389,8 +9427,8 @@ Example:
10389
9427
  "name": "contrato.pdf",
10390
9428
  "status": "pending_signature",
10391
9429
  "artifacts": {
10392
- "original": "https://example.com/example-url-16",
10393
- "thumbnail": "https://example.com/example-url-17"
9430
+ "original": "https://example.com/example-url-15",
9431
+ "thumbnail": "https://example.com/example-url-16"
10394
9432
  },
10395
9433
  "signers": [
10396
9434
  {
@@ -10536,7 +9574,7 @@ The envelope's trail: the activities of every document it has had, one taken out
10536
9574
  {
10537
9575
  "data": [
10538
9576
  {
10539
- "document_id": "example_id_41",
9577
+ "document_id": "example_id_40",
10540
9578
  "document_name": "Contrato.pdf",
10541
9579
  "id": 4,
10542
9580
  "event": "assignment_created",
@@ -11103,7 +10141,7 @@ Example:
11103
10141
  ],
11104
10142
  "expires_at": "2026-12-31T23:59:59Z",
11105
10143
  "copy_receiver_ids": [
11106
- "example_id_39"
10144
+ "example_id_38"
11107
10145
  ]
11108
10146
  }
11109
10147
  ```
@@ -11116,7 +10154,7 @@ Example:
11116
10154
  {
11117
10155
  "data": {
11118
10156
  "resource": "envelope",
11119
- "id": "example_id_38",
10157
+ "id": "example_id_37",
11120
10158
  "name": "Contrato de prestação de serviços",
11121
10159
  "message": "Segue o contrato e seus anexos.",
11122
10160
  "documents": [
@@ -11126,8 +10164,8 @@ Example:
11126
10164
  "name": "contrato.pdf",
11127
10165
  "status": "pending_signature",
11128
10166
  "artifacts": {
11129
- "original": "https://example.com/example-url-16",
11130
- "thumbnail": "https://example.com/example-url-17"
10167
+ "original": "https://example.com/example-url-15",
10168
+ "thumbnail": "https://example.com/example-url-16"
11131
10169
  },
11132
10170
  "signers": [
11133
10171
  {
@@ -11175,7 +10213,7 @@ Example:
11175
10213
  }
11176
10214
  ```
11177
10215
 
11178
- ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds three signers (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
10216
+ ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds its signer limit (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
11179
10217
 
11180
10218
  ```json
11181
10219
  {
@@ -11291,7 +10329,7 @@ Take an open document out of the envelope: it is cancelled as cancelling the env
11291
10329
  {
11292
10330
  "data": {
11293
10331
  "resource": "envelope",
11294
- "id": "example_id_38",
10332
+ "id": "example_id_37",
11295
10333
  "name": "Contrato de prestação de serviços",
11296
10334
  "message": "Segue o contrato e seus anexos.",
11297
10335
  "documents": [
@@ -11301,8 +10339,8 @@ Take an open document out of the envelope: it is cancelled as cancelling the env
11301
10339
  "name": "contrato.pdf",
11302
10340
  "status": "pending_signature",
11303
10341
  "artifacts": {
11304
- "original": "https://example.com/example-url-16",
11305
- "thumbnail": "https://example.com/example-url-17"
10342
+ "original": "https://example.com/example-url-15",
10343
+ "thumbnail": "https://example.com/example-url-16"
11306
10344
  },
11307
10345
  "signers": [
11308
10346
  {
@@ -11428,7 +10466,7 @@ Take an open document out of the envelope: it is cancelled as cancelling the env
11428
10466
 
11429
10467
  `POST /v1/accounts/{accountId}/scheduled-sends`
11430
10468
 
11431
- Keeps a **Create envelope** request and makes it at `send_at`, as the member who scheduled it, through the same checks and charges as **Create envelope** then. Nothing is created, sent or charged now, and nothing changes for its documents: each can still be sent at once, and the scheduled send then fails when it goes. A document takes one pending scheduled send at a time, counting one being sent. The request is checked now as **Estimate envelope cost** checks it (`403 PlanRestricted` without the Envelopes feature, `403 FreePlanSignerLimit` above three signers on free plans, `400` with `errors` on the same fields); the balance is checked when it is sent. A job checks every five minutes and makes the sends that are due; failures go as for **Schedule an assignment**: `failed` with the reason, nothing charged, the member who scheduled it e-mailed, or the workspace's active owners if that member has left. An `Idempotency-Key` is not read here: each call keeps one send. An assignment is scheduled on its document (**Schedule an assignment**).
10469
+ Keeps a **Create envelope** request and makes it at `send_at`, as the member who scheduled it, through the same checks and charges as **Create envelope** then. Nothing is created, sent or charged now, and nothing changes for its documents: each can still be sent at once, and the scheduled send then fails when it goes. A document takes one pending scheduled send at a time, counting one being sent. The request is checked now as **Estimate envelope cost** checks it (`403 PlanRestricted` without the Envelopes feature, `403 FreePlanSignerLimit` above the free workspace’s signer limit, `400` with `errors` on the same fields); the balance is checked when it is sent. A job checks every five minutes and makes the sends that are due; failures go as for **Schedule an assignment**: `failed` with the reason, nothing charged, the member who scheduled it e-mailed, or the workspace's active owners if that member has left. An `Idempotency-Key` is not read here: each call keeps one send. An assignment is scheduled on its document (**Schedule an assignment**).
11432
10470
 
11433
10471
  **Authentication:** Bearer access token (`Authorization: Bearer ...`) or API key (`X-Api-Key` header).
11434
10472
 
@@ -11496,7 +10534,7 @@ Example:
11496
10534
  ],
11497
10535
  "expires_at": "2026-12-31T23:59:59Z",
11498
10536
  "copy_receiver_ids": [
11499
- "example_id_39"
10537
+ "example_id_38"
11500
10538
  ]
11501
10539
  }
11502
10540
  ]
@@ -11539,7 +10577,7 @@ Example:
11539
10577
  }
11540
10578
  ```
11541
10579
 
11542
- ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds three signers (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
10580
+ ##### 403 — The workspace's plan lacks the Envelopes feature, or a signer's method or embedded signing the plan lacks (`PlanRestricted`); a free workspace exceeds its signer limit (`FreePlanSignerLimit`); or an OAuth app's token lacks `documents:write` (`InsufficientScope`). Also a member deactivated in the workspace, a workspace scheduled for deletion, or an OAuth token of another workspace.
11543
10581
 
11544
10582
  ```json
11545
10583
  {
@@ -12266,7 +11304,7 @@ Example:
12266
11304
  ```json
12267
11305
  [
12268
11306
  {
12269
- "field_id": "example_id_42",
11307
+ "field_id": "example_id_41",
12270
11308
  "value": "1111111111111"
12271
11309
  }
12272
11310
  ]
@@ -12280,7 +11318,7 @@ Example:
12280
11318
  {
12281
11319
  "data": [
12282
11320
  {
12283
- "field_id": "example_id_42",
11321
+ "field_id": "example_id_41",
12284
11322
  "type": "cpf",
12285
11323
  "success": false,
12286
11324
  "error_message": "Invalid CPF."
@@ -12863,10 +11901,8 @@ The authenticated user's document-funnel KPIs summed across all accounts they cu
12863
11901
  "signature_requests": 61,
12864
11902
  "signature_requests_notification_email": 55,
12865
11903
  "signature_requests_notification_whatsapp": 18,
12866
- "signature_requests_notification_bypass": 3,
12867
11904
  "signature_requests_verification_email": 48,
12868
11905
  "signature_requests_verification_whatsapp": 6,
12869
- "signature_requests_verification_bypass": 3,
12870
11906
  "signature_requests_verification_digital_certificate": 4,
12871
11907
  "signature_requests_viewed": 44,
12872
11908
  "signature_requests_completed": 52,
@@ -13047,7 +12083,7 @@ Example:
13047
12083
  {
13048
12084
  "grant_type": "authorization_code",
13049
12085
  "code": "string",
13050
- "redirect_uri": "https://example.com/example-url-18",
12086
+ "redirect_uri": "https://example.com/example-url-17",
13051
12087
  "code_verifier": "string",
13052
12088
  "refresh_token": "example_secret",
13053
12089
  "client_id": "example_id_5",
@@ -13186,7 +12222,7 @@ Claims about the user who authorized this token. Requires the openid scope; name
13186
12222
 
13187
12223
  ```json
13188
12224
  {
13189
- "sub": "example_id_32",
12225
+ "sub": "example_id_31",
13190
12226
  "name": "Maria Silva",
13191
12227
  "email": null,
13192
12228
  "email_verified": null
@@ -13440,7 +12476,7 @@ Example:
13440
12476
  "data": {
13441
12477
  "document": {
13442
12478
  "resource": "document",
13443
- "id": "example_id_43",
12479
+ "id": "example_id_42",
13444
12480
  "name": "Contract.pdf",
13445
12481
  "page_count": 3,
13446
12482
  "created_by": "Jane Doe"
@@ -13849,7 +12885,7 @@ Current state of the signer's identity document verification. Backfills a pendin
13849
12885
  "data": {
13850
12886
  "can_start": false,
13851
12887
  "status": "Pending",
13852
- "url": "https://example.com/example-url-19",
12888
+ "url": "https://example.com/example-url-18",
13853
12889
  "expires_at": "2026-10-07T21:18:47Z",
13854
12890
  "completed_at": "2026-08-10T20:32:00Z"
13855
12891
  },
@@ -13962,7 +12998,7 @@ Example:
13962
12998
  {
13963
12999
  "data": {
13964
13000
  "id": "example_id_20",
13965
- "url": "https://example.com/example-url-19",
13001
+ "url": "https://example.com/example-url-18",
13966
13002
  "expires_at": "2026-10-07T21:18:47Z"
13967
13003
  },
13968
13004
  "status": 200,
@@ -14659,8 +13695,8 @@ Example:
14659
13695
  ```json
14660
13696
  {
14661
13697
  "document_ids": [
14662
- "example_id_44",
14663
- "example_id_45"
13698
+ "example_id_43",
13699
+ "example_id_44"
14664
13700
  ]
14665
13701
  }
14666
13702
  ```
@@ -14787,8 +13823,8 @@ Example:
14787
13823
  ```json
14788
13824
  {
14789
13825
  "document_ids": [
14790
- "example_id_44",
14791
- "example_id_45"
13826
+ "example_id_43",
13827
+ "example_id_44"
14792
13828
  ],
14793
13829
  "decline_reason": "Unfavorable terms."
14794
13830
  }
@@ -16166,7 +15202,7 @@ Used by the page an expired download link leads to. Works with the link's token
16166
15202
 
16167
15203
  ##### 404 — Unknown link.
16168
15204
 
16169
- ##### 409 — Nothing can be sent from here (copy receiver, Bypass signer, no recorded contact, or the document is not certified): ask the sender.
15205
+ ##### 409 — Nothing can be sent from here (copy receiver, no recorded contact, or the document is not certified): ask the sender.
16170
15206
 
16171
15207
  ##### 429 — E-mail: asked again within 2 minutes or more than 10 times in 24 hours. WhatsApp: already re-sent once.
16172
15208
 
@@ -17131,7 +16167,7 @@ The `status` field of a template is one of:
17131
16167
  "data": [
17132
16168
  {
17133
16169
  "resource": "template",
17134
- "id": "example_id_46",
16170
+ "id": "example_id_45",
17135
16171
  "name": "template.pdf",
17136
16172
  "document_name": null,
17137
16173
  "message": null,
@@ -17142,7 +16178,7 @@ The `status` field of a template is one of:
17142
16178
  "number": 1,
17143
16179
  "height": 2100,
17144
16180
  "width": 1275,
17145
- "download_url": "https://example.com/example-url-18",
16181
+ "download_url": "https://example.com/example-url-17",
17146
16182
  "fields": [
17147
16183
  {
17148
16184
  "id": "example_id_5",
@@ -17252,7 +16288,7 @@ Retrieve the account's oldest webhook endpoint — which events it is subscribed
17252
16288
  "is_active": true,
17253
16289
  "is_held": false,
17254
16290
  "held_since": null,
17255
- "url": "https://example.com/example-url-20",
16291
+ "url": "https://example.com/example-url-19",
17256
16292
  "email": "user12@example.com",
17257
16293
  "updated_at": "2023-05-10T14:58:24Z"
17258
16294
  },
@@ -17329,7 +16365,7 @@ Example:
17329
16365
  "document_prepared"
17330
16366
  ],
17331
16367
  "is_active": true,
17332
- "url": "https://example.com/example-url-20",
16368
+ "url": "https://example.com/example-url-19",
17333
16369
  "email": "user12@example.com"
17334
16370
  }
17335
16371
  ```
@@ -17348,7 +16384,7 @@ Example:
17348
16384
  "is_active": true,
17349
16385
  "is_held": false,
17350
16386
  "held_since": null,
17351
- "url": "https://example.com/example-url-20",
16387
+ "url": "https://example.com/example-url-19",
17352
16388
  "email": "user12@example.com",
17353
16389
  "updated_at": "2023-05-10T14:58:24Z"
17354
16390
  },
@@ -17439,7 +16475,7 @@ Deactivate the account's oldest webhook endpoint. While inactive, no events are
17439
16475
  "is_active": true,
17440
16476
  "is_held": false,
17441
16477
  "held_since": null,
17442
- "url": "https://example.com/example-url-20",
16478
+ "url": "https://example.com/example-url-19",
17443
16479
  "email": "user12@example.com",
17444
16480
  "updated_at": "2023-05-10T14:58:24Z"
17445
16481
  },
@@ -17575,14 +16611,14 @@ Retrieve the delivery history for webhooks sent to the account's endpoints — u
17575
16611
  "data": [
17576
16612
  {
17577
16613
  "resource": "activity_dispatching_history",
17578
- "id": "example_id_47",
16614
+ "id": "example_id_46",
17579
16615
  "event": "document_ready",
17580
16616
  "activity_id": 456,
17581
- "endpoint_id": "example_id_48",
17582
- "endpoint": "https://example.com/example-url-21",
16617
+ "endpoint_id": "example_id_47",
16618
+ "endpoint": "https://example.com/example-url-20",
17583
16619
  "payload": null,
17584
16620
  "delivered": true,
17585
- "webhook_id": "example_id_49",
16621
+ "webhook_id": "example_id_48",
17586
16622
  "attempt": 2,
17587
16623
  "kind": "scheduled",
17588
16624
  "will_retry": true,
@@ -17658,14 +16694,14 @@ Sends the entry's event to the entry's endpoint once, now, even while the endpoi
17658
16694
  {
17659
16695
  "data": {
17660
16696
  "resource": "activity_dispatching_history",
17661
- "id": "example_id_47",
16697
+ "id": "example_id_46",
17662
16698
  "event": "document_ready",
17663
16699
  "activity_id": 456,
17664
- "endpoint_id": "example_id_48",
17665
- "endpoint": "https://example.com/example-url-21",
16700
+ "endpoint_id": "example_id_47",
16701
+ "endpoint": "https://example.com/example-url-20",
17666
16702
  "payload": null,
17667
16703
  "delivered": true,
17668
- "webhook_id": "example_id_49",
16704
+ "webhook_id": "example_id_48",
17669
16705
  "attempt": 2,
17670
16706
  "kind": "scheduled",
17671
16707
  "will_retry": true,
@@ -17777,9 +16813,9 @@ List the account's webhook endpoints, oldest first. Requires the `account:read`
17777
16813
  "data": [
17778
16814
  {
17779
16815
  "resource": "activity_event_subscription",
17780
- "id": "example_id_48",
16816
+ "id": "example_id_47",
17781
16817
  "name": "ERP",
17782
- "url": "https://example.com/example-url-22",
16818
+ "url": "https://example.com/example-url-21",
17783
16819
  "email": "user13@example.com",
17784
16820
  "events": [
17785
16821
  "document_ready",
@@ -17863,7 +16899,7 @@ Example:
17863
16899
 
17864
16900
  ```json
17865
16901
  {
17866
- "url": "https://example.com/example-url-22",
16902
+ "url": "https://example.com/example-url-21",
17867
16903
  "email": "user13@example.com",
17868
16904
  "events": [
17869
16905
  "document_ready",
@@ -17884,9 +16920,9 @@ Example:
17884
16920
  "data": {
17885
16921
  "secret": "example_secret",
17886
16922
  "resource": "activity_event_subscription",
17887
- "id": "example_id_48",
16923
+ "id": "example_id_47",
17888
16924
  "name": "ERP",
17889
- "url": "https://example.com/example-url-22",
16925
+ "url": "https://example.com/example-url-21",
17890
16926
  "email": "user13@example.com",
17891
16927
  "events": [
17892
16928
  "document_ready",
@@ -18098,9 +17134,9 @@ Retrieve one webhook endpoint. Requires the `account:read` OAuth scope.
18098
17134
  {
18099
17135
  "data": {
18100
17136
  "resource": "activity_event_subscription",
18101
- "id": "example_id_48",
17137
+ "id": "example_id_47",
18102
17138
  "name": "ERP",
18103
- "url": "https://example.com/example-url-22",
17139
+ "url": "https://example.com/example-url-21",
18104
17140
  "email": "user13@example.com",
18105
17141
  "events": [
18106
17142
  "document_ready",
@@ -18202,7 +17238,7 @@ Example:
18202
17238
 
18203
17239
  ```json
18204
17240
  {
18205
- "url": "https://example.com/example-url-22",
17241
+ "url": "https://example.com/example-url-21",
18206
17242
  "email": "user13@example.com",
18207
17243
  "events": [
18208
17244
  "document_ready"
@@ -18222,9 +17258,9 @@ Example:
18222
17258
  "data": {
18223
17259
  "secret": "example_secret",
18224
17260
  "resource": "activity_event_subscription",
18225
- "id": "example_id_48",
17261
+ "id": "example_id_47",
18226
17262
  "name": "ERP",
18227
- "url": "https://example.com/example-url-22",
17263
+ "url": "https://example.com/example-url-21",
18228
17264
  "email": "user13@example.com",
18229
17265
  "events": [
18230
17266
  "document_ready",
@@ -18635,14 +17671,14 @@ Sends the endpoint one `webhook_test` event now, signed and sent like any delive
18635
17671
  {
18636
17672
  "data": {
18637
17673
  "resource": "activity_dispatching_history",
18638
- "id": "example_id_47",
17674
+ "id": "example_id_46",
18639
17675
  "event": "document_ready",
18640
17676
  "activity_id": 456,
18641
- "endpoint_id": "example_id_48",
18642
- "endpoint": "https://example.com/example-url-21",
17677
+ "endpoint_id": "example_id_47",
17678
+ "endpoint": "https://example.com/example-url-20",
18643
17679
  "payload": null,
18644
17680
  "delivered": true,
18645
- "webhook_id": "example_id_49",
17681
+ "webhook_id": "example_id_48",
18646
17682
  "attempt": 2,
18647
17683
  "kind": "scheduled",
18648
17684
  "will_retry": true,