---
title: "Get short lived token from normal authorization token"
method: GET
path: "/api/v1/auth/timed"
tags: ["TimedAuth"]
---

# Get short lived token from normal authorization token

`GET /api/v1/auth/timed`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/auth/timed`
- Auth: API key in header `Authorization`

## Query parameters

- `otpCode` string

## Headers

- `Authorization` string
- `X-Impersonate-User` string

## Response `201`

Created

- AuthBase: Authorization base resource
  - `token` Token: Token resource
    - `accessToken` string: Access token, type is Bearer
    - `refreshToken` string: Refresh token
    - `email` string: Email of refresh token
    - `isSyncable` boolean, required: Token is syncable
  - `$type` string, required

## Other responses

- `400`: Bad request. Check fields message and error code from response body for additional information.
- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
