Build on Finye.
A scoped REST API for clients, work items, invoices and projects, plus signed outbound webhooks — so your tools stay in step with your practice workspace.
Quick start
- In your workspace, go to Settings → Integrations and create an API key, selecting only the scopes you need. Copy the token — it’s shown once.
- Call the API with an
Authorization: Bearerheader:
curl https://finye.com.au/api/v1/clients \ -H "Authorization: Bearer fxq_your_api_key"
The key determines your workspace and permissions, so the same base URL works for every tenant.
Base URL & authentication
All endpoints are under the versioned base URL:
https://finye.com.au/api/v1
Every request must send Authorization: Bearer <token>. Tokens are per-workspace and least-privilege — a request that touches a resource the key isn’t scoped for returns 403. Keys can carry an expiry and be revoked at any time.
Scopes
Grant a key only the scopes it needs. Each endpoint below lists the scope it requires.
| Scope | Grants |
|---|---|
projects:read | Read projects |
work-items:read | Read work items |
work-items:write | Create & update work items |
clients:read | Read clients & contacts |
invoices:read | Read invoices |
webhooks:manage | Manage webhook subscriptions (Zapier, Make, etc.) |
Endpoints
| Method | Path | Scope |
|---|---|---|
| GET | /projectsList workspace projects | projects:read |
| GET | /work-itemsList work items (filters: project, status, open) | work-items:read |
| GET | /work-items/{id}Retrieve a work item | work-items:read |
| POST | /work-itemsCreate a work item | work-items:write |
| GET | /clientsList clients (filters: q, entity_type, active) | clients:read |
| GET | /clients/{slug}Retrieve a client with its contacts | clients:read |
| GET | /invoicesList invoices (filters: status, type, client) | invoices:read |
| GET | /invoices/{id}Retrieve an invoice with line items | invoices:read |
Create a work item
curl -X POST https://finye.com.au/api/v1/work-items \
-H "Authorization: Bearer fxq_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"project": "OPS",
"summary": "Prepare Q2 BAS",
"priority": "high",
"due_date": "2026-07-28"
}'Responses & pagination
List endpoints return a data array with Laravel-style links and meta (page, per_page, total). Use ?per_page= (max 100) and ?page= to page. Single resources return a data object. Money values are decimal strings so precision is preserved.
Errors & rate limits
Errors are JSON with a message (and an errors object on validation failures).
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
403 | The key lacks the required scope for this route |
404 | Not found (or belongs to another workspace) |
422 | Validation error — see the message and errors object |
429 | Rate limit exceeded (120 requests/minute per key) |
The API is rate limited to 120 requests per minute per key; responses carry X-RateLimit-Limit / X-RateLimit-Remaining headers.
Webhooks
Register endpoint URLs under Settings → Integrations → Event webhooks and subscribe to events. Finye sends a signed POST with a JSON body on every matching event.
Events
| Event | Fires when |
|---|---|
work_item.created | Work item created |
work_item.updated | Work item updated |
work_item.completed | Work item completed |
invoice.created | Invoice created |
invoice.paid | Invoice paid |
client.created | Client created |
Payload
Each delivery carries the event, a delivery id, a timestamp and a data object:
POST https://your-app.example.com/webhooks/finye
X-Finye-Event: invoice.paid
X-Finye-Delivery: 4021
X-Finye-Timestamp: 1752640000
X-Finye-Signature: sha256=9f86d0818...
{
"event": "invoice.paid",
"delivery_id": 4021,
"created_at": "2026-07-16T04:00:00+00:00",
"data": {
"id": 812,
"number": "INV-000812",
"status": "paid",
"total": "420.00",
"amount_paid": "420.00",
"client": "Ace Earthworx",
"paid_at": "2026-07-16T04:00:00+00:00"
}
}Verifying the signature
Compute HMAC-SHA256 of "{timestamp}.{rawBody}" with your endpoint’s signing secret and compare it (constant-time) to the X-Finye-Signature header. Always use the raw request body — not a re-serialised copy.
Node.js
const crypto = require('crypto');
function verify(req, secret) {
const ts = req.headers['x-finye-timestamp'];
const sig = req.headers['x-finye-signature']; // "sha256=<hex>"
const expected =
'sha256=' +
crypto.createHmac('sha256', secret)
.update(ts + '.' + req.rawBody) // rawBody = exact bytes received
.digest('hex');
return crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
}PHP
$ts = $_SERVER['HTTP_X_FINYE_TIMESTAMP'];
$sig = $_SERVER['HTTP_X_FINYE_SIGNATURE']; // "sha256=<hex>"
$body = file_get_contents('php://input'); // raw bytes
$expected = 'sha256=' . hash_hmac('sha256', $ts . '.' . $body, $secret);
if (! hash_equals($expected, $sig)) {
http_response_code(400); // reject — bad signature
exit;
}Retries & failures
Respond 2xx to acknowledge. Non-2xx responses and network errors are retried with backoff (up to 5 attempts). Every attempt is recorded in the delivery log, and an endpoint that fails persistently is automatically disabled. Send a test event any time from the settings page.
Start building
Create an API key in your workspace, or start a free trial.
