Skip to navigation
ActivitiesEmail Threads

List or filter all EmailThread activities

View as Markdown

You’ll get one object per email conversation (generally grouped by subject).

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

_limitintegerOptional<=100Defaults to 100
Number of results to return.
_skipintegerOptional<=250000Defaults to 0
Number of results to skip before returning, for pagination. The maximum is 35,000 for some organizations.
id__inlist of strings or nullOptional

Filter by activity IDs (comma-separated)

lead_idlist of strings or nullOptional

Filter by a comma-separated list of Lead IDs.

contact_idlist of strings or nullOptional

Filter by a comma-separated list of Contact IDs. Requires a single lead_id, or a user_id on endpoints for one activity type.

user_idlist of strings or nullOptional

Filter by a comma-separated list of User IDs. Requires a single lead_id, unless the endpoint is for one activity type.

organization_idstring or nullOptional
ID of your organization. Defaults to the organization of your API key or OAuth token.
_typelist of strings or nullOptional

Filter by a comma-separated list of activity types, e.g. Call. Requires a single lead_id, or a user_id on endpoints for one activity type.

date_created__gtedatetime or dateOptional

Only include activities created in Close at or after this date or date and time. Can’t be combined with _order_by=-activity_at.

date_created__ltedatetime or dateOptional

Only include activities created in Close at or before this date or date and time. Can’t be combined with _order_by=-activity_at.

date_created__gtdatetime or dateOptional

Only include activities created in Close after this date or date and time. Can’t be combined with _order_by=-activity_at.

date_created__ltdatetime or dateOptional

Only include activities created in Close before this date or date and time. Can’t be combined with _order_by=-activity_at.

activity_at__gtedatetime or dateOptional

Only include activities that happened at or after this date or date and time. Requires _order_by=-activity_at.

activity_at__ltedatetime or dateOptional

Only include activities that happened at or before this date or date and time. Requires _order_by=-activity_at.

activity_at__gtdatetime or dateOptional

Only include activities that happened after this date or date and time. Requires _order_by=-activity_at.

activity_at__ltdatetime or dateOptional

Only include activities that happened before this date or date and time. Requires _order_by=-activity_at.

_fieldsstringOptional

Comma-separated list of fields to include in the response.

Response

Successful response
datalist of objects
The results on this page.
has_moreboolean
Whether more results exist after this page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error