Get apidownload status
Poll the processing status of a lead export.
Prerequisites: Authenticated. The search_id must belong to the current user.
Keep polling until status is COMPLETED or FAILED. When completed, call /api/download-completed-csv/{search_id}/ to get the file.
Authorizations
API key. Format: Token
Path Parameters
Response
Processing status: PENDING, PROCESSING, COMPLETED, or FAILED.
Machine-readable code: processing_pending, processing_in_progress, processing_completed, processing_failed.
Number of leads in the export.
File size in bytes (only when COMPLETED).
File size in MB (only when COMPLETED).
When the download link expires.
Human-readable error (only on known business errors).