Skip to Content
🚀 Trusted by travel businesses worldwide - Roamify eSIM API
eSIMs ModuleCountries

Table of Contents

Countries

To get a list of countries, you need to send a GET request to the /api/esim/countries endpoint.

There are no required parameters for this endpoint.

Usage - fetch a list of eSIM supported countries

Here is an example of how you can get a list of countries using Roamify eSIM API.

curl --request GET \ --url 'https://api-dev.getroamify.com/api/esim/countries' \ --header 'Authorization: Bearer Access Token' \ --header 'Content-Type: application/json'

Sample Response

{ "status": "success", "data": { "countries": [ { "code": "AF", "name": "Afghanistan" }, { "code": "AF", "name": "Africa Adventure" }, { "code": "AX", "name": "Ã…land Islands" }, { "code": "AL", "name": "Albania" }, { "code": "DZ", "name": "Algeria" }, { "code": "AD", "name": "Andorra" } ] } }
Last updated on