NEW Risiddha Trust Suite 2.0: Instant DigiLocker XML & Aadhaar eSign v2.1 Integrations Live!
ISO 27001 & CERSAI Regulated Explore Sandbox →
API VERSION 2.4

Risiddha Identity & Trust API Reference

Integrate source-authenticated verification and legally binding electronic signatures into your applications with our modern REST APIs.

1. Authentication

All API requests must be sent over HTTPS. Authenticate requests by providing your API secret key in the Authorization header using the Bearer scheme.

HTTP Request Header
Authorization: Bearer rf_live_9a7d32c8e14b5190a618f
Content-Type: application/json
Accept: application/json

2. Standard Response Format

Risiddha uses conventional HTTP response codes to indicate success or failure of an API request.

Code Status Description
200 OK SUCCESS Verification completed and authenticated successfully.
400 Bad Request INVALID_INPUT Missing mandatory fields or malformed JSON payload.
401 Unauthorized AUTH_FAILED Invalid or expired API token.
422 Unprocessable MISMATCH Document parsed, but failed government registry match.
429 Rate Limited THROTTLED Quota exceeded. Upgrade your tier or reduce burst traffic.

3. DigiLocker XML & e-KYC

POST /v2/kyc/digilocker/fetch

Retrieves source-authenticated official records directly from DigiLocker government repositories upon explicit customer consent.

Example Request Body (JSON)
{
  "document_type": "AADHAAR",
  "consent": "Y",
  "consent_timestamp": "2026-11-06T13:45:00Z",
  "consent_message": "I hereby authorize Risiddha to access my DigiLocker Aadhaar XML.",
  "client_reference_id": "RF_REF_881923"
}

4. Aadhaar eSign v2.1 Docket

POST /v2/esign/docket/create

Creates an electronic signature session for a document, assigns signatories, and optionally calculates state-specific electronic stamp duty.

Sample Response (JSON)
{
  "status": "SUCCESS",
  "docket_id": "RF_DOC_55198",
  "signing_url": "https://sign.risiddhafinserv.com/session/rf_s_49102",
  "expires_at": "2026-11-07T13:45:00Z",
  "stamp_duty_status": "PROCURING_UP_100",
  "audit_trail_enabled": true
}