Skip to main content

The Delivvo API

Read your leads, clients, projects, quotes, invoices and payments, add leads and clients from your own systems, and get a signed webhook when something changes.

Base URLhttps://app.delivvo.io/api/v1Pro and upEvent version2026-10-13Integrations and API
  1. 01Make a keydlv_live_Qm3x9TfA2k…In API keys, pick what it can do. It's shown once.
  2. 02Call the APIcurl https://app.delivvo.io/api/v1/meEvery answer is data and error, in JSON.
  3. 03Receive eventsDelivvo-Event: lead.createdSigned webhooks for leads, invoices and payments.
On this page

Before you start

The API reads and adds data for one business. It's part of the Pro plan and every plan above it, and it answers in JSON.

Send every request to https://app.delivvo.io/api/v1 over HTTPS. Field names use snake_case, dates are ISO 8601 in UTC, and money comes as a decimal string next to a three-letter currency, like "9450.00" and USD.

Call it from your server. A key acts for the whole business, so it never belongs in a web page or a phone app, and requests a browser sends from another website are refused.

Every answer has the same shape: data holds the result and error is null when it worked. A failed request has data null, a message in error and a code.

Make a key

  1. Open Integrations in the dashboard sidebar. It shows on Pro and up, to the owner and to people whose role allows API keys.
  2. In API keys, press New key and give it a name, like Zapier or Website.
  3. Under What it can do, pick Read or Read and add for each area the key needs.
  4. Choose when it Expires: 30 days, 90 days, 1 year or never. Then press Make key.
  5. Copy it from Copy your key now. It starts with dlv_live_ and is shown once only.
  • A key never sees more than the person who made it: you can only give it an area your role sees across the whole business.
  • A business can hold 20 live keys. Revoked keys don't count.
  • Delivvo keeps only a hash of each key. The list shows its first characters, who made it and when it was last used, and the account owner gets a bell item and an email for every new key.
  • Revoke a key from its row menu and every app using it stops at once, along with the webhook subscriptions it made.
  • Anything added through a key shows in the business's audit log as done through the API.

Send the key

Put the key in the Authorization header as a bearer token on every request. GET /me works with any scope, so it's the quickest way to test a key: it returns the business, its plan, and the key's name, scopes and expiry.

Request
curl https://app.delivvo.io/api/v1/me \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
Response
{
  "data": {
    "object": "account",
    "id": "cm1q8w2rd0004mk08x3p6v9tz",
    "name": "Harbor Studio",
    "plan": "pro",
    "key": {
      "name": "Website",
      "prefix": "dlv_live_Qm3x9TfA2k",
      "scopes": ["leads:write", "clients:read"],
      "expires_at": null,
      "created_at": "2026-10-13T09:12:44.000Z"
    }
  },
  "error": null
}

A missing, wrong, revoked or expired key gets a 401 with a code that says which. After 30 of those in a minute from one address, the next ones get a 429.

Scopes

Each key holds a list of scopes. A write scope also reads its own area, so leads:write covers leads:read.

leads:read
List and fetch leads, and subscribe to lead events.
leads:write
Add leads.
clients:read
List and fetch clients, and subscribe to client.created.
clients:write
Add clients.
projects:read
List and fetch projects, and subscribe to project, contract and booking events.
proposals:read
List and fetch quotes, and subscribe to quote events.
invoices:read
List and fetch invoices, and subscribe to invoice events.
payments:read
List payments, and subscribe to payment events.
webhooks:read
List the key's own webhook subscriptions and fetch sample events.
webhooks:write
Subscribe and unsubscribe webhooks.

Errors

A failed request answers with an HTTP status, a sentence in error you can show a person, and a code that stays the same, so your code can branch on it.

