var result = client.json("get_sign_token",
Map.of("token", "example"), Map.of(), null);
Errors and constraints
internal
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
Secret signing-link token. This is not a user session token; do not share it.
Path parameters
Field
Type
Required
token
string
Required
Request body
Field
Type
Required
reason
string
Required
request.json
{
"reason": "example"
}
Successful response
204
The response has no body.
Call example
Java SDK
var body = "{\n \"reason\": \"example\"\n}";
var result = client.request("post_sign_token_decline",
Map.of("token", "example"), Map.of(), body.getBytes(java.nio.charset.StandardCharsets.UTF_8), Map.of("Content-Type", "application/json"));
Errors and constraints
bad_request
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
Secret signing-link token. This is not a user session token; do not share it.
Path parameters
Field
Type
Required
token
string
Required
Request body
No request body.
Successful response
200 · application/pdf
Call example
Java SDK
var result = client.request("get_sign_token_document",
Map.of("token", "example"), Map.of(), null, Map.of());
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"signature\": \"example\",\n \"cert\": \"example\"\n}";
var result = client.json("post_sign_token_finish",
Map.of("token", "example"), Map.of(), body);
Errors and constraints
bad_requestbad_signaturesign_document_changed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"cert\": \"example\"\n}";
var result = client.json("post_sign_token_prepare",
Map.of("token", "example"), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("get_t_tid_agreements",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), null);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"number\": \"example\",\n \"title\": \"example\",\n \"kind\": \"sale\"\n}";
var result = client.json("post_t_tid_agreements",
Map.of("tid", "00000000-0000-4000-8000-000000000001"), Map.of(), body);
Errors and constraints
bad_contract
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("get_t_tid_agreements_id",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"kind\": \"main\",\n \"title\": \"example\",\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}";
var result = client.json("post_t_tid_agreements_id_documents",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
bad_document
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("post_t_tid_agreements_id_documents_doc_sign",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "doc", "1"), Map.of(), null);
Errors and constraints
sign_failed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}";
var result = client.json("post_t_tid_agreements_id_documents_doc_signatures",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "doc", "1"), Map.of(), body);
Errors and constraints
bad_signaturesignature_exists
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"event\": \"sent\"\n}";
var result = client.json("post_t_tid_agreements_id_events",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"name\": \"example\"\n}";
var result = client.json("post_t_tid_agreements_id_parties",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.request("get_t_tid_agreements_id_report",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null, Map.of());
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("get_t_tid_agreements_id_sign_requests",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), null);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"signers\": []\n}";
var result = client.json("post_t_tid_agreements_id_sign_requests",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1"), Map.of(), body);
Errors and constraints
sign_internalsign_request_invalid
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_agreements_id_sign_requests_rid_cancel",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "rid", "1"), Map.of(), body);
Errors and constraints
sign_request_closed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"reason\": \"example\"\n}";
var result = client.json("post_t_tid_agreements_id_sign_requests_rid_decline",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "rid", "1"), Map.of(), body);
Errors and constraints
bad_request
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("post_t_tid_agreements_id_sign_requests_rid_resend",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "rid", "1"), Map.of(), null);
Errors and constraints
sign_internalsign_request_closed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("post_t_tid_agreements_id_sign_requests_rid_sign",
Map.of("tid", "00000000-0000-4000-8000-000000000001", "id", "1", "rid", "1"), Map.of(), null);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.