---
title: "Get activation code for an eSIM"
method: GET
path: "/sim_cards/{id}/activation_code"
tags: ["SIM Cards"]
---

# Get activation code for an eSIM

`GET /sim_cards/{id}/activation_code`

It 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.

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful response

- object
  - `data` SIMCardActivationCode
    - `record_type` string
    - `activation_code` string — Contents of the eSIM activation QR code.

## Other responses

- `401` — Unauthorized
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
