Activities
Calls, meetings and other activities on deals and contacts: plan them and log them. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.
The activity object
A call, meeting, email or other activity: planned for a day (and maybe a time), or done. Activities belong to deals, contacts and companies.
objectstringAlways activity.
idstringtype{id, name}One of the workspace's activity types, e.g. call (Call).
titlestringdue_ondateor nullYYYY-MM-DD.
due_attimeor nullWhen it has a time.
duration_minutesintegeror nullowner{id, name}or nulldeal{id, name}or nullThe deal or lead it's on.
contact{id, name}or nullThe main person, in the directory.
participantsarray of {id, name}or nullOther contacts taking part.
company{id, name}or nullnotestringMarkdown.
locationstringdonebooleandone_attimeor nulldone_by{id, name}or nullcreated_by{id, name}or nullurlstringcreated_attimeupdated_attime
{ "object": "activity", "id": "act_01jcmfqgc1trtdrhn3zhq8d5hf", "type": { "id": "call", "name": "Call" }, "title": "Walk Priya through the proposal", "due_on": "2026-11-10", "due_at": "2026-11-10T10:00:00Z", "duration_minutes": 30, "owner": { "id": "mem_01jcm9s346q3d25vt4f5v37e3s", "name": "Imogen Hale" }, "deal": { "id": "deal_01jcfkys7aa4dzewnwv8cf5bn5", "name": "Honeybee Bakery rebrand" }, "contact": { "id": "ctc_01jc1rnj47e65gh2bh8vgs9zm5", "name": "Priya Shah" }, "participants": [ { "id": "ctc_01jch3bv4h15g5e4g7x0nth82f", "name": "Tom Okafor" } ], "company": { "id": "cmp_01jc7ag3bckkdjwbhp1g201cyf", "name": "Honeybee Bakery" }, "note": "Bring the packaging mock-ups.", "location": "", "done": false, "done_at": null, "done_by": null, "created_by": { "id": "mem_01jcm9s346q3d25vt4f5v37e3s", "name": "Imogen Hale" }, "url": "https://app.mavatu.com/kettle-kite/crm/activities?open=act_01jcmfqgc1trtdrhn3zhq8d5hf", "created_at": "2026-11-05T17:10:33Z", "updated_at": "2026-11-05T17:10:33Z"}List activities
GET/activities
Calls, meetings, tasks and other activities the key's person can see, newest first, planned and done unless status says which. Filter by deal, contact, company, owner, type or due day.
Filters and paging
deal_idstringcontact_idstringcompany_idstringActivities with a company, or with its people.
owner_idstringA member's ID, me, or none for activities nobody owns.
statusstringplanned, done, or all (the default).
typestringOne of the workspace's activity types, by ID or name.
due_fromdateDue on or after this day (YYYY-MM-DD).
due_todateDue on or before this day (YYYY-MM-DD).
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
sortstringcreated_at (the default: in the order they were made) or updated_at (by when they last changed).
orderstringdesc (the default: newest first) or asc (oldest first). To sync everything that changed, use sort=updated_at&order=asc with updated_since: what changes while you page through comes again at the end.
updated_sincetimeOnly what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.
Returns
curl "https://app.mavatu.com/api/v1/activities?owner_id=me&status=open&due_to=2026-11-13" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get an activity
GET/activities/{id}
One activity, with what it's about and whether it's done.
curl https://app.mavatu.com/api/v1/activities/act_01jcmfqgc1trtdrhn3zhq8d5hf \ -H "Authorization: Bearer $MAVATU_API_KEY"Create an activity
POST/activities
Plan an activity on a deal, contact or company, or log one that happened with done true. Owned by the key's person unless owner_id says otherwise.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Body
idstringYour own ID for it, or leave it out. Sending the same ID again returns the first activity.
typestringOne of the workspace's activity types, by ID or name (call, meeting, task…). Default the first, or call when done.
titlestringDefault the type's name.
due_ondateYYYY-MM-DD.
due_attimeA time, for one that has one (RFC 3339).
duration_minutesintegerowner_idstringA member, or me. Default the key's person.
deal_idstringA deal or lead it's on.
contact_idstringThe main person. Default the deal's main contact.
participant_idsarray of stringsOther contacts taking part, in the directory.
company_idstringDefault the deal's or contact's company.
notestringMarkdown.
locationstringdonebooleanLog one that already happened.
Returns
curl -X POST https://app.mavatu.com/api/v1/activities \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "call", "title": "Walk Priya through the proposal", "deal_id": "deal_01jcfkys7aa4dzewnwv8cf5bn5", "due_at": "2026-11-10T10:00:00Z", "duration_minutes": 30}'Update an activity
PATCH/activities/{id}
Change an activity, or complete it with done true (false opens it again). Only the fields you send change; null clears one.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe activity's ID.
Body
typestringor nullOne of the workspace's activity types, by ID or name.
titlestringor nulldue_ondateor nullYYYY-MM-DD, or null.
due_attimeor nullRFC 3339, or null for no time.
duration_minutesintegeror nullowner_idstringor nullA member, me, or null.
deal_idstringor nullA deal or lead, or null.
contact_idstringor nullparticipant_idsarray of stringsor nullOther contacts taking part: replaces them all; null or [] for none.
company_idstringor nullnotestringor nullMarkdown.
locationstringor nulldonebooleanor nulltrue completes it, false opens it again.
Returns
curl -X PATCH https://app.mavatu.com/api/v1/activities/act_01jcmfqgc1trtdrhn3zhq8d5hf \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "done": true, "note": "She loved the packaging. Contract to follow."}'The activity type object
One of the workspace's kinds of activity, such as a call or a meeting.
objectstringAlways activity_type.
idstringnamestring
{ "object": "activity_type", "id": "call", "name": "Call"}List activity types
GET/activity_types
The workspace's kinds of activity (call, meeting, task…), in its order: the IDs (or names) activities take as type.
Returns
curl https://app.mavatu.com/api/v1/activity_types \ -H "Authorization: Bearer $MAVATU_API_KEY"