---
title: "Tiktok Oauth"
method: GET
path: "/api/tiktok/oauth"
---

# Tiktok Oauth

`GET /api/tiktok/oauth`

## Request

- Base URL: `https://allover.art` (the document declares no server; this is the origin it was published from)
- URL: `https://allover.art/api/tiktok/oauth`
- Auth: none declared

Забрать код у TikTok, обменять на токен, положить в секреты.

Параметр называется `auth_code`, но в части их документации — `code`,
поэтому принимаем оба: ошибиться здесь значит получить пустую страницу
вместо токена и не понять почему.

## Query parameters

- `auth_code` string
- `code` string
- `state` string

## Headers

- `x-admin-key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/allover/apis/allover-art-storefront.md) · [All operations](https://skmtc.dev/allover/apis/allover-art-storefront/llms.txt) · [OpenAPI document](https://skmtc.dev/allover/apis/allover-art-storefront/revisions/9e913770cc1a?raw)
