1. Initiating a Check Job
To use real-time tracking, you must generate a uniquejobId on the client side and provide it to the API.
Job ID Requirements
- Format: 3-64 characters, alphanumeric, underscores (
_), or hyphens (-). - Uniqueness: A
jobIdcan only be used by one active request at a time. If you use an ID that is already in progress, the API will return a409 Conflicterror. - Reuse: You can reuse the same ID once the previous job associated with it has completed or failed.
For /check (JSON)
Include thejobId in the JSON request body.
2. Connecting to WebSocket
Connect to the WebSocket endpoint before or during the HTTP request to start receiving updates. Endpoint:ws://api.clearproxy.io/ws?jobId=my_unique_job_id_123

