SIM Cards
Get activation code for an eSIM
Changed onIt returns the activation code for an eSIM.<br/><br/> 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.
get/sim_cards/{id}/activation_code
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/sim_cards/{id}/activation_code
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58
Identifies the SIM.
Response
Successful response
Example response
{
"data": {
"record_type": "sim_card_activation_code",
"activation_code": "LPA:1$...."
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status
- breaking