---
title: "Get captcha provider"
method: GET
path: "/api/captcha-provider"
tags: ["Captcha provider"]
---

# Get captcha provider

`GET /api/captcha-provider`

Get the captcha provider, you can only have one captcha provider.

## Response `200`

Captcha provider.

- object
  - `tenantId` string, required
  - `id` string, required
  - `config` union, required
    - object
      - `type` string, "Turnstile", required
      - `siteKey` string, required
      - `secretKey` string, required
    - object
      - `type` string, "RecaptchaEnterprise", required
      - `siteKey` string, required
      - `secretKey` string, required
      - `projectId` string, required
      - `domain` string
      - `mode` 'invisible' | 'checkbox'
  - `createdAt` number, required
  - `updatedAt` number, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Captcha provider not found.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/revisions/a163dc77d842/schema)