Error
{
  "data": null,
  "error": "This key doesn't have the invoices:read scope.",
  "code": "scope"
}
invalid400
The body failed a check. The message names each field and what's wrong with it.
bad_json, bad_body400
The body isn't valid JSON, or it couldn't be read.
bad_page, bad_date, bad_filter, bad_type400
A query parameter is out of range or can't be read.
idempotency_key400
The Idempotency-Key is longer than 200 characters.
key_missing, key_malformed, key_unknown, key_revoked, key_expired401
The key is missing, the wrong shape, unknown, revoked or past its expiry.
plan_limit402
Adding the client would go past the plan's limit on active clients.
plan403
The business's plan no longer includes the API.
scope403
The key doesn't hold the scope this call needs.
account_closed403
The account is suspended, banned or being deleted.
not_found404
There's no such object in this business. An id from another business also answers 404.
duplicate409
The record already exists. The message names its id.
conflict409
Another change landed at the same moment. Send the request again.
idempotency_mismatch, idempotency_in_progress409
The Idempotency-Key was used for a different request, or that request is still running.
cap409
The business already has 25 endpoints.
too_large413
The body is over 100 KB.
rate_limited429
Too many requests. Wait the number of seconds in Retry-After.
server_error500
Something broke on our side. With an Idempotency-Key, retrying is safe.
api_paused, unavailable503
Delivvo has paused the API, the rate limit couldn't be checked, or webhooks aren't switched on for the platform yet. Try again later, after Retry-After when the answer has it.

Rate limits

  • Each key can make 120 requests a minute.
  • A business can make 5,000 requests an hour across all its keys.
  • Past either limit the answer is a 429 with Retry-After in seconds: 60 for the limit per key, 600 for the hourly one.
  • If the limit can't be checked, the request is refused with a 503, never let through. Retry after 30 seconds.
  • A request body can be up to 100 KB.

Lists and pages

Lists come newest first, 25 to a page unless you ask for more. When there's another page, next_cursor holds its place. Send it back as cursor with the same filters until next_cursor is null.

limit1-100
How many to return, 1 to 100. The default is 25.
cursorstring
The next_cursor from the previous answer.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.
Request
curl "https://app.delivvo.io/api/v1/leads?limit=50&updated_since=2026-10-01T00:00:00Z" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
Response
{
  "data": [
    { "object": "lead", "id": "cm2b7f1xk0009jv08h4n2q6ra", "ref": "K7QM", "name": "Sara Mitchell" }
  ],
  "error": null,
  "next_cursor": "eyJ0IjoiMjAyNi0xMC0xMlQxNDozMDowMC4wMDBaIiwiaWQiOiJjbTJiN2YxeGsifQ"
}
Next page
curl "https://app.delivvo.io/api/v1/leads?limit=50&updated_since=2026-10-01T00:00:00Z&cursor=eyJ0IjoiMjAyNi0xMC0xMlQxNDozMDowMC4wMDBaIiwiaWQiOiJjbTJiN2YxeGsifQ" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

To keep a copy in sync, save the time of each run and ask for updated_since that time on the next one.

Safe retries

The three writes (POST /leads, POST /clients and POST /webhooks) take an Idempotency-Key header: any string you choose, up to 200 characters, one per action. If the connection drops and you send the same request again with the same key, it only runs once.

Request
curl https://app.delivvo.io/api/v1/clients \
  -X POST \
  -H "Authorization: Bearer $DELIVVO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: crm-sync-client-4471" \
  -d '{ "name": "Jack Hayes", "email": "omar@example.com" }'
  • A repeat with the same key and body gets the first answer back, with the header Idempotent-Replayed: true.
  • The same key with a different body is refused with 409 idempotency_mismatch.
  • A repeat while the first is still running gets 409 idempotency_in_progress and Retry-After: 5.
  • Answers are kept for 24 hours, per key. A 500 isn't kept, so a retry runs again.

Leads

Leads are the inquiries on the lead board. Deleted, merged and test leads never appear in the list. Without status it holds every other lead, spam included.

Endpoints

  • GET/leadsleads:read
  • GET/leads/{id}leads:read
  • POST/leadsleads:write

Filters

statusstring
open, won, lost or spam.
pipeline_idid
Leads on one board.
stage_idid
Leads in one stage.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.
Request
curl "https://app.delivvo.io/api/v1/leads?status=open&limit=25" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

curl https://app.delivvo.io/api/v1/leads/cm2b7f1xk0009jv08h4n2q6ra \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

Body: POST /leads

