---
title: "Obtain a bearer token by access token"
method: GET
path: "/api/accessTokens/obtain"
tags: ["access-token-controller"]
---

# Obtain a bearer token by access token

`GET /api/accessTokens/obtain`

Returns the JWT token, otherwise 401 and an error code and message.

## Headers

- `X-AccessToken` string, required

## Response `200`

OK

- JWTTokenResponse
  - `token` string — Token

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Unexpected error in processing the request.

---

[API](https://skmtc.dev/myverifly/apis/api-documentation.md) · [All operations](https://skmtc.dev/myverifly/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myverifly/api-documentation/revisions/03f300608c33/schema)
