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.
Open a TurboWorkflow email
The email behind an activity that TurboWorkflow logged (a campaign or workflow send): subject, HTML, to, from, when, status. It is fetched from TurboWorkflow when you ask and never stored in the CRM. Any other activity → 400. The project no longer connected to the TurboWorkflow project that sent it → 409. TurboWorkflow no longer has it → 404. TurboWorkflow not reachable → 502 or 503; try again later.
path Parameters
idHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Open a TurboWorkflow email › Responses
The email.
subjecthtmltofromsent_atstatuscampaign_nameworkflow_nametruncatedtrue when a very long body was cut short.
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 }.