Surepass
Esign

Get signer details

GET
/api/v1/esign/details

Retrieve signer status and metadata for a specific Esign session.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Paste your access token below.

Query Parameters

client_id*string

Esign session client ID (esign_...).

Response Body

Session details.

  • signers[].aadhaar_cert_details is present for Aadhaar signers after Aadhaar signing completes; null for non-Aadhaar signers and pending Aadhaar signers.
  • signers[].name_match.status is pending when waiting for Aadhaar certificate details, completed when the score is calculated, and skipped when not requested.
  • signers[].face_match.enforce is true when initialization supplied face_ref_file_id; liveness_score and match_score stay null until face verification succeeds.
application/json
  1. response

Standard response envelope.

status_code?integer

HTTP status code echoed in the response body.

message?string

Human-readable result message.

success?boolean

true when the request succeeded.

data?

Esign session and its current state.

Example Request
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"
  }
}