Get Emails
Retrieve a list of email addresses with advanced filtering, sorting, and include capabilities. This endpoint supports:
Default behavior: Returns email addresses with basic information (IDs only for relationships).
Trailing slashes: Works with or without trailing slashes ’/’.
Include functionality: Use the include parameter to get detailed relationship data.
Date filtering: Filter by creation, update, or deletion date ranges.
Relationship filtering: Filter by related entities using various identifiers.
Contact filtering: Filter by contact information and verification status.
Company filtering: Filter by company registration details.
Email filtering: Filter by primary status, verification, and label.
Sorting: Sort results by date fields in ascending or descending order.
Complex Usage Example
Advanced Email Filtering with Full Context
This example demonstrates advanced filtering with multiple parameters, relationship inclusion, sorting, and pagination:Filtering & sorting on related objects
Filter and sort on a related (included) object by nesting into the relationship — the same relationships you pass toinclude.
- To-one relations nest directly:
{ "issuer": { "name": { "_eq": "Acme" } } }, and sort by a dot-path:"orderBy": { "field": "issuer.name", "direction": "asc" }. - To-many relations must be quantified with
_some,_every, or_none:{ "items": { "_some": { "quantity": { "_gt": 1 } } } }. They are not directly sortable (a to-many sort needs an aggregate proxy). - Composite
composite_*columns are virtual — filter and sort on their underlying source fields, not on the composite.
include) and how to filter or sort on each:
| Relationship | Cardinality | Filter on a field | Sort by a field |
|---|---|---|---|
workspace | to-one (workspace) | { "workspace": { "name": { "_eq": … } } } | "field": "workspace.name" ✅ |
company_emails | to-many (company_email) | { "company_emails": { "_some": { "field_name": { "_eq": … } } } } | aggregate proxy only ⚠️ |
person_emails | to-many (person_email) | { "person_emails": { "_some": { "field_name": { "_eq": … } } } } | aggregate proxy only ⚠️ |
field_name with any field of the related object. See its object-reference page for the full field list.
Filter by a to-one relation (and sort by it):
Headers
Bearer token for authentication
Query Parameters
Comma-separated list of related resources to include with detailed attributes. Available options: persons, companies, workspaces
Filter emails created on or after this datetime (ISO 8601 format)
Filter emails created on or before this datetime (ISO 8601 format)
Filter emails updated on or after this datetime (ISO 8601 format)
Filter emails updated on or before this datetime (ISO 8601 format)
Filter emails by workspace UUID
Filter emails by external workspace identifier
Filter emails by person UUID
Filter by email address
Filter by company ID
Filter by company registration tax ID
Filter by company registration registered value
Filter by primary email status
Filter by verification status
Filter by email label
work, personal, support, billing, other Sort emails by date fields. Prefix with '-' for descending order.
created_at, updated_at, -created_at Number of emails to return per page (1-100)
1 <= x <= 100Cursor for pagination to get the next page of results