Esign
Get signer details
GET
Retrieve signer status and metadata for a specific Esign session.
bearerAuthheader
AuthorizationBearer <token>Bearer token authentication. Paste your access token below.
client_id*stringEsign session client ID (esign_...).
Session details.
signers[].aadhaar_cert_detailsis present for Aadhaar signers after Aadhaar signing completes;nullfor non-Aadhaar signers and pending Aadhaar signers.signers[].name_match.statusispendingwhen waiting for Aadhaar certificate details,completedwhen the score is calculated, andskippedwhen not requested.signers[].face_match.enforceistruewhen initialization suppliedface_ref_file_id;liveness_scoreandmatch_scorestaynulluntil face verification succeeds.
application/json- response
Standard response envelope.
status_code?integerHTTP status code echoed in the response body.
message?stringHuman-readable result message.
success?booleantrue when the request succeeded.
data?Esign session and its current state.
curl -X GET 'https://prod-esign-api-v2.surepass.app/api/v1/esign/details?client_id=esign_PsLIyRDIHAqyFWhZqhDT'Example Response
{
"status_code": 0,
"message": "string",
"success": true,
"data": {
"actor_id": "string",
"actor_type": "user",
"allow_download": true,
"archived": true,
"auth_mode": 1,
"backend": "nsdl",
"client_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"current_pdf_file_id": "string",
"email_template_overrides": {
"company_name": "string",
"legal_name": "string",
"support_email": "string"
},
"expiry_seconds": 0,
"file_id": "string",
"filename": "string",
"folder": "string",
"redirect_url": "http://example.com",
"sender": "string",
"sign_type": "aadhaar",
"signers": [
{
"signer_id": "string",
"eligible": true,
"invite_url": "http://example.com",
"token": "string",
"sign_type": "aadhaar",
"auth_mode": 1,
"max_retry": 1,
"pfx_id": "string",
"full_name": "string",
"email": "user@example.com",
"country_code": "string",
"mobile": "string",
"verify_email": true,
"verify_mobile": true,
"reason": "string",
"accept_virtual_sign": true,
"status": "pending",
"elements": [
{
"field_id": "string",
"x": 0,
"y": 0,
"page": 0,
"type": "signature",
"alignment": "left",
"label": "string",
"width": 0,
"height": 0,
"allow_wet_signature": true,
"font_size": 0,
"format": "string",
"value": "string"
}
],
"aadhaar_cert_details": {
"name": "string",
"country": "string",
"state": "string",
"pin_code": "string",
"aadhaar": "string",
"year_of_birth": "string",
"gender": "string"
},
"verify_location": true,
"location_source": "device",
"enforce_geofence": true,
"latitude": 0,
"longitude": 0,
"radius": 0,
"name_match": {
"enforce": true,
"prefill_name": "string",
"signer_name": "string",
"score": 0,
"status": "pending"
},
"face_match": {
"enforce": true,
"ref_file_id": "string",
"live_file_id": "string",
"match_threshold": 0,
"max_attempts": 0,
"liveness_score": 0,
"match_score": 0
},
"notification": {
"invite": true,
"completion": true,
"whatsapp": true
}
}
],
"status": "pending"
}
}