Resend OTP
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400"
}
'import requests
url = "https://api.eka.care/abdm/na/v1/registration/aadhaar/resend"
payload = { "txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txn_id: '5d060cad-a93b-4edf-p3ef-bd412f69s400'})
};
fetch('https://api.eka.care/abdm/na/v1/registration/aadhaar/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}"
response = http.request(request)
puts response.read_body{
"hint": "OTP sent successfully to your mobile number ******90973",
"txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Create ABHA, Aadhaar OTP
Resend OTP
This endpoint is used to resend a otp for aadhaar registration process.
POST
/
abdm
/
na
/
v1
/
registration
/
aadhaar
/
resend
Resend OTP
curl --request POST \
--url https://api.eka.care/abdm/na/v1/registration/aadhaar/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400"
}
'import requests
url = "https://api.eka.care/abdm/na/v1/registration/aadhaar/resend"
payload = { "txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({txn_id: '5d060cad-a93b-4edf-p3ef-bd412f69s400'})
};
fetch('https://api.eka.care/abdm/na/v1/registration/aadhaar/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/na/v1/registration/aadhaar/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"txn_id\": \"5d060cad-a93b-4edf-p3ef-bd412f69s400\"\n}"
response = http.request(request)
puts response.read_body{
"hint": "OTP sent successfully to your mobile number ******90973",
"txn_id": "5d060cad-a93b-4edf-p3ef-bd412f69s400"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Used in
Authorizations
The API requires a Bearer token (JWT) for authentication.
Headers
Eka User ID (OID)
Partner User ID
Partner HIP ID
Body
application/json
Transaction ID received in the previous API response.
Example:
"5d060cad-a93b-4edf-p3ef-bd412f69s400"
Was this page helpful?