namestringrequired
The person's name, up to 120 characters.
emailstring
Their email. Send an email, a phone number or both.
phonestring
Their phone in international format, like +1 212 555 0100.
countrystring
A two-letter country code, used to read a phone number written without its country code.
companystring
Up to 120 characters.
wantsstring
What they asked for, up to 500 characters.
event_dateYYYY-MM-DD
The date of their event or project, as YYYY-MM-DD.
valuenumber
Their budget as a number. Send currency with it.
currencystring
A three-letter code, like USD.
notestring
A first note on the lead's timeline, up to 4,000 characters.
source_detailstring
Where it came from in your words, like Website. Up to 60 characters.
pipeline_idid
The board to add it to. Leave it out for the default board.
stage_idid
An open stage on that board. Leave it out for the first open stage.
languageen | ar
en or ar: the language the person wrote in.
utmobject
Up to 20 campaign tags, each a key and a text value.
Request
curl https://app.delivvo.io/api/v1/leads \
  -X POST \
  -H "Authorization: Bearer $DELIVVO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: website-form-81f2c4" \
  -d '{
    "name": "Sara Mitchell",
    "email": "sara@example.com",
    "phone": "+1 212 555 0100",
    "wants": "Wedding film, full day",
    "event_date": "2027-02-14",
    "value": 18000,
    "currency": "USD",
    "source_detail": "Website",
    "language": "ar"
  }'

A new lead goes through the same path as one from your inquiry form: your assignment rules, sorting, the bell and email to the team, your auto-reply and message rules, and the lead.created event. The answer is 201 with the lead.

If the person already has an open lead with the same email or phone, nothing new is made. The answer is 200 with that lead and "joined": true: its empty fields are filled in, your note goes on its timeline, and lead.updated fires.

Response
{
  "data": {
    "object": "lead",
    "id": "cm2b7f1xk0009jv08h4n2q6ra",
    "ref": "K7QM",
    "name": "Sara Mitchell",
    "email": "sara@example.com",
    "phone": "+1 212 555 0100",
    "company": null,
    "wants": "Wedding film, full day",
    "value": "18000.00",
    "currency": "USD",
    "event_date": "2027-02-14T00:00:00.000Z",
    "source": "api",
    "source_detail": "Website",
    "status": "open",
    "heat": "warm",
    "score": 62,
    "labels": [],
    "lost_reason": null,
    "won_at": null,
    "lost_at": null,
    "pipeline": { "id": "cm1q8w2rd0011mk08a1b2c3d4", "name": "Sales" },
    "stage": { "id": "cm1q8w2rd0012mk08e5f6g7h8", "name": "New", "kind": "open" },
    "owner": {
      "type": "person",
      "id": "cm1q8w2rd0020mk08j9k0l1m2",
      "name": "Nora",
      "email": "hello@harborstudio.co"
    },
    "client_id": null,
    "project_id": null,
    "form_id": "frm_wedding",
    "answers": [
      { "id": "guests", "label": "How many guests?", "kind": "number", "text": "180", "value": 180 },
      { "id": "city", "label": "Where is it?", "kind": "address", "text": "Chicago", "value": "Chicago" }
    ],
    "utm": null,
    "language": "ar",
    "created_at": "2026-10-13T10:04:51.208Z",
    "updated_at": "2026-10-13T10:04:51.208Z",
    "joined": false
  },
  "error": null
}

Clients

Sample clients never appear. One email belongs to one client in a business.

Endpoints

  • GET/clientsclients:read
  • GET/clients/{id}clients:read
  • POST/clientsclients:write

Filters

statusstring
active or archived.
emailstring
The client with this email address.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.

Body: POST /clients

namestringrequired
Up to 120 characters.
emailstringrequired
The client's email.
companystring
Up to 120 characters.
phonestring
Up to 40 characters.
addressstring
Their postal address, for invoices.
tax_idstring
Their tax registration number.
registration_numberstring
Their company registration number.
countrystring
A two-letter country code.
languageen | ar
en or ar: the language Delivvo uses with them.
Request
curl "https://app.delivvo.io/api/v1/clients?email=omar@example.com" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

curl https://app.delivvo.io/api/v1/clients \
  -X POST \
  -H "Authorization: Bearer $DELIVVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Jack Hayes",
    "email": "omar@example.com",
    "company": "Haddad Events",
    "phone": "+1 212 555 0100",
    "country": "AE",
    "language": "en"
  }'

A new client counts toward the plan's limit on active clients, the same as one added in the dashboard. Past the limit the answer is 402 plan_limit. An email that already belongs to a client answers 409 duplicate with that client's id, and a tax number that fails the dashboard's checks answers 400 with the reason. Otherwise it's 201 with the client, and client.created fires.

