Authentication

Authentication

We are using OAuth 2.0 for authentication. To authenticate with Roamify eSIM API, you need to follow the steps below.

Authentication Flow

  1. Get Access Token: Retrieve your Access Token from Roamify Partner Portal.
  2. Use Access Token: Use the Access Token to make requests to Roamify eSIM API by including it in the Authorization header as a Bearer token.

Access Token

Your Access Token is a long-lived token that you can use to make requests to Roamify eSIM API. It is recommended that you store your Access Token securely and refresh it when it expires.

Refresh Token

You can refresh your Access Token in the Roamify Partner Portal, under the API Keys section. Upon refreshing your Access Token, your old Access Token will be invalidated.

Example

Here is an example of how you can use your Access Token to make requests to 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' \