> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marro.si/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

> The base address, how responses are shaped, and every endpoint at a glance.

Server-to-server access to one organization’s data in Marro. Each key belongs to an organization and can use only the scopes it was given for modules the organization subscribes to. Keys go only in the Authorization header, over HTTPS, from a server: never in browser code or a URL. A key that was ever sent over plain HTTP or in a URL must be treated as leaked: revoke it and create a new one. The API sends no CORS headers.

Every response carries `X-Request-Id`, to quote to support. Once the key is checked, responses also carry `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds until the window resets) for whichever limit is closer to running out. An address that is not an endpoint answers 404 `NOT_FOUND` in the same error shape.

Base URL:

```text theme={null}
https://app.marro.si/api
```

The full specification is an OpenAPI 3.1.0 document at [https://app.marro.si/api/openapi.json](https://app.marro.si/api/openapi.json). Import it into Postman or a client generator.

### Custom objects

| Endpoint | Method | Path |
| - | - | - |
| [List custom objects](https://docs.marro.si/api-reference/custom-objects/list-custom-objects.md) | GET | `/api/v1/objects` |
| [Read a custom-object definition](https://docs.marro.si/api-reference/custom-objects/get-custom-object.md) | GET | `/api/v1/objects/{slug}` |
| [List custom-object records](https://docs.marro.si/api-reference/custom-objects/list-object-records.md) | GET | `/api/v1/objects/{slug}/records` |
| [Create a custom-object record](https://docs.marro.si/api-reference/custom-objects/create-object-record.md) | POST | `/api/v1/objects/{slug}/records` |
| [Read a custom-object record](https://docs.marro.si/api-reference/custom-objects/get-object-record.md) | GET | `/api/v1/objects/{slug}/records/{recordId}` |
| [Update a custom-object record](https://docs.marro.si/api-reference/custom-objects/update-object-record.md) | PATCH | `/api/v1/objects/{slug}/records/{recordId}` |
| [Delete a custom-object record](https://docs.marro.si/api-reference/custom-objects/delete-object-record.md) | DELETE | `/api/v1/objects/{slug}/records/{recordId}` |
| [Records linked to a custom-object record](https://docs.marro.si/api-reference/custom-objects/object-record-linked-from.md) | GET | `/api/v1/objects/{slug}/records/{recordId}/linked-from` |

### Reports

Custom reports shared with everyone in the organization, and their figures. Built in the app under Reports → Custom reports; a key reads them over every lead.

| Endpoint | Method | Path |
| - | - | - |
| [List reports](https://docs.marro.si/api-reference/reports/list-reports.md) | GET | `/api/v1/reports` |
| [Run a report](https://docs.marro.si/api-reference/reports/get-report-results.md) | GET | `/api/v1/reports/{reportId}/results` |

### Money

Products, quotes, invoices and payments. Amounts are integers in the smallest currency unit (paise, cents); a new document is in the organization's own currency. Tax follows the organization's regional settings: under India GST an invoice carries CGST and SGST inside the organization's state, IGST outside it, and no GST without a supplier GSTIN; under a single-rate tax (Australia GST 10%, UK VAT) each taxed line carries that tax (singleTaxMinor), and none without the supplier's registration number. Each document keeps the tax it was issued under (tax.model).

| Endpoint | Method | Path |
| - | - | - |
| [List products and services](https://docs.marro.si/api-reference/money/list-products.md) | GET | `/api/v1/products` |
| [List quotes](https://docs.marro.si/api-reference/money/list-quotes.md) | GET | `/api/v1/quotes` |
| [Create a quote](https://docs.marro.si/api-reference/money/create-quote.md) | POST | `/api/v1/quotes` |
| [Read a quote](https://docs.marro.si/api-reference/money/get-quote.md) | GET | `/api/v1/quotes/{quoteId}` |
| [List invoices](https://docs.marro.si/api-reference/money/list-invoices.md) | GET | `/api/v1/invoices` |
| [Create a invoice](https://docs.marro.si/api-reference/money/create-invoice.md) | POST | `/api/v1/invoices` |
| [Read a invoice](https://docs.marro.si/api-reference/money/get-invoice.md) | GET | `/api/v1/invoices/{invoiceId}` |
| [Record a payment](https://docs.marro.si/api-reference/money/record-invoice-payment.md) | POST | `/api/v1/invoices/{invoiceId}/payments` |
| [List payments](https://docs.marro.si/api-reference/money/list-payments.md) | GET | `/api/v1/payments` |

### Leads

Record-link custom fields accept numeric target ID arrays (one or up to 20 according to recordLink.multiple). Reads resolve accessible targets to id/kind/name/href objects. Deleted, archived, disabled and inaccessible targets are omitted. Destinations require the corresponding leads.read or crm.records.read scope; user destinations have no public API scope. Object destinations use object:\<id>, require objects.records.read and the key creator current object grants.

| Endpoint | Method | Path |
| - | - | - |
| [List leads](https://docs.marro.si/api-reference/leads/list-leads.md) | GET | `/api/v1/leads` |
| [Create a lead](https://docs.marro.si/api-reference/leads/create-lead.md) | POST | `/api/v1/leads` |
| [Capture a lead](https://docs.marro.si/api-reference/leads/capture-lead.md) | POST | `/api/v1/leads/capture` |
| [Get a lead](https://docs.marro.si/api-reference/leads/get-lead.md) | GET | `/api/v1/leads/{leadId}` |
| [Update a lead](https://docs.marro.si/api-reference/leads/update-lead.md) | PATCH | `/api/v1/leads/{leadId}` |
| [Add a note](https://docs.marro.si/api-reference/leads/add-note.md) | POST | `/api/v1/leads/{leadId}/notes` |

### Reference

How this organization is set up: fields, stages, sources and people.

| Endpoint | Method | Path |
| - | - | - |
| [List lead fields](https://docs.marro.si/api-reference/reference/list-fields.md) | GET | `/api/v1/lead-fields` |
| [List stages](https://docs.marro.si/api-reference/reference/list-stages.md) | GET | `/api/v1/lead-stages` |
| [List pipelines](https://docs.marro.si/api-reference/reference/list-pipelines.md) | GET | `/api/v1/pipelines` |
| [List branches](https://docs.marro.si/api-reference/reference/list-branches.md) | GET | `/api/v1/branches` |
| [List sources](https://docs.marro.si/api-reference/reference/list-sources.md) | GET | `/api/v1/lead-sources` |
| [List people](https://docs.marro.si/api-reference/reference/list-users.md) | GET | `/api/v1/users` |

### Customers

Contacts, companies and enabled opportunities with record-type custom fields. Dedicated crm.records scopes are required.

| Endpoint | Method | Path |
| - | - | - |
| [List customer or opportunity records](https://docs.marro.si/api-reference/customers/list-records.md) | GET | `/api/v1/crm/{kind}` |
| [Create a customer or opportunity](https://docs.marro.si/api-reference/customers/create-record.md) | POST | `/api/v1/crm/{kind}` |
| [Read a customer or opportunity](https://docs.marro.si/api-reference/customers/read-record.md) | GET | `/api/v1/crm/{kind}/{recordId}` |
| [Update a customer or opportunity](https://docs.marro.si/api-reference/customers/update-record.md) | PATCH | `/api/v1/crm/{kind}/{recordId}` |
| [List custom record fields](https://docs.marro.si/api-reference/customers/list-record-fields.md) | GET | `/api/v1/crm/{kind}/fields` |

### Public billing catalogue

| Endpoint | Method | Path |
| - | - | - |
| [Get published pricing](https://docs.marro.si/api-reference/public-billing-catalogue/get-published-billing-catalogue.md) | GET | `/api/public/billing-catalogue` |

### Customer quote access

| Endpoint | Method | Path |
| - | - | - |
| [Read a published customer quote](https://docs.marro.si/api-reference/customer-quote-access/read-published-customer-quote.md) | GET | `/api/public/customer-quotes` |
| [Accept or decline a published customer quote](https://docs.marro.si/api-reference/customer-quote-access/decide-published-customer-quote.md) | POST | `/api/public/customer-quotes` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.