Get Voter ID Result
Retrieve the result of an asynchronous voter ID verification request.
curl -X GET "https://production.deepvue.tech/v1/verification/get-voter-id?request_id=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://production.deepvue.tech/v1/verification/get-voter-id?request_id=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/verification/get-voter-id?request_id=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://production.deepvue.tech/v1/verification/get-voter-id?request_id=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/verification/get-voter-id?request_id=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"action": "verify_with_source",
"completed_at": "2025-01-31T12:21:15+05:30",
"created_at": "2025-01-31T12:21:14+05:30",
"group_id": "8e16424a-58fc-4ba4-ab20-5bc8e7c3c41e",
"request_id": "f84f8dd0-b4fc-4c76-92a1-a852a0a48246",
"task_id": "1f2627e7-a914-4e48-85f8-f58450e91687",
"type": "ind_voter_id",
"status": "completed",
"result": {
"source_output": {
"ac_no": "175",
"district": "B.B.M.P(SOUTH)",
"gender": "M",
"id_number": "UHN152632",
"name_on_card": "mosd niharika",
"part_no": "21",
"ps_name": "NARAYANA B TECNOLOGY SCHOOL 40/1 TP NAGAR 9TH PHASE 24TH MAIN ROAD BOB COLONY ROOM NO -02",
"rln_name": "KIND MOHUED",
"section_no": "5",
"source": "NVSP",
"st_code": "S10",
"state": "Karnataka",
"status": "id_found"
}
}
}
{
"detail": "Inactive client_id"
}
{
"detail": "Not authenticated"
}
{
"detail": "Not a valid token"
}
{
"code": 422,
"timestamp": 1738183355777,
"transaction_id": "2d45f642ee2b4c3fbb96c88dadb78c86",
"sub_code": "INVALID_REQUEST_ID",
"message": "Invalid Request ID"
}
{
"detail": "Internal Server Error"
}
{
"code": null,
"timestamp": null,
"transaction_id": "string",
"message": "Source Unavailable"
}
/v1/verification/get-voter-id
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Query Parameters
Responses
Overview
This API returns the complete result and verification details for a voter ID verification request. It accepts the request_id received from the Create Voter ID Verification endpoint and returns the corresponding verification outcome.
The Async KYC APIs operate asynchronously — they return a request ID upon initiation and use a webhook mechanism to deliver responses back to your servers. You can use this GET endpoint with the request ID to retrieve the verification response at any time.
The response includes the verification status along with extracted voter ID details from government records.
Last updated 4 weeks ago
Built with Documentation.AI