Actions21
- Token Actions
- Recognition Actions
Recognition → TikTok CAPTCHA
AI-generatedSummary
Sends a TikTok CAPTCHA (slide, circle or click) to the CaptchaSonic API for recognition. It returns the solver's answer in a single synchronous call, with no polling.
Inputs
- Task Type (required) — Fixed to 'TikTok CAPTCHA' (API value tiktokClassification).
- Image (Base64) — Base64 CAPTCHA image. Sent as the first entry of the task's 'queries' array.
- Image Background (Base64) — Base64 background image, used for slide CAPTCHAs. Sent as 'imageBackground'.
- Question — Instruction text for the CAPTCHA. Sent as 'question'.
- Website URL — Page URL where the CAPTCHA appears. Sent only if non-empty.
- Website Key — Sitekey, if applicable. Sent as both websiteKey and websiteKEY.
- Body — Raw body. If it parses as a JSON object, its fields are merged into the task payload and can override other fields, which lets you pass extras the UI doesn't expose. If it isn't valid JSON, it is sent as a raw 'body' string.
Output shape
One item per input item: { success: true, data:
The API credential (captchaSonicApi) is required. If the API returns a non-zero errorId, the operation throws. With Continue On Fail enabled, the item becomes { error: message } instead. The exact fields inside 'data' come from the API and aren't defined in the node.
Examples
Example 1: Solve a TikTok slide CAPTCHA captured by a browser automation step
Set Image (Base64) to the puzzle piece, Image Background (Base64) to the background image, and optionally Question. Read the answer from {{$json.data}}.
Example 2: Pass extra API fields not exposed in the UI
Set Body to a JSON object such as {"questionType":"..."}. Its fields are merged into the task payload.