using var result = await client.JsonAsync("get_sign_token", new RequestOptions {
Params = new Dictionary<string, string> { ["token"] = "example" },
Query = new Dictionary<string, string> { }
});
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
.NET SDK
var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"reason\": \"example\"\n}");
var result = await client.RequestAsync("post_sign_token_decline", new RequestOptions {
Params = new Dictionary<string, string> { ["token"] = "example" },
Query = new Dictionary<string, string> { },
Body = 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.
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
.NET SDK
var result = await client.RequestAsync("get_sign_token_document", new RequestOptions {
Params = new Dictionary<string, string> { ["token"] = "example" },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"signature\": \"example\",\n \"cert\": \"example\"\n}");
using var result = await client.JsonAsync("post_sign_token_finish", new RequestOptions {
Params = new Dictionary<string, string> { ["token"] = "example" },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"cert\": \"example\"\n}");
using var result = await client.JsonAsync("post_sign_token_prepare", new RequestOptions {
Params = new Dictionary<string, string> { ["token"] = "example" },
Query = new Dictionary<string, string> { },
Body = 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.
using var result = await client.JsonAsync("get_t_tid_agreements", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"number\": \"example\",\n \"title\": \"example\",\n \"kind\": \"sale\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001" },
Query = new Dictionary<string, string> { },
Body = 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.
using var result = await client.JsonAsync("get_t_tid_agreements_id", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"kind\": \"main\",\n \"title\": \"example\",\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_documents", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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.
using var result = await client.JsonAsync("post_t_tid_agreements_id_documents_doc_sign", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["doc"] = "1" },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"attachment_id\": \"00000000-0000-4000-8000-000000000001\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_documents_doc_signatures", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["doc"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"event\": \"sent\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_events", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"name\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_parties", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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 = await client.RequestAsync("get_t_tid_agreements_id_report", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { }
});
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.
using var result = await client.JsonAsync("get_t_tid_agreements_id_sign_requests", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"signers\": []\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_sign_requests", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_sign_requests_rid_cancel", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["rid"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"reason\": \"example\"\n}");
using var result = await client.JsonAsync("post_t_tid_agreements_id_sign_requests_rid_decline", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["rid"] = "1" },
Query = new Dictionary<string, string> { },
Body = 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.
using var result = await client.JsonAsync("post_t_tid_agreements_id_sign_requests_rid_resend", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["rid"] = "1" },
Query = new Dictionary<string, string> { }
});
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.
using var result = await client.JsonAsync("post_t_tid_agreements_id_sign_requests_rid_sign", new RequestOptions {
Params = new Dictionary<string, string> { ["tid"] = "00000000-0000-4000-8000-000000000001", ["id"] = "1", ["rid"] = "1" },
Query = new Dictionary<string, string> { }
});
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.