Skip to content

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.

objectstring

Always activity.

idstring
type{id, name}

One of the workspace's activity types, e.g. call (Call).

titlestring
due_ondateor null

YYYY-MM-DD.

due_attimeor null

When it has a time.

duration_minutesintegeror null
owner{id, name}or null
deal{id, name}or null

The deal or lead it's on.

contact{id, name}or null

The main person, in the directory.

participantsarray of {id, name}or null

Other contacts taking part.

company{id, name}or null
notestring

Markdown.

locationstring
doneboolean
done_attimeor null
done_by{id, name}or null
created_by{id, name}or null
urlstring
created_attime
updated_attime
The activity object
{
"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_idstring
contact_idstring
company_idstring

Activities with a company, or with its people.

owner_idstring

A member's ID, me, or none for activities nobody owns.

statusstring

planned, done, or all (the default).

typestring

One of the workspace's activity types, by ID or name.

due_fromdate

Due on or after this day (YYYY-MM-DD).

due_todate

Due on or before this day (YYYY-MM-DD).

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

sortstring

created_at (the default: in the order they were made) or updated_at (by when they last changed).

orderstring

desc (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_sincetime

Only what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.

Returns

A list of activities.

GET /activities
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.

Path

idstringrequired

The activity's ID.

Returns

The activity.

GET /activities/{id}
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

idstring

Your own ID for it, or leave it out. Sending the same ID again returns the first activity.

typestring

One of the workspace's activity types, by ID or name (call, meeting, task…). Default the first, or call when done.

titlestring

Default the type's name.

due_ondate

YYYY-MM-DD.

due_attime

A time, for one that has one (RFC 3339).

duration_minutesinteger
owner_idstring

A member, or me. Default the key's person.

deal_idstring

A deal or lead it's on.

contact_idstring

The main person. Default the deal's main contact.

participant_idsarray of strings

Other contacts taking part, in the directory.

company_idstring

Default the deal's or contact's company.

notestring

Markdown.

locationstring
doneboolean

Log one that already happened.

Returns

The activity, with 201 Created.

POST /activities
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

idstringrequired

The activity's ID.

Body

typestringor null

One of the workspace's activity types, by ID or name.

titlestringor null
due_ondateor null

YYYY-MM-DD, or null.

due_attimeor null

RFC 3339, or null for no time.

duration_minutesintegeror null
owner_idstringor null

A member, me, or null.

deal_idstringor null

A deal or lead, or null.

contact_idstringor null
participant_idsarray of stringsor null

Other contacts taking part: replaces them all; null or [] for none.

company_idstringor null
notestringor null

Markdown.

locationstringor null
donebooleanor null

true completes it, false opens it again.

Returns

The activity.

PATCH /activities/{id}
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.

objectstring

Always activity_type.

idstring
namestring
The activity type object
{
"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.

GET /activity_types
curl https://app.mavatu.com/api/v1/activity_types \
-H "Authorization: Bearer $MAVATU_API_KEY"