Skip to main content

Get activation QR code for an eSIM

GET 
/sim_cards/:sim_card_id/activation_code

It returns the contents for the activation QR code for an eSIM.

This API is only available for eSIMs. If the given SIM is a physical SIM card, or has already been installed, an error will be returned.

Request

Path Parameters

    sim_card_id uuidrequired

    Identifies a SIM card.

Responses

200: Successful response

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/sim_cards/:sim_card_id/activation_code' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"record_type": "sim_card_activation_code",
"activation_code": "LPA:1$...."
}
}