Signatures

Signature Create

POST
/signatures/signature/create

Creates and stores a user’s signature in the Storage system.

  • The signature is represented as a Base64-encoded image (e.g., PNG or JPG).
  • Each signature is assigned a unique ID, which can be used in other operations to reference the signature.
  • Users can save multiple signatures and optionally designate one as the default for the signing process.

Authorization

AuthorizationBearer <token>

JWT token to authenticate the request.

In: header

X-Api-Key<token>

API key, sent as a request header.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/signatures/signature/create" \  -H "Content-Type: application/json" \  -d '{    "signature": {      "value": "data:image/png;base64,iVBORw0KGgo...",      "isDefault": true    }  }'
{  "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": "POST https://apim-mavenheadless-dev-westeu-1.azure-api.net/v1/signatures/envelope/create",  "dateTime": "2026-07-20T12:00:00.0000000+00:00"}
{  "error": {    "message": "Envelope not found.",    "statusCode": 400,    "innerErrors": [      {        "code": "ENVELOPE_ID_INVALID",        "message": "Envelope not found.",        "userMessage": "Envelope not found."      }    ]  },  "origin": "POST https://apim-mavenheadless-dev-westeu-1.azure-api.net/v1/signatures/envelope/create",  "dateTime": "2026-07-20T12:00:00.0000000+00:00"}