# Authentication

All API requests require authentication via the clientKey parameter.


# API Key

Your API key is a unique identifier that authenticates your requests. You can obtain it from:

  1. Discord Bot - Use /panel command to view your API key
  2. Dashboard - Available in your account settings

# Using Your API Key

Include your API key in the clientKey field of every request body:

{
  "clientKey": "your-api-key-here",
  "task": {
    ...
  }
}

# Example Request

import requests

response = requests.post("https://v1.captchasolv.com/solve", json={
    "clientKey": "your-api-key-here",  # Required
    "task": {
        "type": "RecaptchaV2TaskProxyless",
        "websiteURL": "https://example.com",
        "websiteKey": "site-key"
    }
})

# Security Best Practices

Do Don't
Store API key in environment variables Hardcode API key in source code
Use secrets management tools Share API key in public repos
Regenerate key if compromised Use same key for multiple projects

# Regenerating Your API Key

If your API key is compromised, you can regenerate it:

  1. Use /panel command in Discord
  2. Click the Regenerate Key button
  3. Update your applications with the new key

# Error Responses

If authentication fails, you'll receive:

{
  "errorId": 2,
  "errorCode": "ERROR_KEY_DOES_NOT_EXIST",
  "errorDescription": "Invalid API key"
}