Automatically assigns a Webshare proxy to the specified account.
WEBSHARE_API_KEY configured in its environment variables to fetch available proxies from Webshare.io.curl or a similar tool with a valid, current user JWT obtained from your browser’s session after logging in.curl, you need the JWT access token stored by Supabase Auth in your browser.
http://localhost:3000 or https://onlyautomator.com).sb-access-token (the exact name might vary slightly based on Supabase configuration).Authorization: Bearer <your_copied_token> header for your curl or other API tool requests.| Status Code | Description |
|---|---|
| 400 | Missing accountId or invalid format in request body. |
| 401 | Authentication token is missing or invalid. |
| 404 | The specified accountId does not exist. |
| 409 | The account already has an active proxy and forceReassign was not set to true. |
| 500 | An internal server error occurred during assignment (e.g., database error, Webshare API communication issue). |
| 503 | No suitable, working proxies could be found in the Webshare pool after checking availability and connectivity, considering preferences. |
Standard user JWT token for authentication.
Bearer token for authentication (JWT)
The unique identifier of the OnlyFans account.
Optional ISO country code to prefer for assignment (e.g., 'US', 'DE').
"US"
Optional city name within the preferred country.
"New York"
If true, overrides an existing proxy assignment.
false