NAME VALIDATION API Documentation

Here's how to use the API:

For the live environment, make a POST request to the following URL:

https://emergentghanadev.com/api/name-validation/live

For the test environment, make a POST request to the following URL:

https://emergentghanadev.com/api/name-validation/test

Make sure to include the required headers and parameters as described in the documentation.

If you want to validate a name using a phone number, you can provide the phone number in the URL as a query parameter, like this:

https://emergentghanadev.com/api/name-validation/live/233123456789

Sample Request

{
    "app_id": "your_app_id",
    "app_key": "your_app_key",
    "mobile": "+1234567890",
    "network": "MTN"
}
            

Sample Response

{
    "status_code": 1,
    "status_message": "success",
    "firstname": "John",
    "surname": "Doe",
    "valid": "true"
}