Documentations for API
Name | Type | Values | Description |
---|---|---|---|
clientSecret | TEXT | Access-Token | Auth2.0 verification |
Accept | JSON | application/json | application/json |
Content-Type | JSON | application/json | application/json |
clientId | TEXT | ************* | ************* |
organizationId | TEXT | 223 | Authenticate organization |
Name | Description | Required | Parameter Type | Length | Sample Value |
---|
{ "getSecurityQuestionsReq": { "LoginToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjoiVC9jc24wUWk5MlNuT0lBcmdxejBYei9kTERWRXBZblhqYkRpMC9iaFE2aFVCOFhPSmlMRldnWlJPSll2dWw5QzJJZnlQb3RvdWdqR2JLamFmbk1xZnl0WW1yVURsTzBSNFY2cG9NdzNVZmFUeE5sU2R1TTdWUzNaYUpxVjYzK0trQjM5eVE2TXJleG92c0hDQUthcjlVdkpsYVFwOVpGU2NSUlBMSkNQVDhrNEUwYXBHa3ZiK1I4UDdRMU90d0o3Rm1lemZJTm1pUmZVL3VWdFFYYlJZKyt0Um8yNDh5alFxc2NYeDc1WVBBeldYYlJzc3lreHM3OVZKVjQxay9VSGJCeFRibjNETkNoNjlhOVpvaGVvclhudERFdmRtUE0vODJqSUxkTU5BdXM9IiwibmJmIjoxNzQ5MDIzNDczLCJleHAiOjE5MjkwMjM0NzMsImlhdCI6MTc0OTAyMzQ3MywiaXNzIjoiWmluZGlnaUJhY2tlbmQiLCJhdWQiOiJaaW5kaWdpQXBwIn0.Lo6oHdofF_PeJKLQb8WYWInGeW2dgJHjPpsvo2NjCrs", "DeviceID": "DeviceID", "MobileNo": "03458542952" } }
Name | Description | Parameter Type | Length | Sample Value |
---|
{ "getSecurityQuestionsRes": { "SecurityQuestions": [ { "QuestionID": 1, "Question": "What is your mother's full name?", "Answers": [ "kasrat zahir", "jamila bibi", "shehnaz bibi" ] } ] } }
{ "getSecurityQuestionsRes": { "SecurityQuestions": [ { "QuestionID": 1, "Question": "What is your mother's full name?", "Answers": [ "kasrat zahir", "jamila bibi", "shehnaz bibi" ] } ] } }
{ "messages": "Bad Request - Invalid Access Token", "errorcode": "4001" }
{ "messages": "Bad Request - Invalid Request Payload", "errorcode": "4002" }
{ "messages": "Bad Request - Invalid Authorization Header", "errorcode": "4003" }
{ "messages": "Something Went Wrong", "errorcode": "4004" }
{ "messages": "Record Not Found", "errorcode": "4005" }
{ "messages": "Invalid Client Id\/Secret", "errorcode": "4006" }
{ "messages": "Bad Request - Invalid Access Token", "errorcode": "4007" }
Name | Values | Description |
---|---|---|
Content-Type | application/json | Content Type application/json is supported |
Accept | application/json | Content Type application/json is supported |
organizationId | xyz | You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organisation ID it returns here. |
clientId | Enter your verified Client Id | |
clientSecret | Enter Your Verified Client Secret |