Skip to content

Get export

GET
/v1/exports/{id}

Retrieve details of a specific export job including its status, row count, and file size when completed.

id
required
string format: uuid

Export job identifier (UUIDv7)

Example
01935abc-def0-7123-4567-890abcdef012

Export details retrieved successfully

object
data
object
id

Export job identifier

string format: uuid
Example
01935abc-def0-7123-4567-890abcdef012
project_id

Project that owns this export

string
Example
proj_abc123
status

Export job status:

  • pending: Queued for processing
  • processing: Currently generating the CSV
  • completed: Ready for download
  • failed: Generation failed
  • expired: Download link has expired
string
Allowed values: pending processing completed failed expired
Example
completed
filter_start_time

Start of the export time range

string format: date-time
Example
2025-12-01T00:00:00Z
filter_end_time

End of the export time range

string format: date-time
Example
2025-12-06T23:59:59Z
filter_status

Message status filter (if specified)

string
Example
failed_permanent
filter_endpoint_id

Outbound endpoint ID filter (if specified, stored as UUID)

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000
filter_inbound_endpoint_id

Inbound endpoint ID filter (if specified, when direction=inbound)

string format: uuid
Example
01935abc-def0-7123-4567-890abcdef012
direction

Export direction

string
Allowed values: outbound inbound
Example
outbound
row_count

Number of rows in the export (populated after completion)

integer
Example
5000
file_size_bytes

File size in bytes (populated after completion)

integer
Example
1024000
error_message

Error description (if failed)

string
started_at

When processing started

string format: date-time
Example
2025-12-06T12:00:30Z
completed_at

When processing completed

string format: date-time
Example
2025-12-06T12:05:00Z
expires_at

When the download link expires

string format: date-time
Example
2025-12-13T12:05:00Z
created_at

When the export was requested

string format: date-time
Example
2025-12-06T12:00:00Z
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123
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
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123
Examples

Endpoint not found

{
"error": {
"code": "ENDPOINT_NOT_FOUND",
"message": "endpoint not found"
},
"meta": {
"request_id": "req_xyz123"
}
}

Unauthorized - Invalid or missing API key

object
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123
Example
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
},
"meta": {
"request_id": "req_xyz123"
}
}

Resource not found

object
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123
Example
{
"error": {
"code": "NOT_FOUND",
"message": "Message not found"
},
"meta": {
"request_id": "req_xyz123"
}
}
Personalize Examples

Enter your credentials to populate code examples throughout the docs.