Get Countries


The Country List API provides a method for accessing a comprehensive list of countries. Each country represented by a unique "value" that can be utilized in conjunction with other APIs.


Request and Headers

curl --location --request GET 'https://core.getfaceage.com/api/v1/business/country' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer your_secret_key'

Response

{success} Response 200

{
    "status": true,
    "data": [
        {
            "value": 1,
            "label": "Afghanistan"
        },
        {
            "value": 2,
            "label": "Ă…land Islands"
        },
        {
            "value": 3,
            "label": "Albania"
        },
        ...
    ]
}


{warning} Response 401 : Unauthorized

{
    "message": "Unauthenticated."
}