List exports
const url = 'https://api.hookbridge.io/v1/exports';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.hookbridge.io/v1/exports \ --header 'Authorization: Bearer <token>'List recent export jobs for the authenticated project. Returns the 20 most recent exports.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Exports retrieved successfully
object
object
Export job identifier
Project that owns this export
Export job status:
pending: Queued for processingprocessing: Currently generating the CSVcompleted: Ready for downloadfailed: Generation failedexpired: Download link has expired
Start of the export time range
End of the export time range
Message status filter (if specified)
Outbound endpoint ID filter (if specified, stored as UUID)
Inbound endpoint ID filter (if specified, when direction=inbound)
Export direction
Number of rows in the export (populated after completion)
File size in bytes (populated after completion)
Error description (if failed)
When processing started
When processing completed
When the download link expires
When the export was requested
object
Unique identifier for this request (useful for support)
Example
{ "data": [ { "id": "01935abc-def0-7123-4567-890abcdef012", "project_id": "proj_abc123", "status": "completed", "filter_start_time": "2025-12-01T00:00:00Z", "filter_end_time": "2025-12-06T23:59:59Z", "row_count": 5000, "file_size_bytes": 1024000, "created_at": "2025-12-06T12:00:00Z", "completed_at": "2025-12-06T12:05:00Z", "expires_at": "2025-12-13T12:05:00Z" } ], "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.