Skip to content

CRM

Notes and activity

Every lead has a timeline. Log calls, emails and meetings against it, or add notes for your team.

GET/v1/api/product/erix/crm/leads/:leadId/timeline

Everything that happened to a lead, newest first.

POST/v1/api/product/erix/crm/leads/:leadId/activities

Log an activity (call, email, meeting) on the timeline.

POST/v1/api/product/erix/crm/leads/:leadId/notes

Add a note to a lead.

contentstringRequired
The note text.
await ecod.product.erix.activities.notes.create(leadId, {
  content: "Asked for a quote",
});

const { data: timeline } = await ecod.product.erix.activities.timeline(leadId);