Security
Security Alert: This endpoint, as currently documented, does not require authentication. Exposing it publicly without protection could allow anyone to trigger processing tasks for any account ID, potentially leading to resource exhaustion or abuse.Recommendation: Implement robust authentication/authorization for this endpoint in production. Options include:
- API Key: Require a secret API key in the request header.
- Internal Token: Use a specific service-to-service token.
- IP Whitelisting: Restrict access to trusted IP addresses (e.g., internal services).
- User Authentication (if applicable): If only logged-in users should trigger this, implement standard JWT/session authentication.
API Playground Issue? If you encounter issues with the API playground, you can test directly with cURL or Postman:
Path Parameters
The unique identifier of the account to process in the database
Response
Confirmation message that processing has started
The account data that was queued for processing
201 Created
404 Not Found
500 Server Error
Implementation Details
This endpoint creates a processing task in one of multiple load-balanced queues. The system uses a round-robin approach to distribute tasks across queues to prevent rate limiting and resource exhaustion. The account must already have authentication data (cookies, localStorage, and sessionStorage) stored in the database. This data is typically collected using the OnlyAutomator Chrome Extension.Path Parameters
The unique identifier of the account to process