Response
{
  "data": {
    "object": "client",
    "id": "cm2c1d4ef0002kq08m7n8o9p0",
    "name": "Jack Hayes",
    "email": "omar@example.com",
    "company": "Haddad Events",
    "phone": "+1 212 555 0100",
    "address": null,
    "country": "AE",
    "tax_id": null,
    "registration_number": null,
    "language": "en",
    "status": "active",
    "archived_at": null,
    "created_at": "2026-10-13T10:12:09.551Z",
    "updated_at": "2026-10-13T10:12:09.551Z"
  },
  "error": null
}

Projects

Read only. Sample projects never appear.

Endpoints

  • GET/projectsprojects:read
  • GET/projects/{id}projects:read

Filters

statusstring
in_progress, waiting_approval, revision, completed or archived.
client_idid
Projects of one client.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.
Request
curl "https://app.delivvo.io/api/v1/projects?client_id=cm2c1d4ef0002kq08m7n8o9p0&status=in_progress" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
project
{
  "object": "project",
  "id": "cm2c2a7bc0005kq08q1r2s3t4",
  "client_id": "cm2c1d4ef0002kq08m7n8o9p0",
  "title": "Haddad wedding film",
  "status": "in_progress",
  "deadline": "2027-03-01T00:00:00.000Z",
  "price": "18000.00",
  "currency": "USD",
  "completed_at": null,
  "created_at": "2026-10-13T10:15:30.020Z",
  "updated_at": "2026-10-13T11:02:47.913Z"
}

Quotes

Read only. Quotes have no last-changed time, so updated_since is refused here: page through them with cursor. total is the sum of the line prices. A quote made from a lead carries lead_id, and its project_id and client_id are null until the client accepts it and the project is made.

Endpoints

  • GET/proposalsproposals:read
  • GET/proposals/{id}proposals:read

Filters

statusstring
draft, sent, accepted or declined.
project_idid
Quotes of one project.
Request
curl "https://app.delivvo.io/api/v1/proposals?status=accepted" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
proposal
{
  "object": "proposal",
  "id": "cm2c3e8fg0007kq08u5v6w7x8",
  "project_id": "cm2c2a7bc0005kq08q1r2s3t4",
  "client_id": "cm2c1d4ef0002kq08m7n8o9p0",
  "lead_id": "cm2b7f1xk0009jv08h4n2q6ra",
  "title": "Wedding film, full day",
  "status": "accepted",
  "currency": "USD",
  "line_items": [
    { "name": "Filming, 10 hours", "description": "Two camera operators", "price": "14000.00" },
    { "name": "Highlight film", "description": "4 to 6 minutes", "price": "4000.00" }
  ],
  "total": "18000.00",
  "expires_at": "2026-10-27T00:00:00.000Z",
  "responded_at": "2026-10-14T08:40:12.004Z",
  "responder_name": "Jack Hayes",
  "decline_reason": null,
  "created_at": "2026-10-13T10:20:00.000Z"
}

Invoices

Read only. owed is the total minus what has been paid, and 0.00 once the invoice is voided. credited is the amount credited back.

Endpoints

  • GET/invoicesinvoices:read
  • GET/invoices/{id}invoices:read

Filters

statusstring
draft, unpaid, viewed, awaiting_confirmation, paid or voided.
project_idid
Invoices of one project.
client_idid
Invoices of one client.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.
Request
curl "https://app.delivvo.io/api/v1/invoices?status=paid&updated_since=2026-10-01T00:00:00Z" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
invoice
{
  "object": "invoice",
  "id": "cm2c4h9ij0009kq08y9z0a1b2",
  "number": "INV-2026-014",
  "project_id": "cm2c2a7bc0005kq08q1r2s3t4",
  "client_id": "cm2c1d4ef0002kq08m7n8o9p0",
  "status": "paid",
  "currency": "USD",
  "total": "9450.00",
  "paid": "9450.00",
  "credited": "0.00",
  "owed": "0.00",
  "subtotal": "9000.00",
  "tax_rate": "5",
  "tax_label": "VAT",
  "tax": "450.00",
  "po_number": null,
  "due_date": "2026-10-20T00:00:00.000Z",
  "sent_at": "2026-10-14T09:00:00.000Z",
  "paid_at": "2026-10-15T13:22:41.380Z",
  "voided_at": null,
  "created_at": "2026-10-14T08:58:02.117Z",
  "updated_at": "2026-10-15T13:22:41.380Z"
}

Payments

