---
title: "Retrieve an Onfido SDK Token"
method: GET
path: "/v1/accounts/{account_id}/onfido/sdk/tokens"
tags: ["KYC"]
---

# Retrieve an Onfido SDK Token

`GET /v1/accounts/{account_id}/onfido/sdk/tokens`

Get an SDK token to activate the Onfido SDK flow within your app. You will have to keep track of the SDK token so you can pass it back when you upload the SDK outcome. We recommend storing the token in memory rather than persistent storage to reduce any unnecessary overhead in your app.

## Path parameters

- `account_id` string, uuid, required

## Query parameters

- `referrer` string
- `platform` string

## Response `200`

OK

- object
  - `token` string

## Other responses

- `422` — Onfido applicant not yet created for account. If you haven't already contacted Alapca to enable Onfido, please do so.

---

[API](https://skmtc.net/alpacahq/apis/gift-city-extensions-api.md) · [All operations](https://skmtc.net/alpacahq/apis/gift-city-extensions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alpacahq/gift-city-extensions-api/revisions/62e3378bb273/schema)
