Retrieve a list of media records with advanced filtering, sorting, and include capabilities. This endpoint supports:
Default behavior: When no query filters are provided, returns all media associated with the workspace_id and people_id extracted from the authentication token.
Include functionality: Use the include parameter to get full details of related resources in the response.
Date filtering: Filter by creation or update date ranges using uploaded_at_from/to and processed_at_from/to.
Relationship filtering: Filter by related entities using workspace_id, people_id, company_id, etc.
Contact filtering: Filter by contact information like phone_number or email.
Company filtering: Filter by company registration details like registration_tax_id.
Sorting: Sort results by created_at, updated_at in ascending or descending order.
Bearer token for authentication
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 Media retrieved successfully