GETActivation

Get QR Code

Retrieve the activation QR code for a specific eSIM. The QR code can be scanned by a compatible device to install and activate the eSIM profile. Returns both a base64-encoded QR code image and the raw activation code string.

Endpoint

GEThttps://api.sotel.com/api/esim/activate/{ICCID}/qr/code

Authentication

Requires a bearer token obtained from the /authenticate endpoint. Include it in the Authorization header.

Authorization: Bearer {token}

Path Parameters

NameTypeRequiredDescription
ICCIDstringRequiredThe Integrated Circuit Card Identifier (ICCID) of the eSIM to generate the activation QR code for.

Response

QR code and activation details returned successfully.

Response
{
  "iccid": "8901260882902400001",
  "activationCode": "LPA:1$smdp.example.com$ACTIVATION_CODE_STRING",
  "smdp": "smdp.example.com",
  "qrCodeImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
  "qrCodeFormat": "png",
  "manualActivationCode": "LPA:1$smdp.example.com$ACTIVATION_CODE_STRING"
}

Code Examples

curl -X GET 'https://api.sotel.com/api/esim/activate/8901260882902400001/qr/code' \
  -H 'Authorization: Bearer {token}'

Try It

Try It

Fill in the parameters to generate a cURL command

Generated cURL
curl -X GET 'https://api.sotel.com/api/esim/activate/{ICCID}/qr/code' \
  -H 'Authorization: Bearer {token}'