curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/utilities/countries/get \
--header 'x-api-key: <api-key>'{
"code": "00",
"success": true,
"message": "Retrieved successfully",
"data": [
{
"id": "08dd5d6c-a9b4-452d-8872-4ada3d46b506",
"name": "United States",
"countryCodeTwo": "US",
"countryCodeThree": "USA"
},
{
"id": "08dd7754-454d-4ab0-8ed1-5eed930ad067",
"name": "Ghana",
"countryCodeTwo": "GH",
"countryCodeThree": "GHA"
},
{
"id": "08dd7764-e2ab-455e-8359-84809550f17c",
"name": "Togo",
"countryCodeTwo": "TG",
"countryCodeThree": "TGO"
},
{
"id": "08dd782b-134c-4e7c-8726-4524b8e41fa8",
"name": "Brazil",
"countryCodeTwo": "BR",
"countryCodeThree": "BRA"
},
{
"id": "c15ad9ae-c4d7-4342-b70f-de5508627e3b",
"name": "Nigeria",
"countryCodeTwo": "NG",
"countryCodeThree": "NGA"
}
]
}
The endpoint allows you to retrieves the list and details of Countries.
curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/utilities/countries/get \
--header 'x-api-key: <api-key>'{
"code": "00",
"success": true,
"message": "Retrieved successfully",
"data": [
{
"id": "08dd5d6c-a9b4-452d-8872-4ada3d46b506",
"name": "United States",
"countryCodeTwo": "US",
"countryCodeThree": "USA"
},
{
"id": "08dd7754-454d-4ab0-8ed1-5eed930ad067",
"name": "Ghana",
"countryCodeTwo": "GH",
"countryCodeThree": "GHA"
},
{
"id": "08dd7764-e2ab-455e-8359-84809550f17c",
"name": "Togo",
"countryCodeTwo": "TG",
"countryCodeThree": "TGO"
},
{
"id": "08dd782b-134c-4e7c-8726-4524b8e41fa8",
"name": "Brazil",
"countryCodeTwo": "BR",
"countryCodeThree": "BRA"
},
{
"id": "c15ad9ae-c4d7-4342-b70f-de5508627e3b",
"name": "Nigeria",
"countryCodeTwo": "NG",
"countryCodeThree": "NGA"
}
]
}
{
"code": "00",
"success": true,
"message": "Retrieved successfully",
"data": [
{
"id": "08dd5d6c-a9b4-452d-8872-4ada3d46b506",
"name": "United States",
"countryCodeTwo": "US",
"countryCodeThree": "USA"
},
{
"id": "08dd7754-454d-4ab0-8ed1-5eed930ad067",
"name": "Ghana",
"countryCodeTwo": "GH",
"countryCodeThree": "GHA"
},
{
"id": "08dd7764-e2ab-455e-8359-84809550f17c",
"name": "Togo",
"countryCodeTwo": "TG",
"countryCodeThree": "TGO"
},
{
"id": "08dd782b-134c-4e7c-8726-4524b8e41fa8",
"name": "Brazil",
"countryCodeTwo": "BR",
"countryCodeThree": "BRA"
},
{
"id": "c15ad9ae-c4d7-4342-b70f-de5508627e3b",
"name": "Nigeria",
"countryCodeTwo": "NG",
"countryCodeThree": "NGA"
}
]
}