Skip to main content

EWS Certificate Verification

This document describes state-wise inputs required to verify EWS certificates via this service, and how to obtain captcha where applicable.

EWS Certificate Structure

KeyDescription
EWS NumberUnique EWS/Certificate/Application number
NameApplicant name (only for specific states)
Security CodeSecurity code printed on certificate (Kerala)
CaptchaCaptcha text solved for the verification
TokenAnti-forgery/request token (Delhi only), found in captcha response

Verification Modes

EWS certificate verification supports two modes:

Automatic Verification (Instant)

The following states support automatic verification with instant results:

StateCodeRequires NameRequires CaptchaRequires TokenRequires Security CodeNumber Format (masked)
Andhra PradeshAPNoNoNoNoCGCXXXXXXXXXXXX (15)
BiharBRYesNoNoNoEWSCO/XXXX/XXXXXX (17)
ChhattisgarhCTNoNoNoNoXXXXXXXXXXXXXXXX[X] (16–17)
DelhiDLYesYesYesNoXXXXXXXXXXXXXX (14)
HaryanaHRNoNoNoNoHAXXXXXXXXXX (12)
KeralaKLNoNoNoYesXXXXXXXX (8)
OdishaORNoNoNoNoXXXXXXXX (8)
PunjabPBNoNoNoNoESXXXXXXXX (10)
RajasthanRJNoNoNoNoXXXXXXXXXXXX (12)
Tamil NaduTNNoYesNoNoTN-XXXXXXXXXXXXXX (16)
TelanganaTGNoNoNoNoCNDXXXXXXXXXXXXXXX (15)

Manual Verification

All other states (not listed above) fall under manual verification mode. For manual verification:

  • documentUrl is mandatory - you must provide the document URL/image url for manual processing
  • Verification is not instant and requires manual review

Supported states for manual verification:

StateCode
Andaman and Nicobar IslandsAN
Arunachal PradeshAR
AssamAS
ChandigarhCH
Dadra and Nagar HaveliDN
Daman and DiuDD
GoaGA
GujaratGJ
Himachal PradeshHP
Jammu and KashmirJK
JharkhandJH
KarnatakaKA
LakshadweepLA
LadakhLD
Madhya PradeshMP
MaharashtraMH
ManipurMN
MeghalayaML
MizoramMZ
NagalandNL
PuducherryPY
SikkimSK
TripuraTR
Uttar PradeshUP
UttarakhandUT
West BengalWB

API Integration

  • Endpoint to get captcha (if required by state):

    • POST /ews-certificate/pre
  • Endpoint to verify and fetch certificate details (send captcha answer if required):

    • POST /ews-certificate

Captcha fetch (DL, TN)

Request:

{
"state": "DL"
}

Response:

{
"captcha": "<base64 image>",
"token": "<anti-forgery token if required>"
}

Verify request examples

Automatic Verification Examples

  • Delhi (requires name + captcha + token):
{
"state": "DL",
"ewsNumber": "XXXXXXXXXXXXXX",
"name": "JOHN",
"captcha": "7h2joU",
"token": "<token-from-captcha-api>"
}
  • Bihar (requires name):
{
"state": "BR",
"ewsNumber": "EWSCO/XXXX/XXXXXX",
"name": "JOHN DOE"
}
  • Kerala (requires securityCode):
{
"state": "KL",
"ewsNumber": "XXXXXXXX",
"securityCode": "3RMPZ"
}
  • Tamil Nadu (requires captcha):
{
"state": "TN",
"ewsNumber": "TN-XXXXXXXXXXXXXX",
"captcha": "A1B2C3"
}
  • States with only number (examples: AP, CT, HR, OR, PB, RJ, TG):
{
"state": "AP",
"ewsNumber": "CGCXXXXXXXXXXXX"
}

Manual Verification Examples

For states not supporting automatic verification, documentUrl is mandatory.

To generate documentUrl, use File Upload API, where for folderName, use "ews-certificate"

  • West Bengal (manual verification):
{
"state": "WB",
"ewsNumber": "XXXXXXXXXXXXXXXX",
"documentUrl": "https://example.com/ews-certificate.pdf"
}
  • Maharashtra (manual verification):
{
"state": "MH",
"ewsNumber": "XXXXXXXXXXXXXXXX",
"documentUrl": "https://example.com/ews-certificate.jpg"
}
  • Karnataka (manual verification):
{
"state": "KA",
"ewsNumber": "XXXXXXXXXXXXXXXX",
"documentUrl": "https://example.com/ews-certificate.png"
}

Successful Response

Automatic Verification Response

For states with automatic verification, you get instant results:

{
"code": 0,
"message": "Success",
"data": {
"certificateNumber": "XXXXXX",
"name": "RXXXX XXXXXA",
"fatherName": "JUXXXL XXXXR SXXXXA",
"motherName": "SXXXN XXXI",
"village": "XXXXXXX",
"mandal": "XXXXXXXXX",
"district": "JXXXXXXXXXX",
"cast": "BXXXXXXX",
"income": "1XXX",
"address": "XXXXX XXXXX XXXx",
"age": "XX",
"gramPanchayat": "XXXXXXXXX",
"pinCode": "XXXXXX",
"aadharId": "XXXXXXX",
"mode": "automatic"
}
}

Manual Verification Response

For states requiring manual verification, the response indicates manual processing:

{
"code": 0,
"message": "Success",
"data": {
"status": "IN_PROGRESS",
"mode": "manual",
"id": "68e5131e3ff7588de909a0bf"
}
}

id field explanation: For manual verification response is available later via webhook, same id is provided in the webhook.

mode field explanation:

  • "automatic": Instant verification was performed and results are immediately available
  • "manual": Document has been submitted for manual review and results will be available later
Webhook Response Payload
{
"id": "68e5131e3ff7588de909a0bf",
"action": "verification-completed",
"scope": "automatic-verification",
"data": {
"candidate_name": "Candidate Name",
"given_father_name": "Candidate Father Name",
"given_certificate_number": "XXXXXX",
"verified_name": "Candidate Name",
"verified_father_name": "Candidate Father Name",
"verified_certificate_number": "XXXXXX",
"result": "SUCCESS",
"reason": "VERIFIED",
"remarks": "The ews certificate has been verified successfully",
"date_of_completion": "1759234872",
"pdf_serving_url": "https://example.com/ews-certificate.pdf"
}
}

Invalid/Not found Response (example)

{
"code": 0,
"message": "Success",
"data": {
"status": "INVALID",
"message": "Invalid EWS Certificate"
}
}