---
title: "Check code"
method: GET
path: "/magiclink/code/check/{magickey}/{code}"
tags: ["Magiclink"]
---

# Check code

`GET /magiclink/code/check/{magickey}/{code}`

## Request

- Base URL: `https://api.carbonvoice.app`
- URL: `https://api.carbonvoice.app/magiclink/code/check/{magickey}/{code}`
- Auth: none declared

Check generated code and exchange it for a pxtoken. 3 attempts allowed.

## Path parameters

- `magickey` string, required
- `code` string, required

## Response `200`

- MagicTokenResponse
  - `data` MagicToken, required
    - `code` string, required
    - `magicToken` string, required
    - `attempts_left` number, required
  - `pxtoken` string, required

---

[API](https://skmtc.dev/carbonvoice/apis/carbon-voice-api.md) · [All operations](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/carbonvoice/apis/carbon-voice-api/revisions/b91c5c845122?raw)
