Envelope Get
Markdown for LLMsRetrieves one envelope in full: the envelope record, its documents and the pre-conversion originals, its recipients and sign groups with their current signing state, every field with its current value, and any comments left on the documents.
Two kinds of caller can use this. The envelope owner authenticates normally and needs no tid. A recipient instead supplies the tid issued for their envelope, which limits them to that one envelope — this is how a signing UI reads an envelope for someone who has no Doctavian account.
A draft deleted with signatures-envelope-delete can still be read, so a client can show the trash view of signatures-envelope-list and open an envelope from it: it comes back in full, with envelope.status Deleted, until signatures-envelope-restore returns it to Draft. Its documents can still be downloaded with signatures-envelope-document-download.
Application settings are a snapshot taken when the envelope was created, so they show how this envelope behaves rather than how the subscription is configured now. They are returned only when includeSettings asks for them.
Field values reflect progress: a field a recipient has completed carries what they entered, and signerInfo on a signed digitalsignature field is read back out of the PDF on every call rather than stored.
No bearer token is required. This operation is open to guest callers — a recipient with no Doctavian account, signing 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
Path Parameters
Id of the envelope to retrieve, as returned by signatures-envelope-create in result.data.envelope.id.
uuidQuery Parameters
Transaction token identifying one recipient position on one envelope. It is unique per recipient, not per envelope: a single envelope has a different tid for each of its recipients.
It reaches that recipient in the email link they are sent — or, for an inpersonsigner, reaches the host named in hostEmail, because the notification goes to the host rather than the signer. signatures-envelope-list returns it as transactionTokenId, but only on rows for positions the caller holds themselves. There is no call that hands a caller someone else's token.
Supply it when calling as a recipient rather than as the envelope owner; the owner authenticates with the bearer token instead and does not need it.
A tid that is not a GUID, or a GUID that is not a transaction token for this envelope, is rejected with 401 INVALID_TRANSACTION_TOKEN, even alongside a bearer token. A call with neither a tid nor a bearer token is rejected with 401 MISSING_TRANSACTION_TOKEN.
uuidWhich application settings to include in result.data.settings, as a comma-separated list of settingKey values.
Three cases, and they are all different: omit the parameter and no settings are returned at all; supply it empty — either ?includeSettings= or ?includeSettings=[], both of which mean the same thing — and every setting is returned; supply one or more keys and only those are returned. Settings are not returned by default because the full set is long and most callers do not need it.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/signatures/envelope/376ac86f-f09d-4200-ab2c-53710a3ec415/get?tid=7c2f5e91-3a84-4d06-b1c7-e5820f4a6d13&includeSettings=ALLOW_MOBILE_SIGNING&includeSettings=MFA_CHANNEL"{ "result": { "statusCode": 200, "message": "OK", "data": { "envelope": { "id": "f742e1d8-d17e-4bbc-a4f5-a2cfa21dad2d", "createdBy": { "id": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "name": "Jane Doe", "email": "name@example.com" }, "uploadDate": "2026-07-14T02:34:34.000Z", "sendDate": "2026-07-14T02:34:42.000Z", "status": "Expired", "subject": "Please sign: supplier contract", "message": "Please review and sign the attached contract.", "isSignOrder": false, "expireInDays": 7, "firstReminderDays": "", "repeatingReminderDays": "", "notifyWhenOpened": true, "notifyWhenSigned": true, "alertDaysBeforeExpiry": 1, "locale": "en", "timeZone": "Europe/Zagreb", "externalContext": { "crmDealId": "D-20931" } }, "documents": [ { "id": "b1348f98-dd61-4939-9c84-d6074cd80e6d", "name": "Supplier-Contract-DE", "externalContext": "" } ], "originalDocuments": [ { "id": "a4333c51-3368-4b9a-9f5e-607e277d1770", "referenceDocumentId": "b1348f98-dd61-4939-9c84-d6074cd80e6d", "name": "Supplier-Contract-DE" } ], "recipients": [ { "id": "2704046c-d87e-4cd6-9c31-3d6d507734b0", "name": "Jane Doe", "email": "name@example.com", "role": "signer", "status": "Canceled", "signDate": "", "signOrder": 1, "signGroupId": "00000000-0000-0000-0000-000000000000", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "mandatory": true, "hostEmail": "", "isMFAEnabled": false, "phoneNumber": "", "language": "es", "externalContext": "" } ], "signGroups": [], "fields": [ { "id": "c6706b91-eb23-4c7b-84c7-e2f31bc0f762", "name": "e4edb72c4f1c48c6b450cd03127b5cac", "recipientId": "2704046c-d87e-4cd6-9c31-3d6d507734b0", "signGroupId": "", "documentId": "b1348f98-dd61-4939-9c84-d6074cd80e6d", "type": "signature", "value": "", "page": 1, "height": 60, "width": 200, "positionX": 90, "positionY": 630, "tooltip": "", "isRequired": true, "properties": "", "signerInfo": "" } ], "comments": {}, "settings": [ { "settingKey": "COMPLETION_EMAIL_ATTACH_DOCUMENTS", "label": "Attach Documents to Completion Email", "type": "Boolean", "application": "MDS", "category": "Delivery Settings", "subCategory": "Attachments", "value": "true", "isAnonymousSetting": false, "preserve": true, "group": "" }, { "settingKey": "SENDER_EMAIL", "label": "Sender Email", "type": "String", "application": "MDS", "category": "Delivery Settings", "subCategory": "Email", "value": "noreply@doctavian.com", "isAnonymousSetting": false, "preserve": true, "group": "" }, { "settingKey": "EMAIL_NOTIFICATIONS", "label": "", "type": "Select", "application": "MDS", "category": "Notification Settings", "subCategory": "Email Notifications", "value": "On Opened,On Signed,On Declined,On Completed", "isAnonymousSetting": false, "preserve": true, "group": "" }, { "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": "" }, { "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" } ] } }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/get", "dateTime": "2026-09-24T12:43:10.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "8b41e07c2d9a45f3bc60a7e195d3f28a"}{ "error": { "statusCode": 400, "message": "Bad Request", "innerErrors": [ { "code": "ENVELOPE_ID_INVALID", "message": "Envelope with ID 0f582215-bad6-4ac0-a3ee-fbd11c7c09db does not exist", "userMessage": "Envelope with ID 0f582215-bad6-4ac0-a3ee-fbd11c7c09db does not exist" } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/get", "dateTime": "2026-10-09T10:38:21.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "750e549c25e8f0a272c91051c09e8bd6"}{ "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/{envelopeId}/get", "dateTime": "2026-10-09T10:38:21.000Z", "userId": "", "operationId": "d5d0791e87e981537b17db8866fd2f90"}{ "error": { "statusCode": 403, "message": "Forbidden", "innerErrors": [ { "code": "ENVELOPE_ACCESS_DENIED", "message": "Envelope access denied for envelope id 376ac86f-f09d-4200-ab2c-53710a3ec415", "userMessage": "You do not have permission to access envelope with id 376ac86f-f09d-4200-ab2c-53710a3ec415" } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/get", "dateTime": "2026-10-01T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "c4e81a0f6b2d49e7a35f90d1b8e62c47"}{ "error": { "statusCode": 500, "message": "The envelope could not be retrieved.", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "The envelope could not be retrieved.", "userMessage": "Something went wrong. Please try again or contact support." } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/get", "dateTime": "2026-09-24T10:22:41.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "8b41e07c2d9a45f3bc60a7e195d3f28a"}