Complex Usage Example
Advanced Media Filtering with Full Context
This example demonstrates advanced filtering with multiple parameters, relationship inclusion, contact filtering, and sorting for retrieving media records:Headers
Bearer token for authentication
Query Parameters
Comma-separated list of related resources to include. Available options: people, companies, workspaces
Filter media uploaded from this date (ISO 8601 format)
Filter media uploaded until this date (ISO 8601 format)
Filter media processed from this date (ISO 8601 format)
Filter media processed until this date (ISO 8601 format)
Filter by workspace ID
Filter by external workspace ID
Filter by person ID
Filter by phone number (E164 format)
Filter by email address
Filter by company ID
Filter by company registration tax ID
Filter by company registration registered value
Sort by field. Use '-' prefix for descending order (e.g., '-created_at' for newest first)
uploaded_at
, -uploaded_at
, processed_at
, -processed_at
Response
Media retrieved successfully