I am trying to create a Box sign request and want to highlight the signature box in the document where the user needs to add their signature. In the Box Sign portal, there is an option to drag and drop the signature and other fields, which places the signature box at the desired position in the document. I want to replicate this functionality using code. However, when I tried adding the inputs
attribute under signers
, it didn’t work as expected.
Below is my json request body.
{
"email_message": "Hello! Please sign the document below",
"email_subject": "Sign Request from UserName",
"parent_folder": {
"id": "2895123232312",
"type": "folder"
},
"signers": "
{
"email": "<useremail>",
"role": "signer",
"order": 1,
"inputs": <
{
"type": "signature",
"x": 100,
"y": 150,
"page_index": 0,
"width": 150,
"height": 50
}
]
}
],
"source_files":
{
"id": "1714359484288",
"type": "file"
}
]
}
Be the first to reply!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.