Skip to main content
POST
/
esign
/
generate
Generate E-Sign request
curl --request POST \
  --url https://bgv.konnectnxt.com/api/esign/generate/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signer_name": "Shivam Singh",
  "signer_email": "shivam@gmail.com",
  "signer_phone": "9874563210",
  "file_name": "offer_letter.pdf",
  "file_base64": "JVBERi0xLjcKCjQgMCBvYmoKPDwKL0JpdHNQZXJDb21wb25lbnQgOAov..."
}
'
{
  "code": 201,
  "status": "success",
  "message": "E-Sign link generated successfully and sent to signer's email and phone.",
  "data": {
    "request_id": "53ecfa78-2bb0-48a0-a4f3-d1caa1e79b35",
    "esign_doc_id": "01KH6407707YBFWJ642WRWC5D3",
    "esign_url": "https://app1.leegality.com/sign/241d83bd-56df-49c6-8635-97c2c7bfde78",
    "expires_at": "2026-02-21T18:29:59Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
signer_name
string
required

Full name of the person who will sign the document

Example:

"Shivam Singh"

signer_email
string<email>
required

Email address of the signer

Example:

"shivam@gmail.com"

signer_phone
string
required

10-digit mobile number of the signer

Example:

"9874563210"

file_name
string
required

Name of the document file

Example:

"offer_letter.pdf"

file_base64
string
required

Base64-encoded document content (PDF)

Example:

"JVBERi0xLjcKCjQgMCBvYmoKPDwKL0JpdHNQZXJDb21wb25lbnQgOAov..."

Response

E-Sign link generated successfully

code
integer
required
Example:

201

status
string
required
Example:

"success"

message
string
required
Example:

"E-Sign link generated successfully and sent to signer's email and phone."

data
object
required