Hoppa till huvudinnehåll
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......"
}

Auktoriseringar

Authorization
string
header
obligatorisk

Rubriker

accept
enum<string>

Specifies the format of the response from the server.

Tillgängliga alternativ:
application/json

Kropp

application/json
website_key
string
obligatorisk

The website key identifier in recaptcha.

Exempel:

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

website_url
string
obligatorisk

URL of the website where the recaptcha is located.

Exempel:

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

Svar

OK, the request is successful.

token
string

Verification result.