Zapier
1. Under Your account › API tokens, make a token named Zapier. Zapier can then do what you may do in OSuite, so make it as a person with the right role.
2. In Zapier, choose OSuite and connect it with your OSuite address and that token. Your OSuite needs an https address: the cloud edition, or Remote access on the desktop.
3. Choose a trigger (Invoice posted, Lead won, Payment received and more) and an action in another app, or an OSuite action: Create contact, lead, ticket or to-do, Find contact or invoice.
When a Zap is switched on it appears under Connections › Webhooks; switched off, it goes.
n8n
In n8n, install the community node n8n-nodes-osuite. Add the credential OSuite API with your OSuite address and a token made for n8n. The OSuite Trigger node starts a workflow when something happens; the OSuite node makes and finds records.
n8n on the same computer as the desktop edition can use http://127.0.0.1:47850 as the address.
Webhooks for your own programs
Under Connections › Webhooks, an administrator adds an address and chooses the events. OSuite then sends each event as JSON: { id, event, occurredAt, data }, where data is the record (the invoice, the lead). The id is the same if a call is repeated, so your program can skip repeats.
Each call is signed: the header X-OSuite-Signature is sha256= and the HMAC-SHA256, with the secret shown when the webhook was made, of the X-OSuite-Timestamp header, a full stop, and the body. Check it before trusting the call.
A call that fails is tried again after 1, 2, 5, 10 and 30 minutes. A webhook whose calls fail 10 times in a row is paused and the administrators told; Resume it once the address works. Send a test checks the address now. For your website’s own server, choose the website under Only events from: it then hears only of the invoices, payments, proformas and checkouts that website made, not the rest of your business. Send a sample sends the latest real one of the event you choose, such as your last posted invoice, marked as a sample, so your website’s developer can try it before going live; nothing changes in OSuite. The last 100 calls of each are listed.
Only what happened after a webhook was made is sent, never the history. Webhooks made with a token send only what that person may see.