メインコンテンツへスキップ
POST
/
captcha
/
token
/
hcaptcha
Token Hcaptcha
curl --request POST \
  --url https://api.acedata.cloud/captcha/token/hcaptcha \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "website_key": "a5f74b19-9e45-40e0-b45d-47ff91b7a6c2",
  "website_url": "https://accounts.hcaptcha.com/demo"
}
'
{
  "token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1Ni......"
}

承認

Authorization
string
header
必須

ヘッダー

accept
enum<string>

Specifies the format of the response from the server.

利用可能なオプション:
application/json

ボディ

application/json
website_key
string
必須

The website key identifier in recaptcha.

:

"a5f74b19-9e45-40e0-b45d-47ff91b7a6c2"

website_url
string
必須

URL of the website where the recaptcha is located.

:

"https://accounts.hcaptcha.com/demo"

レスポンス

OK, the request is successful.

token
string

Verification result.