PlennoHelp

API v1.1: customers, opportunities and actions

Connect n8n, Make or your own system: read and update customers and opportunities, add follow-up tasks and give your API key only the permissions it needs.

For owners and admins
On this page

With API v1.1, an integration can do more than submit a request. You can retrieve and update customers (in the API: leads), opportunities (deals), actions (activities), companies, quotes, invoices and work orders, and look up team members and sales processes. The base URL is https://app.plenno.nl/api/v1.

Use the API from your server or workflow tool. Never put an API key in your website’s HTML or JavaScript. For a website form, POST /leads keeps working as before; see Create and update a customer through the API.

A key with the right permissions

Go to Settings → Integrations → API keys (website forms). You need access to Integrations, and Developer features must be turned on. When you create the key, choose Live or Test, and under Permissions for this key what the integration may do.

Permission (scope) What your integration may do
leads:create Submit requests and update only the requests it created itself, using the original fields. This is selected by default.
leads:read Read requests.
leads:write Submit requests and update the company’s requests, including stage, assignee and follow-up date.
deals:read / deals:write Read opportunities / create and update them.
activities:read / activities:write Read actions / add and update them.
metadata:read Look up active team members, sales processes and stages.
companies:read / companies:write Read companies / create and update them.
quotes:read / quotes:write Read quotes / create and update them and change their status.
invoices:read / invoices:write Read invoices / create and update them and change their status.
work_orders:read / work_orders:write Read work orders / create and update them and change their status. Only with Plenno Ultra and work orders turned on.
mail:read / mail:write View the status of sent email / send email through the mailbox set up under Settings → Email.

The list also contains permissions for Payments (payments:…) and Accounting data (accounting:…). These only work if that connection is active for your company.

Only grant the permissions you need. A write permission does not include read access: if you want to fetch a list first, also choose the matching read permission. Existing keys keep leads:create; they do not automatically get wider access. You cannot change permissions afterwards. Create a new key instead and revoke the old one once you have switched over.

Every call uses Authorization: Bearer <your key>. With a JSON body, also send Content-Type: application/json. The key determines your company and the mode; do not send an organisation or user ID to choose a different company.

Available endpoints

All paths below come after /api/v1.

Method and path Purpose
GET /me Check the API version, key mode and permissions.
POST /leads Submit a request.
GET /leads and GET /leads/{id} Read customers.
PATCH /leads/{id} Update a customer.
GET /companies, GET /companies/{id}, POST /companies, PATCH /companies/{id} Read, create and update companies.
GET /deals and GET /deals/{id} Read opportunities.
POST /deals and PATCH /deals/{id} Create or update an opportunity.
GET /activities Read actions.
POST /activities and PATCH /activities/{id} Add or update an action.
GET/POST /quotes, GET/PATCH /quotes/{id}, POST /quotes/{id}/status Quotes.
GET/POST /invoices, GET/PATCH /invoices/{id}, POST /invoices/{id}/status Invoices.
GET/POST /work-orders, GET/PATCH /work-orders/{id}, POST /work-orders/{id}/status Work orders.
GET /mail and POST /mail View email status and send email.
GET /users Active team members: ID and name.
GET /pipelines and GET /pipelines/{id}/stages Active sales processes and stages.

There are no DELETE endpoints; you delete things in Plenno itself. You can only update a quote or invoice while it is a draft. A status change through the API does not send a message to your customer. Quotes, invoices and work orders only exist in live mode: a test key gets empty lists there and cannot create them. An action of type email records work; it does not send a message. Email can only be sent through POST /mail.

Update customers and opportunities

With leads:write you can change stage_id, assigned_user_id and reminder_at as well as contact details. Use the IDs from the metadata endpoints. Moving a customer to a lost stage clears the planned follow-up. Changing the assignee also updates matching open opportunities, following the same rules as in the app.

With deals:write you can change title, stage_id, status (open, won, lost), lost_reason, assigned_user_id, value_cents and expected_close_on. Stage and status are independent: changing the stage does not automatically mark the opportunity as won or lost. You change the linked customer and company in Plenno itself. POST /deals creates a new opportunity; send your own external_id to prevent duplicate opportunities.

A change made by an integration appears in the history as Via <key name>. Relevant status changes follow the same webhook rules as the app.

Plan an action

In Plenno, an activity is called an Action. With POST /activities, send a subject, a link to at least one customer (lead_id), opportunity (deal_id) or company (company_id), and a due_at. type is call, meeting, email or task. assigned_user_id is optional. For contact that has already taken place, you can use completed: true; due_at is then not required.

{
  "subject": "Follow up quote by phone",
  "type": "call",
  "due_at": "2026-11-02T10:00:00+01:00",
  "lead_id": "00000000-0000-4000-8000-000000000001"
}

Replace the sample ID with the ID of a customer your key can see. A time always includes a time zone. An action does not get its own reminder notification; for a notification, set a reminder on the customer.

Lists and concurrent changes

A list returns data and next_cursor. Use limit (1–100, default 50). If next_cursor is not null, request the next page with cursor and the same filters. Lists are sorted by creation time, newest first. For changes since a previous sync, use updated_since.

For a single resource you get an ETag header. Send it as If-Match with a PATCH that is based on data you read earlier. If you get 409 conflict, someone has changed the data in the meantime: read it again and decide again what you want to change. Without If-Match, the last write wins.

A missing permission returns 403 insufficient_scope. With 429, wait for the Retry-After time. The body may be at most 16 kB. See Error codes and limits.

Test first

A test key only sees test customers and their actions. Test actions do not appear in your real Today overview or daily digest. A test request never gets an opportunity automatically; changing a real opportunity returns 404. With deals:write, a test key can create an opportunity for a test customer itself (without a company). Reading metadata is possible. A live key only sees live data.

This is the separation within the API. If you then create documents or an opportunity for a test customer yourself in Plenno, these can still count. See Live and test API keys.

Updated November 19, 2026 · Checked against Plenno 9.5.5

Related articles

Was this helpful?