Read only, as a list. These are payments through the business's own gateways and transfer details: the money never passes through Delivvo. kind is full, deposit or final.

Endpoints

  • GET/paymentspayments:read

Filters

statusstring
pending, processing, succeeded, failed, refunded or cancelled.
invoice_idid
Payments for one invoice.
updated_sinceISO 8601
Only objects changed at or after this ISO date, like 2026-10-13T00:00:00Z. Quotes don't take it.
Request
curl "https://app.delivvo.io/api/v1/payments?invoice_id=cm2c4h9ij0009kq08y9z0a1b2" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"
payment
{
  "object": "payment",
  "id": "cm2c5k1lm000bkq08c3d4e5f6",
  "invoice_id": "cm2c4h9ij0009kq08y9z0a1b2",
  "gateway": "stripe",
  "amount": "9450.00",
  "currency": "USD",
  "status": "succeeded",
  "kind": "deposit",
  "refunded": "0.00",
  "payer_name": "Jack Hayes",
  "payer_email": "omar@example.com",
  "paid_at": "2026-10-15T13:22:40.000Z",
  "refunded_at": null,
  "created_at": "2026-10-15T13:21:58.640Z"
}

Webhooks

A webhook is a POST that Delivvo sends to your server when something happens in the business. You get them three ways: an endpoint you add in the dashboard, a Slack channel, or a subscription an app makes through the API. A business can have 25 in all.

  1. In Integrations, go to Webhooks and Slack and press Add endpoint.
  2. Under Send to, pick Webhook and paste a public HTTPS address on your server.
  3. Pick the events, or All events, then press Add.
  4. Copy the signing secret. It starts with whsec_, and you can show it again from the endpoint's menu.
  5. Press Send a test in the same menu. An endpoint.test event arrives, signed like every other one, and the Delivery log shows how your server answered.

Every event has the same envelope. data is the full object, the same as its GET answer (shortened in the sample below). id stays the same on every retry, so use it to skip events you've already handled.

POST /hooks/delivvo HTTP/1.1
Host: harborstudio.co
Content-Type: application/json
User-Agent: Delivvo-Webhooks/1.0
Delivvo-Signature: t=1791885891,v1=5d8b6f0e2a91c4a7f3e1b9d02c6a8e4f7b1d3c5e9a0f2b4d6c8e1a3f5b7d9c0e
Delivvo-Event: lead.created
Delivvo-Event-Id: cm2b7f9a3000bjv08w1x2y3z4
Delivvo-Delivery-Id: cm2b7f9a4000cjv08p5q6r7s8

{
  "id": "cm2b7f9a3000bjv08w1x2y3z4",
  "object": "event",
  "type": "lead.created",
  "created_at": "2026-10-13T10:04:51.630Z",
  "account_id": "cm1q8w2rd0004mk08x3p6v9tz",
  "api_version": "2026-10-13",
  "data": {
    "object": "lead",
    "id": "cm2b7f1xk0009jv08h4n2q6ra",
    "ref": "K7QM",
    "name": "Sara Mitchell",
    "status": "open"
  }
}

Headers

Delivvo-Signature
The time of this attempt and one or two signatures. See Check the signature.
Delivvo-Event
The event type, like lead.created.
Delivvo-Event-Id
The event's id, the same as id in the body.
Delivvo-Delivery-Id
This delivery to this endpoint.
Content-Type
application/json
User-Agent
Delivvo-Webhooks/1.0

Events can arrive out of order, and a retry can land after a newer event. When order matters, compare updated_at or fetch the object again.

Event types

You can only pick events whose data you can read. In the dashboard your role decides, and booking events also need access to everyone's bookings. Through the API, the key needs the read scope shown next to each event.

lead.createdlead · leads:read
A new lead came in, from any source.
lead.updatedlead · leads:read
A lead's details or stage changed, or the person sent their details again.
lead.assignedlead · leads:read
A lead got a new owner.
lead.wonlead · leads:read
A lead was marked won.
lead.lostlead · leads:read
A lead was marked lost.
client.createdclient · clients:read
A client was added.
project.createdproject · projects:read
A project was added.
proposal.sentproposal · proposals:read
A quote went to the client.
proposal.acceptedproposal · proposals:read
The client accepted a quote.
proposal.declinedproposal · proposals:read
The client declined a quote.
contract.signedcontract · projects:read
The client signed a contract.
invoice.sentinvoice · invoices:read
An invoice went to the client.
invoice.paidinvoice · invoices:read
An invoice was paid.
invoice.voidedinvoice · invoices:read
An invoice was voided.
payment.receivedpayment · payments:read
A payment went through.
payment.refundedpayment · payments:read
A payment was refunded.
booking.createdbooking · projects:read
A booking or meeting was added.
booking.rescheduledbooking · projects:read
A booking moved to a new time.
booking.cancelledbooking · projects:read
A booking was cancelled.

