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

eSIMs Link API - New way to distribute/share eSIM with your customers

Table of Contents

After you have created an eSIM profile, you can generate a link to share with your customers. This link will allow them to install the eSIM profile on their devices.

To generate an eSIM link, you will need to send a POST request to the /api/esim/link endpoint.

The request body should contain the either the following parameters:

  • iccid: The ICCID of the eSIM. This is a required field of type string.
  • esimId: The ID of the eSIM. This is a required field of type string, no need to provide if you included the iccid.

Here is an example of how you can generate an eSIM link using curl or javascript.

curl --request POST \ --url 'https://api-dev.getroamify.com/api/esim/link' \ --header 'Authorization: Bearer Access Token' \ --header 'Content-Type: application/json' \ --data '{ "iccid": "iccid here" }'

Sample Response with ICCID

{ "status": "success", "data": { "iccid": "8935306745498905", "esimId": "f72d9b90-52b3-47d9-95f6-2cf61ab176aa", "link": "https://dev.esims.link/acme/4OYONUH79IW1", "whatsappLink": "https://api.whatsapp.com/send?text=Check%20out%20your%20eSIM%3A%20https%3A%2F%2Fdev.esims.link%2Facme%2F4OYONUH79IW1%20with%20access%20code%3A%205897", "key": "4OYONUH79IW1", "accessCode": "5897", "createdAt": 1767812581, "updatedAt": 1767812581 } }