Envelope Check
Markdown for LLMsReturns where the recipient a tid identifies stands on its envelope, so a signing interface knows what has to happen before the envelope can be opened: whether the recipient must pass multi-factor authentication and has done so (isMfaEnabled, isMfaValid), whether they have accepted the legal terms (legalAccepted), and whether the link the tid came from has expired (isTokenExpired). It also returns the envelope's subject and status and the settings that apply in the anonymous signing context.
Call it first in a signing session. When isMfaEnabled is true and isMfaValid is false, send a code with signatures-mfa-initiate and verify it with signatures-mfa-verify. When legalAccepted is false, record acceptance with signatures-envelope-accept. Then call signatures-envelope-open. Check answers at any stage — after the recipient has signed or declined too — and changes nothing.
No bearer token is required. This operation is open to guest callers — a recipient with no Doctavian account, acting from the link in their email — who are identified by the tid from that link instead of a token. The API key is still required, as on every operation: send it in the X-Api-Key header or the x-api-key query parameter. When the call carries no bearer token, the caller is anonymous and the response carries no userId.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Query Parameters
Transaction token identifying one recipient position on one envelope. It reaches the recipient in the link of their notification email — or, for an inpersonsigner, reaches the host named in hostEmail — and signatures-envelope-list returns it as transactionTokenId on entries for positions the caller holds.
Mandatory, and checked even when the call also carries a bearer token. A value that is not a GUID, or a GUID that matches no token, is rejected with 401 INVALID_TRANSACTION_TOKEN, and an empty value (?tid=) with 401 MISSING_TRANSACTION_TOKEN. Leaving the parameter out matches no operation and is answered with 404 NOT_FOUND from the gateway.
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/signatures/envelope/check?tid=6c82c35c-ded7-4b49-83a1-e5fed49a0e69"{ "result": { "statusCode": 200, "message": "OK", "data": { "envelope": { "id": "407a5449-8e45-48c5-bfee-9642c17a0d3d", "uploadDate": "2026-10-15T09:51:04.000Z", "status": "In Progress", "subject": "Master Services Agreement for signature", "createdBy": { "id": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "name": "Jane Doe", "email": "name@example.com" } }, "recipient": { "id": "2bdacd57-662d-49da-be4b-e876b8b12ea1", "role": "signer", "name": "John Smith", "email": "name@example.com", "status": "In Progress", "isTokenExpired": false, "legalAccepted": false, "isMfaEnabled": false, "isMfaValid": false, "hostEmail": "", "language": "es", "hasUser": true }, "settings": [ { "settingKey": "DECLINE_REASON_REQUIRED", "label": "Decline Reason Required", "type": "Boolean", "application": "MDS", "category": "Signing Settings", "subCategory": "Recipient Experience", "value": "false", "isAnonymousSetting": true, "preserve": true, "group": "Signing Flow" }, { "settingKey": "ALLOWED_SIGNATURE_INPUT_METHOD", "label": "", "type": "Select", "application": "MDS", "category": "Signing Settings", "subCategory": "Recipient Experience", "value": "Drawn,Typed,Imported", "isAnonymousSetting": true, "preserve": true, "group": "Signature Input" }, { "settingKey": "MFA_CHANNEL", "label": "Channel through which MFA codes are sent to recipients", "type": "List", "application": "MDS", "category": "Signing Settings", "subCategory": "Authentication", "value": "Email", "isAnonymousSetting": true, "preserve": true, "group": "" } ] } }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/check", "dateTime": "2026-10-15T09:51:05.000Z", "operationId": "25f42cf9bd1a88560410219f95bb7b88"}{ "error": { "statusCode": 401, "message": "Unauthorized", "innerErrors": [ { "code": "INVALID_TRANSACTION_TOKEN", "message": "Transaction token identifier is invalid or does not exist in the database.", "userMessage": "Transaction token identifier is invalid. Please make sure that you are accessing this page via the link from your email." } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/check", "dateTime": "2026-10-15T09:51:05.000Z", "operationId": "54ed02672f4c0415eff59e6cf559e5d2"}{ "error": { "statusCode": 404, "message": "Not Found", "innerErrors": [ { "code": "NOT_FOUND", "message": "OperationNotFound", "userMessage": "Unable to match incoming request to an operation." } ] }, "origin": "", "dateTime": "2026-10-16T07:34:38.000Z"}{ "error": { "statusCode": 500, "message": "Internal Server Error", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "An error occurred during function execution.", "userMessage": "An error occurred during function execution.", "eventId": "3914bcfd-fb75-47fe-a94d-40bf22bf02d3" } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/check", "dateTime": "2026-10-20T10:41:27.000Z", "operationId": "7b3d0a2d409fb31652fb3917cab4b83d"}