Contracts and bookings reach you through events. These are their shapes. In a booking, booking holds the details when it was made through one of your booking types, and is null for any other meeting.

{
  "object": "contract",
  "id": "cm2c6n2op000dkq08g7h8i9j0",
  "project_id": "cm2c2a7bc0005kq08q1r2s3t4",
  "client_id": "cm2c1d4ef0002kq08m7n8o9p0",
  "project_title": "Haddad wedding film",
  "status": "signed",
  "signed_by": "Jack Hayes",
  "client_signed_at": "2026-10-14T08:55:31.000Z",
  "business_signed_at": "2026-10-14T09:10:02.000Z",
  "created_at": "2026-10-13T10:25:00.000Z"
}

Check the signature

Every webhook is signed with its endpoint's secret (Slack messages aren't). The Delivvo-Signature header looks like t=1791885891,v1=5d8b...: t is the Unix time of this attempt, and each v1 is an HMAC SHA-256 in hex.

  1. Read the raw request body as bytes, before any JSON parsing.
  2. Split the header on commas. Keep t and every v1 value.
  3. Build the signed text: t, a dot, then the raw body.
  4. Compute its HMAC SHA-256 with your whole secret as the key, whsec_ included, and write it in hex.
  5. Compare it with each v1 in constant time. One match is enough.
  6. Refuse the request if t is more than 5 minutes from your clock, so an old request can't be sent again.
import crypto from "node:crypto";
import express from "express";

const TOLERANCE_SECONDS = 300;

export function verifyDelivvoSignature(rawBody, header, secret) {
  if (!header) return false;
  let timestamp = null;
  const signatures = [];
  for (const part of header.split(",")) {
    const [key, value] = part.trim().split("=");
    if (key === "t" && /^\d+$/.test(value ?? "")) timestamp = Number(value);
    if (key === "v1" && value) signatures.push(value);
  }
  if (timestamp === null || signatures.length === 0) return false;
  if (Math.abs(Math.floor(Date.now() / 1000) - timestamp) > TOLERANCE_SECONDS) return false;

  const expected = crypto
    .createHmac("sha256", secret)
    .update(`${timestamp}.`)
    .update(rawBody)
    .digest();
  return signatures.some((signature) => {
    const given = Buffer.from(signature, "hex");
    return given.length === expected.length && crypto.timingSafeEqual(given, expected);
  });
}

const app = express();

// Keep the body as raw bytes: the signature covers them exactly as sent.
app.post("/hooks/delivvo", express.raw({ type: "application/json" }), (req, res) => {
  const ok = verifyDelivvoSignature(req.body, req.get("Delivvo-Signature"), process.env.DELIVVO_WEBHOOK_SECRET);
  if (!ok) return res.status(400).send("Bad signature");
  const event = JSON.parse(req.body.toString("utf8"));
  // Store event.id, answer 2xx quickly, then do the slow work.
  res.sendStatus(200);
});

When you press New signing secret, the old secret keeps signing for 24 hours. During that time the header carries two v1 values, one per secret, so you can switch without missing an event.

Retries and turning off

  • Any 2xx answer within 10 seconds counts as delivered. Anything else is a failure, redirects included.
  • A failed delivery is tried 8 times in all: right away, then after 1 minute, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours and 24 hours, about 42 hours from start to end. Each try is signed again with a new t.
  • Answer 410 Gone and the endpoint is turned off at once. Zapier sends that when a zap is switched off.
  • An endpoint that has failed for 3 days with no success in between is turned off, and the business gets a bell item and an email.
  • The Delivery log shows the last 50 deliveries with the status code, the time taken and the start of your answer. Send again resends one.
  • Deliveries stop if the plan drops below Pro, if the account is closed, or if the key behind an app's subscription is revoked or expires.
  • If Delivvo pauses webhooks, events wait and go out once sending is back on.

Zapier, Make and n8n

