---
title: "Script Admin Check"
method: POST
path: "/api/script/admin-check"
tags: ["script"]
---

# Script Admin Check

`POST /api/script/admin-check`

## Request

- Base URL: `https://otakusolutions.com` (the document declares no server; this is the origin it was published from)
- URL: `https://otakusolutions.com/api/script/admin-check`
- Auth: none declared

라이선스 키가 맞는 이메일의 role 이 admin 인지만 답한다.

성공: {"ok": true, "admin": bool}
필드 비움: 400
라이선스 서버 실패: 503  (admin true 를 만들지 않는다)
요청에 role 이 있어도 무시한다.

## Request body

- ScriptAdminCheckRequest
  - `email` string, required
  - `license_key` string
  - `product_name` string, required
  - `access_token` string
  - `refresh_token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-10** `b55d78f866fb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage/changes/api/script/admin-check/post.md)

---

[API](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage.md) - [All operations](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage/llms.txt) - [OpenAPI document](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage/revisions/e5bf958d0a23?raw)
