solve_turnstile
Solve a Turnstile challenge from its sitekey and pageUrl to get the token you submit yourself in the same session. Returns the token, or a taskId to track with captcha_status.
Instructions
Solve a Turnstile challenge from its sitekey and pageUrl and return the token. Use only when you will submit the token yourself from the same session and address, such as a form posted with web_fetch method=POST; to read the page behind the challenge use solve_and_continue. Returns the token, or a taskId to follow with captcha_status while a person solves it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageUrl | Yes | The page the widget is on. | |
| sitekey | Yes | The widget's site key, from the page's data-sitekey attribute. |