Zapier, Make and n8n connect by signing in to Delivvo with OAuth 2.0, so nobody copies a key. The app opens https://app.delivvo.io/oauth/authorize, the person presses Allow, and the app swaps the code at POST /api/oauth/token for a token that works like an API key with the same scopes (PKCE S256 is supported; n8n uses the client ID delivvo-n8n with PKCE and no secret). The app then subscribes to events through the API, the way REST hooks work. Your own code can make the same calls with a key.

Endpoints

  • POST/webhookswebhooks:write
  • GET/webhookswebhooks:read
  • DELETE/webhooks/{id}webhooks:write
  • GET/events/samplewebhooks:read

Body: POST /webhooks

target_urlstringrequired
A public HTTPS address to send the events to.
eventsstring[]required
One or more event types. The key needs the read scope for each event's data.
descriptionstring
Up to 120 characters, shown in the dashboard.
Request
curl https://app.delivvo.io/api/v1/webhooks \
  -X POST \
  -H "Authorization: Bearer $DELIVVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "target_url": "https://hooks.example.com/delivvo/91c2",
    "events": ["lead.created", "invoice.paid"],
    "description": "New leads to the sheet"
  }'
Response
{
  "data": {
    "object": "webhook",
    "id": "cm2b8k0p1000djv08t9u8v7w6",
    "target": "hooks.example.com/delivvo/91c2",
    "events": ["lead.created", "invoice.paid"],
    "active": true,
    "disabled_reason": null,
    "created_at": "2026-10-13T10:20:03.114Z",
    "secret": "whsec_4kQe9Lw2Zp7Xr1Vb8Nc3Md6Hs0Jt5Ay"
  },
  "error": null
}

The answer is 201 with the subscription and its signing secret, shown this one time. Deliveries are signed and retried like any other webhook. GET /webhooks lists only this key's subscriptions, and DELETE /webhooks/{id} removes one.

Request
curl https://app.delivvo.io/api/v1/webhooks \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

curl -X DELETE https://app.delivvo.io/api/v1/webhooks/cm2b8k0p1000djv08t9u8v7w6 \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

curl "https://app.delivvo.io/api/v1/events/sample?type=lead.created" \
  -H "Authorization: Bearer $DELIVVO_API_KEY"

GET /events/sample?type=lead.created returns up to 3 recent events of that type in the webhook envelope, so an app can show real fields while someone sets it up. Before any event exists, it builds them from the newest matching records.

Subscriptions also show in the dashboard under Webhooks and Slack, marked with the app that added them. They stop when the key or app connection that made them is revoked or expires.

Slack

  1. In Slack, add the Incoming Webhooks app to a channel and copy its address.
  2. In Integrations, press Add endpoint, pick Slack under Send to and paste the address. It starts with https://hooks.slack.com/services/.
  3. Pick the events. Each one posts a short line in the business owner's language, with a link to it in the dashboard.

Slack messages carry no signature. If Slack says the webhook or the channel is gone, the endpoint turns off right away.

Endpoint addresses

Delivvo only sends to public HTTPS servers. An address that fails a check is refused when it's saved, with one of these codes.

not_https400
It must start with https://.
credentials400
No user name or password in the address.
port400
The standard HTTPS port, or a port above 1024.
host400
No localhost, .local or .internal names, and no private, loopback or reserved IP address, IPv4 or IPv6.
invalid400
It isn't a web address.
no_events400
No event was picked.

The address is checked again on every send: each IP its name resolves to must be public, so a DNS change can't point it into a private network. Redirects aren't followed.

API questions

Does Delivvo have an API?

Yes. You create API keys in the app, then read leads, clients, projects, quotes, invoices and payments, and add leads and clients. Delivvo also sends signed webhooks when things change in your account.

Which plans include the API?

The API and webhooks are on Pro and every plan above it.

How do I check that a webhook came from Delivvo?

Each webhook carries a signature made with your signing secret. Check it before you trust the body. The reference has working examples in Node.js, Python and PHP.

Can I connect Delivvo without writing code?

Yes. On Pro and up, Zapier, Make, n8n, signed webhooks, Slack channels and the API connect from the Integrations screen, along with Zoho Books and your calendars.

Can I import data without the API?

Yes. Clients, leads, open invoices and team members import from a spreadsheet, and your lists export to CSV.

Your inquiry link is free.

Free plan. No card needed.