Companies
The organisations your contacts work at, in its directory. 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 company object
An organisation in the workspace's directory. Contacts work at companies, and deals and projects are for them.
objectstringAlways company.
idstringnamestringdomainstringe.g. acme.com: new contacts with emails at it are suggested to join it.
websitestringphonestringaddressstringcitystringpostcodestringcountrystringowner{id, name}or nullWho looks after the relationship.
aboutstringMarkdown.
tagsarray of {id, name}or nullIts tags, in order (see
GET /tags?record_type=company).labelsarray of {id, name}or nullThe same as tags, under their old name.
fieldsobjectCustom field values the key's person can see, keyed by field ID (see
GET /fields?record_type=company).urlstringcreated_attimeupdated_attime
{ "object": "company", "id": "cmp_01jc7ag3bckkdjwbhp1g201cyf", "name": "Honeybee Bakery", "domain": "honeybeebakery.co.uk", "website": "https://honeybeebakery.co.uk", "phone": "+44 20 7946 0300", "address": "14 Market Row", "city": "Brighton", "postcode": "BN1 1HD", "country": "United Kingdom", "owner": { "id": "mem_01jcm9s346q3d25vt4f5v37e3s", "name": "Imogen Hale" }, "about": "Six bakeries across Sussex, opening a seventh in March.", "tags": [ { "id": "tag_01jcw6vzskdenc8sp3804gva35", "name": "Retainer" } ], "labels": [ { "id": "tag_01jcw6vzskdenc8sp3804gva35", "name": "Retainer" } ], "fields": {}, "url": "https://app.mavatu.com/kettle-kite/directory/companies/cmp_01jc7ag3bckkdjwbhp1g201cyf", "created_at": "2025-04-17T14:18:40Z", "updated_at": "2026-10-30T09:05:12Z"}List companies
GET/companies
Organisations in the directory, newest first. Find one by its domain with domain=, or by part of a name or domain with q=.
Filters and paging
qstringPart of a name or domain.
domainstringA domain, exactly, e.g. acme.com (a website's address works too).
owner_idstringOnly those a member looks after: a member's ID, me, or none for nobody's.
tagarray of stringsOnly those with these tags, by ID or name (
GET /tagslists them): repeat it, or separate them with commas, up to 50. tag_mode says whether they need all of them, any or none. A tag not used on this kind of record is refused.tag_modestringWith tag: all (the default) for those with every one of the tags, any for those with at least one, none for those with none of them.
fieldobjectOnly those whose custom field matches, with the field by ID or name (
GET /fieldslists them), e.g. field[Phase]=Design. Options are by ID or name, people by ID, me, email or name, contacts by ID, email or name, and companies by ID, domain or name: up to 50, repeated or comma-separated, match any of them. Commas always separate values, so give one with a comma in its name by ID. A checkbox is true or false. Text matches when it contains the value, ignoring case. A number, amount or date matches exactly, and field[…][from] and field[…][to] give an inclusive range. Dates are YYYY-MM-DD; amounts are in the workspace's currency, in its smallest unit (500000 is 5,000.00), with other currencies converted at today's rate. none matches those with no value, any those with one. Every filter must match.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/companies?domain=honeybeebakery.co.uk" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a company
GET/companies/{id}
One company, with its website, address, owner and custom fields.
curl https://app.mavatu.com/api/v1/companies/cmp_01jc7ag3bckkdjwbhp1g201cyf \ -H "Authorization: Bearer $MAVATU_API_KEY"Create a company
POST/companies
Add an organisation to the directory; its domain is taken from the website when not given. A domain another company has is a 409 duplicate with existing_id, unless allow_duplicate; with on_duplicate return, that company comes back instead (200).
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Body
idstringYour own ID for it (cmp_…), or leave it out.
namestringrequiredwebsitestringdomainstringDefault: taken from the website.
phonestringaddressstringcitystringpostcodestringcountrystringowner_idstringWho looks after the relationship: a member, or me.
aboutstringMarkdown.
tagsobjectTags to give it: {add: [IDs or names]}.
addarray of stringsTags to add, by ID or name (see
GET /tags): a new name makes a tag.removearray of stringsTags to take off, by ID or name.
label_idsarray of stringsIts tags, by ID (the old way: see tags).
fieldsobjectCustom field values, keyed by field ID or name (see
GET /fields?record_type=company).allow_duplicatebooleanCreate it even when another company has its domain.
on_duplicatestringWhat a duplicate does: error (the default) answers 409 with existing_id; return answers 200 with the company that's already there.
Returns
curl -X POST https://app.mavatu.com/api/v1/companies \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Honeybee Bakery", "website": "https://honeybeebakery.co.uk", "city": "Brighton", "country": "United Kingdom", "on_duplicate": "return"}'Update a company
PATCH/companies/{id}
Change a company. Only the fields you send change; null clears one. fields merge, and a null value clears that field.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe company's ID.
Body
namestringor nullwebsitestringor nulldomainstringor nullphonestringor nulladdressstringor nullcitystringor nullpostcodestringor nullcountrystringor nullowner_idstringor nullA member, me, or null.
aboutstringor nullMarkdown.
tagsobjector nullTags to add and take off: {add, remove}, by ID or name.
addarray of stringsor nullTags to add, by ID or name (see
GET /tags): a new name makes a tag.removearray of stringsor nullTags to take off, by ID or name.
label_idsarray of stringsor nullIts tags, by ID: replaces them all (the old way: see tags).
fieldsobjector nullMerged, keyed by field ID or name: a null value clears that field.
Returns
curl -X PATCH https://app.mavatu.com/api/v1/companies/cmp_01jc7ag3bckkdjwbhp1g201cyf \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "phone": "+44 20 7946 0300", "owner_id": "me"}'