HTTP Status Codes
The ProWebLook API uses conventional HTTP response codes to indicate the success or failure of a request.| Code | Status | Description |
|---|---|---|
200 | OK | Request succeeded. |
202 | Accepted | Batch job submitted and is being processed. |
400 | Bad Request | Missing or invalid parameters. |
401 | Unauthorized | Invalid or missing API key. |
402 | Payment Required | Insufficient API credits for the requested service. |
404 | Not Found | The requested resource was not found (e.g., batch ID). |
500 | Internal Server Error | An unexpected error occurred on the server. |
Error Response Format
All errors return a JSON body with anerror key:
Common Errors
401 — Invalid API Key
401 — Invalid API Key
Cause: The
api_key parameter is missing or does not match any registered user account.Resolution: Double-check your API key from the ProWebLook dashboard and ensure it is passed correctly as a query parameter or body field.402 — Insufficient Credits
402 — Insufficient Credits
Cause: Your credit balance for the requested service has been depleted.Resolution: Top up your credits from the ProWebLook dashboard. Use the Balance API to check your current balance before bulk operations.
400 — Missing Parameters
400 — Missing Parameters
Cause: A required parameter is missing from the request.Resolution: Check the endpoint documentation and ensure all required fields are present.
400 — Batch Size Exceeded
400 — Batch Size Exceeded
Cause: More than 1,000 phone numbers were submitted in a single batch request.Resolution: Split your list into batches of 1,000 or fewer.
404 — Batch Not Found
404 — Batch Not Found
Cause: The
batch_id does not exist or does not belong to the provided API key.Resolution: Ensure you are polling with the same api_key that submitted the batch, and that the batch_id is correct.