Developers
Send Revora's orders and leads to any app, and put orders and leads into Revora from anywhere.
Two ways to connect
Webhooks let Revora tell your other apps when something happens, like a new order or a delivered parcel. The REST API lets your apps read orders and leads from Revora, or add new ones. Both work with Zapier, Make, n8n or your own code. Everything is in Settings, then Integrations and API in your dashboard (owners and admins).
Webhooks
Add a web address and pick the events you want. Revora sends a POST with a JSON body each time one happens. If your server does not answer with a 2xx status within 8 seconds, Revora retries up to 6 times over about 9 hours. A webhook that keeps failing is switched off so it does not pile up, and you can turn it back on.
| Event | When it fires |
|---|---|
order.created | A new order arrives, from any source |
order.confirmed | The order is confirmed as valid |
order.delivered | The order is marked delivered |
order.cancelled | The order is cancelled |
order.returned | The order is returned |
lead.created | A new lead comes from a lead form or a website |
payment.received | A customer payment is confirmed |
What you receive
{
"id": "a570b1c2-6da9-4088-9b6b-9c66099e39c2",
"event": "order.created",
"created_at": "2026-12-03T12:09:55+00:00",
"data": {
"id": "818c92ab-ceda-4010-b025-b758cfc70945",
"status": "pending",
"customer": { "name": "Ada Obi", "phone": "08031234567", "email": null,
"address": "12 Allen Avenue", "city": "Ikeja", "state": "Lagos" },
"product_name": "Herbal tea", "quantity": 1, "order_value_naira": 15000,
"payment_method": "Pay on delivery",
"delivery": { "courier": null, "status": null, "tracking_url": null }
}
}
Each request also carries the headers X-Revora-Event, X-Revora-Delivery (a unique id, handy for ignoring repeats) and X-Revora-Signature.
Check that a message really came from Revora (optional)
Every webhook has a signing secret, shown once when you create it. The signature header looks like t=1796299795,v1=7eb9356d…. Sign the timestamp, a dot, then the raw request body exactly as received, with HMAC-SHA256 and your secret. If the result matches v1, the message is genuine.
// Node.js
const crypto = require("crypto");
function isFromRevora(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map(p => p.split("=")));
const expected = crypto.createHmac("sha256", secret).update(parts.t + "." + rawBody).digest("hex");
return expected.length === parts.v1.length &&
crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}
Zapier, Make and n8n do not need this. Use their "catch webhook" step and paste its address into Revora.
REST API
Base address: https://api.revoracrm.app/v1. Create a key in Settings and send it with every request:
Authorization: Bearer rvk_your_key_here
A key only ever sees its own company's data. Requests are limited to 120 per minute per key. Responses are JSON. Errors look like {"error": {"code": "...", "message": "..."}}.
| Endpoint | What it does |
|---|---|
GET/me | Checks your key and returns your company name |
GET/orders | Lists orders, newest first. Optional status (pending, valid, delivered, returned, cancelled), limit (up to 100) and before (a timestamp, for the next page) |
GET/orders/{id} | One order |
POST/orders | Creates an order |
GET/leads | Lists leads, newest first |
POST/leads | Creates a lead |
GET/products | Lists your products |
Create an order
curl -X POST https://api.revoracrm.app/v1/orders \
-H "Authorization: Bearer rvk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"customer_name": "Ada Obi",
"customer_phone": "08031234567",
"product_name": "Herbal tea",
"order_value_naira": 15000,
"quantity": 1,
"customer_address": "12 Allen Avenue",
"customer_city": "Ikeja",
"customer_state": "Lagos",
"payment_method": "Pay on delivery"
}'
Required: customer_name, customer_phone and product_name. The order is created as pending and follows the same steps as any other Revora order. Optional: product_id (from /products), customer_email.
Create a lead
curl -X POST https://api.revoracrm.app/v1/leads \
-H "Authorization: Bearer rvk_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "name": "Tunde Bello", "phone": "08031234567", "source": "Zapier" }'
Required: name, and one of phone or email. Optional: source, city, state, address and a fields object for anything extra.
Common setups
- New orders into Google Sheets: in Zapier, make a Zap that starts with "Webhooks by Zapier, Catch Hook", paste its address into Revora with
order.createdticked, then add a "Google Sheets, Create Spreadsheet Row" step. - Orders from your other store into Revora: make a Zap or Make scenario that ends with a "POST" to
/ordersusing your key. - Alert your team on Slack when a parcel is delivered: tick
order.deliveredand connect the hook to a Slack step.
Need something that is not here yet? Tell us.