Przejdź do głównej treści
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......"
}

Autoryzacje

Authorization
string
header
wymagane

Nagłówki

accept
enum<string>

Specifies the format of the response from the server.

Dostępne opcje:
application/json

Treść

application/json
website_key
string
wymagane

The website key identifier in recaptcha.

Przykład:

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

website_url
string
wymagane

URL of the website where the recaptcha is located.

Przykład:

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

Odpowiedź

OK, the request is successful.

token
string

Verification result.