Get export
const url = 'https://api.hookbridge.io/v1/exports/01935abc-def0-7123-4567-890abcdef012';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/01935abc-def0-7123-4567-890abcdef012 \ --header 'Authorization: Bearer <token>'Retrieve details of a specific export job including its status, row count, and file size when completed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Export job identifier (UUIDv7)
Example
01935abc-def0-7123-4567-890abcdef012Responses
Section titled “Responses”Export details 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", "filter_status": "failed_permanent", "row_count": 5000, "file_size_bytes": 1024000, "started_at": "2025-12-06T12:00:30Z", "completed_at": "2025-12-06T12:05:00Z", "expires_at": "2025-12-13T12:05:00Z", "created_at": "2025-12-06T12:00:00Z" }, "meta": { "request_id": "req_xyz123" }}Invalid request
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "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" }}Resource not found
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "NOT_FOUND", "message": "Message not found" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.