The activity log — emails, calls, meetings, notes … on a record.
A record's activity
Newest first.
path Parameters
idThe record id (entity_id).
query Parameters
typeAn activity type slug, e.g. email.
directioninclude_relatedAlso the activity of related records (a company's people).
pagelimitHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
A record's activity › Responses
One page of activity.
Log an activity
Moves the record's follow-up date on by its type's default interval.
path Parameters
idThe record id (entity_id).
Headers
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Log an activity › Request Body
activity_type_idFrom List activity types.
directionsubjectbodylogged_bycreated_atWhen it happened; now if left out.
Log an activity › Responses
Logged.
Update an activity
path Parameters
idHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Update an activity › Request Body
activity_type_iddirectionsubjectbodycreated_atUpdate an activity › Responses
The activity.
Recent activity across the project
query Parameters
entity_typeRecord type slug.
activity_typeActivity type slug.
directionlogged_bydate_fromdate_tosearchpagelimitHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Recent activity across the project › Responses
{ data, total, page, limit, total_pages }.
Activity and follow-ups between two dates
query Parameters
entity_type_slugfromtoHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Activity and follow-ups between two dates › Responses
{ activities, entity_dates }.