Signatures
Signature Update
Updates an existing saved signature for a user.
- The signature is identified using the signatureId path parameter.
- This endpoint allows updating the signature's properties, including the Base64-encoded image value and optionally setting it as the default signature for preselection during document signing.
AuthorizationBearer <token>
JWT token to authenticate the request.
In: header
X-Api-Key<token>
API key, sent as a request header.
In: header
Path Parameters
signatureId*string
The ID of the signature that should be updated.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/signatures/signature/string/update" \ -H "Content-Type: application/json" \ -d '{ "signature": { "value": "data:image/png;base64,iVBORw0KGgo...", "isDefault": false } }'{ "signature": { "id": "123e4567-e89b-12d3-a456-426614174000", "message": "Signature saved." }}{ "error": { "message": "Envelope not found.", "statusCode": 400, "innerErrors": [ { "code": "ENVELOPE_ID_INVALID", "message": "Envelope not found.", "userMessage": "Envelope not found." } ] }, "origin": "PUT https://api.doctavian.com/v1/signatures/signature/{signatureId}/update", "dateTime": "2026-07-20T12:00:00.000Z", "userId": "ff8590e3-6376-4d76-92c9-089912f1543a", "operationId": "cc9a7086b933b16e0b9b84e6af22a965"}{ "error": { "message": "Envelope not found.", "statusCode": 500, "innerErrors": [ { "code": "ENVELOPE_ID_INVALID", "message": "Envelope not found.", "userMessage": "Envelope not found." } ] }, "origin": "PUT https://api.doctavian.com/v1/signatures/signature/{signatureId}/update", "dateTime": "2026-07-20T12:00:00.000Z", "userId": "a8357894-58bb-4a81-9bdc-5a65f82b7dd6", "operationId": "f23101b6d712b0e2bf649349731c9228"}