OTP
OTP Service APIs
Enables OTP creation, validation and search functions.
Last updated
Was this helpful?
Enables OTP creation, validation and search functions.
Last updated
Was this helpful?
Was this helpful?
POST /egov-otp//otp/v1/_create HTTP/1.1
Host:
Content-Type: */*
Accept: */*
Content-Length: 479
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"userName": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"description": "text"
}
]
}
]
}
},
"otp": {
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
}{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"otp": [
{
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
]
}POST /egov-otp//otp/v1/_validate HTTP/1.1
Host:
Content-Type: */*
Accept: */*
Content-Length: 479
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"userName": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"description": "text"
}
]
}
]
}
},
"otp": {
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
}{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"otp": [
{
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
]
}POST /egov-otp//otp/v1/_search HTTP/1.1
Host:
Content-Type: */*
Accept: */*
Content-Length: 479
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"id": 1,
"userName": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"description": "text"
}
]
}
]
}
},
"otp": {
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
}{
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"otp": [
{
"otp": "text",
"uuid": "text",
"identity": "text",
"tenantId": "text",
"isValidationSuccessful": "text"
}
]
}