---
title: "Check if an API key is valid"
method: POST
path: "/api/v1/authInfo"
tags: ["CoreApi"]
---

# Check if an API key is valid

`POST /api/v1/authInfo`

## Request body

- AuthInfoPOSTRequest
  - `secret` string, required

## Response `200`

OK

- AuthInfoPOSTResponse
  - `account_id` integer
  - `success` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `502` — Bad Gateway

---

[API](https://skmtc.dev/friendlycaptcha/apis/friendly-captcha-api.md) · [All operations](https://skmtc.dev/friendlycaptcha/apis/friendly-captcha-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/friendlycaptcha/friendly-captcha-api/revisions/a6b8878cf24b/schema)
