Create Stamps

POST/esignglobal/v1/stamps

Interface Description

You can upload a base64-encoded string to create a stamp. After the stamp is created, you can view and edit it on the page.

  • Use the APPID with workspace stamp creation permission, create a stamp by uploading the Base64 encoded string of the image.

 

Request Parameters

Parameter Name

Type

Required

Description

stampName

string

true

Stamp name

  • Stamp name cannot exceed 200 characters

imageBase64

string

true

Base64 encoded string of stamp picture note:

  • supported picture format: PNG-picture size: decoded picture ≤ 2MB
  • width and height limit: width and height are not more than 100mm, not less than 18mm

Request Example

{
    "stampName": "demoStamp",
    "imageBase64": "demoImageBase64"
}

 

Response Parameters

Parameter Name

Type

Description

stampId

string

Stamp ID

stampWidth

int

Stamp width (unit: mm)

stampHeight

int

Stamper height (unit: mm)

Response Example

{
    "code": 0,
    "data": {
        "stampId": "501d7b6a95a74a478757ec49c89dcaba",
        "stampWidth": 36,
        "stampHeight": 29
    },
    "message": "success"
}

 

Interface Description
Request Parameters
Request Example
Response Parameters
Response Example