Envelope Reassign
Markdown for LLMsHands the recipient position a tid identifies over to someone else. The new person is added to the envelope as a signer and takes over the position, and the recipient who reassigned stays on the envelope as a cc whose part is finished (status Completed). Only a signer whose part is still in progress can reassign: anyone else — a viewer, or a recipient who has already reassigned — is rejected with 400 ENVELOPE_REASSIGNMENT_INVALID_SIGNER_STATUS. The recipient does not need to accept the legal terms first, but one whose isMfaEnabled is true must verify a multi-factor authentication code (401 MFA_SESSION_INVALID otherwise).
recipient is mandatory (RECIPIENT_REQUIRED), and so are recipient.name (RECIPIENT_NAME_REQUIRED) and recipient.email (RECIPIENT_EMAIL_REQUIRED). The email must not belong to anyone already on the envelope, the reassigning recipient included — compared case-insensitively — or the call is rejected with ENVELOPE_RECIPIENT_ALREADY_EXISTS. It must be a valid email address, or the call is rejected with RECIPIENT_INVALID_EMAIL_ADDRESS. recipient.phoneNumber is required whenever the recipient being reassigned has multi-factor authentication enabled, whatever channel the codes are sent through (PHONE_NUMBER_REQUIRED otherwise), and recipient.reason is optional.
The response returns the envelope's id and two recipient entries: the reassigning recipient's, with its new role and status, and the new recipient's, with the id created for them.
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.
uuidRequest Body
application/json
Mandatory: recipient names the person taking over. A request with no body, or one that is not valid JSON, is rejected with 400 REQUEST_BODY_INVALID.
TypeScript Definitions
Use the request body type in TypeScript.
Request body for reassigning a recipient position to someone else.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/signatures/envelope/reassign?tid=6c82c35c-ded7-4b49-83a1-e5fed49a0e69" \ -H "Content-Type: application/json" \ -d '{ "recipient": { "name": "John Smith", "email": "name@example.com", "reason": "John handles vendor agreements for our team.", "phoneNumber": "+1-555-0134" }, "externalContext": { "id": "12345" } }'{ "result": { "statusCode": 200, "message": "OK", "data": { "envelope": { "id": "407a5449-8e45-48c5-bfee-9642c17a0d3d" }, "recipients": [ { "id": "2bdacd57-662d-49da-be4b-e876b8b12ea1", "role": "cc", "status": "Completed" }, { "id": "7c1e2a22-5a2e-45cc-bba7-327065e82913", "name": "John Smith", "email": "name@example.com", "phoneNumber": "+1-555-0134" } ] } }, "externalContext": { "id": "12345" }, "origin": "POST https://api.doctavian.com/v1/signatures/envelope/reassign", "dateTime": "2026-10-15T09:51:05.000Z", "operationId": "55f43a0c670b23147d5476f17e5c98a3"}{ "error": { "statusCode": 400, "message": "Bad Request", "innerErrors": [ { "code": "ENVELOPE_RECIPIENT_ALREADY_EXISTS", "message": "Envelope can not be reassigned to an existing recipient.", "userMessage": "Envelope can not be reassigned to an existing recipient." } ], "externalErrors": [] }, "origin": "POST https://api.doctavian.com/v1/signatures/envelope/reassign", "dateTime": "2026-10-15T09:51:05.000Z", "operationId": "339560ccae22f751f293afb4c6e53392"}{ "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": "POST https://api.doctavian.com/v1/signatures/envelope/reassign", "dateTime": "2026-10-15T09:51:05.000Z", "operationId": "6d065c94ff5903d225142bec9d0effd7"}{ "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": "POST https://api.doctavian.com/v1/signatures/envelope/reassign", "dateTime": "2026-10-20T10:41:27.000Z", "operationId": "7b3d0a2d409fb31652fb3917cab4b83d"}