Search for emails using specified criteria and filters.
POST
/crm/v3/objects/emails/search https://api.hubapi.com
Perform a search for emails based on the provided query parameters and return matching results.
Request Body
application/json
required
interface PublicObjectSearchRequest {
after: string;
filterGroups:FilterGroup [];
limit: number;
properties: string[];
query?: string;
sorts: string[];
}
after: string;
filterGroups:
limit: number;
properties: string[];
query?: string;
sorts: string[];
}
Responses
200 application/json
successful operation
interface CollectionResponseWithTotalSimplePublicObject11 {
paging?:Paging18 ;
results:SimplePublicObject14 [];
total: number;
}
paging?:
results:
total: number;
}
default */*
An error occurred.
interface Error {
category: string;
context?: { };
correlationId: string;
errors?:ErrorDetail [];
links?: { };
message: string;
subCategory?: string;
}
category: string;
context?: { };
correlationId: string;
errors?:
links?: { };
message: string;
subCategory?: string;
}