Digital Signature API
This Page will show the Steps to sign the doc uisng this API
Request Method
POST
Request Path
API Name
Sign DSC
URL
{{API_URL}}/api/v1/dsc/sign-doc/
Method Type
POST
Headers
Key
Value
Authorization
JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjozMDMsInVzZXJuYW1lIjoiYnV5ZXJtYXN0ZXJzQGdtYWlsLmNvbSIsImV4cCI6MTY1MDUzODU3OSwiZW1haWwiOiJidXllcm1hc3RlcnNAZ21haWwuY29tIiwib3JpZ19pYXQiOjE2NTA0NTIxNzl9.90mEXrP74zXQCchgCqRa3viCGiShhsX_r6cd5eGbDuw
Either auth token or MIPL key
MiplApiKey
PjpnwV0RIMWrTIn095wCtlnSCpBN****
gstin
05AAAP*******02
Body
formdata
Key
Value
Define
file_type
file
Type of the File. Options: file
file
Base64 encoded content of pdf file
signloc
{"1":{"ll_x":320,"ll_y":257,"ur_x":591,"ur_y":316}}
Location of sign in json, where key will be the page, and values provide the info of the cord. Here ll_* refers to the lower left and ur_* to the upper right corner from the top left of the page as center. Pass this json as stringify format.
Response
{
"success": false,
"message": [
{
"ErrorCode": "DSC01",
"ErrorMessage": "Value error, Invalid File"
}
],
"data": {}
}
{
"success": false,
"message": [
{
"ErrorCode": "DSC01",
"ErrorMessage": "Value error, Invalid File Type, File type must be pdf"
}
],
"data": {}
}
Last updated