Skip to content

Agreements

Proposals, quotes, contracts and NDAs: where each stands, what it comes to, and the signed PDF. 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 agreement object

A proposal, quote, contract, NDA or other agreement: who it's for, where it stands with each recipient, how the version that's out has been read, what it comes to and, once it's signed, a link to the signed PDF.

objectstring

Always agreement.

idstring
numberinteger

Its number in the workspace, as in #12.

titlestring
kindstring

What it is: proposal, quote, contract, nda, letter, policy or other.

peopleboolean

True when it's with someone who works with you (on the team, or a freelancer) rather than a client, partner or supplier. These are private.

statusstring

draft; sent, to be signed; changes, asked for by a recipient; signed by everyone; declined; expired unsigned; or withdrawn.

deal{id, name}or null

The deal a proposal or quote is for; null for people who can't see it.

contact{id, name}or null

Who it's for, in the directory; null for people who can't see it.

company{id, name}or null

The company it's with, in the directory.

owner{id, name}or null
recipientsarray of objector null

Who it goes to, in order.

namestring
emailstring
rolestring

signer, or viewer: sent a copy to read.

statusstring

waiting, signed or declined.

viewed_attimeor null

When they first opened it; null until they have.

signed_attimeor null
totalsobject

What its prices come to: the latest sent version's, or the draft's.

one_offmoney

What's paid once, after discounts and with tax.

monthlymoney

What's paid each month, after discounts and with tax.

first_yearmoney

The one-off total and twelve months: what a signed proposal makes its deal's value.

readingobjector null

How the version that's out has been read, by everyone it went to. Null for a draft never sent, and for people who can't change the agreement.

opened_attimeor null

When anyone first opened the version that's out; null until someone has.

last_read_attimeor null

When it was last read. Null for documents with people who work with you, where only that it was opened is kept.

minutesintegeror null

Minutes everyone has read the version that's out, all together, rounded down. Null for documents with people who work with you.

visitsintegeror null

How many times it's been read. Null for documents with people who work with you.

expires_ondateor null

The last day it can be signed, YYYY-MM-DD.

sent_attimeor null
signed_attimeor null

When its last signer signed.

signed_pdf_urlstringor null

Downloads the signed PDF: a link made for this answer that works for at least five minutes, so fetch it straight away (get the agreement again for a new one). Null until it's signed and its PDF is made.

urlstring
created_attime
The agreement object
{
"object": "agreement",
"id": "agr_01jd0b6w3c9x1z5m7n2q4r8t6y",
"number": 42,
"title": "Honeybee Bakery rebrand: proposal",
"kind": "proposal",
"people": false,
"status": "signed",
"deal": {
"id": "deal_01jcfkys7aa4dzewnwv8cf5bn5",
"name": "Honeybee Bakery rebrand"
},
"contact": {
"id": "ctc_01jc1rnj47e65gh2bh8vgs9zm5",
"name": "Priya Shah"
},
"company": {
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
"owner": {
"id": "mem_01jcm9s346q3d25vt4f5v37e3s",
"name": "Imogen Hale"
},
"recipients": [
{
"name": "Priya Shah",
"email": "priya@honeybeebakery.co.uk",
"role": "signer",
"status": "signed",
"viewed_at": "2026-11-06T08:12:55Z",
"signed_at": "2026-11-12T09:41:17Z"
},
{
"name": "Imogen Hale",
"email": "imogen@kettleandkite.co.uk",
"role": "signer",
"status": "signed",
"viewed_at": "2026-11-12T10:02:48Z",
"signed_at": "2026-11-12T10:04:31Z"
}
],
"totals": {
"one_off": {
"amount": 1850000,
"currency": "GBP"
},
"monthly": {
"amount": 60000,
"currency": "GBP"
},
"first_year": {
"amount": 2570000,
"currency": "GBP"
}
},
"reading": {
"opened_at": "2026-11-06T08:12:55Z",
"last_read_at": "2026-11-12T09:39:02Z",
"minutes": 22,
"visits": 4
},
"expires_on": "2026-12-05",
"sent_at": "2026-11-05T17:12:40Z",
"signed_at": "2026-11-12T10:04:31Z",
"signed_pdf_url": "https://files.mavatu.com/…",
"url": "https://app.mavatu.com/kettle-kite/sign/a/agr_01jd0b6w3c9x1z5m7n2q4r8t6y",
"created_at": "2026-11-05T16:58:02Z"
}

List agreements

GET/agreements

Proposals, quotes, contracts and other agreements the key's person can see, newest first. Filter by status, kind, deal, contact, company or owner.

Filters and paging

statusstring

Those that stand there: draft, sent, changes, signed, declined, expired or withdrawn.

kindstring

What it is. freelancer and staff are older names, still understood: a contract, and any document, with people who work with you.

One of proposal, quote, contract, nda, letter, policy, other, freelancer, staff.

peoplestring

true for those with people who work with you, false for those with clients, partners and suppliers.

deal_idstring
contact_idstring
company_idstring
owner_idstring

A member's ID, or me.

limitinteger

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

cursorstring

next_cursor from the previous page.

Returns

A list of agreements.

GET /agreements
curl "https://app.mavatu.com/api/v1/agreements?status=signed&deal_id=deal_01jcfkys7aa4dzewnwv8cf5bn5" \
-H "Authorization: Bearer $MAVATU_API_KEY"

Get an agreement

GET/agreements/{id}

One agreement: who it's for, where it stands with each recipient, how the version that's out has been read, what it comes to and, once it's signed, a link to the signed PDF.

Path

idstringrequired

The agreement's ID.

Returns

The agreement.

GET /agreements/{id}
curl https://app.mavatu.com/api/v1/agreements/agr_01jd0b6w3c9x1z5m7n2q4r8t6y \
-H "Authorization: Bearer $MAVATU_API_KEY"