# API keys and webhooks

Push events to Zapier, Make, n8n or your own code with webhooks, and read or write your data with an API key.

Raoura connects to other tools in two ways. **Webhooks** push: Raoura calls a URL of yours when something happens. The **API** pulls: your script or automation tool asks Raoura for data, or adds to it, using a key.

Both live on the **Automations** page in the sidebar.

### Webhooks: send events to another tool

1. Open **Automations** and find the **Webhooks** card.
2. Paste the address that should receive events. This can be a Zapier, Make or n8n catch hook, or your own endpoint. It must be a public https address.
3. Click **Add endpoint**.
4. Raoura shows a **Signing secret** once. Copy it now if you plan to verify requests. It cannot be shown again.

An endpoint added here receives every event. Each one is a single POST with the event name and its data.

Events sent today:

- A client is created, or a new lead arrives.
- An invoice is sent, or paid.
- A proposal is sent, or accepted.
- A contract is sent, or signed.
- A client sends a request, or leaves a rating.
- A call is booked, or cancelled.

Click **Active** on an endpoint to pause it, and again to switch it back on. The trash icon removes it. **Recent deliveries** at the bottom of the card shows the latest calls and whether each one worked.

Good to know:

- Raoura waits 5 seconds for an answer. If the call times out, or your endpoint answers with a server error, Raoura retries once, 2 seconds later. It does not keep retrying after that.
- A retry carries the same delivery id, so your side can ignore a duplicate.
- Zapier, Make and n8n connect through these webhooks. There is no separate Raoura app to install in those tools.

For developers: each request carries an x-raoura-signature header, an HMAC-SHA256 of the timestamp and the body made with your signing secret. Check it to be sure the call came from Raoura.

### Slack

For a simple ping in Slack you do not need webhooks. In the **Slack notifications** card on the Automations page, paste a Slack incoming webhook address and click **Save notifications**. You get a message when a client pays, accepts or signs, and when a new lead arrives. Clear the field to turn it off.

### API keys: read or write your data

1. On the **Automations** page, find the **API keys** card.
2. Type what the key is for, such as "Monthly revenue script".
3. Choose **Read only** or **Read and write**.
4. For a Read and write key you can also allow it to create proposal drafts, send proposals, create contract drafts and send contracts. Leave these unticked unless you need them.
5. Click **Create key** and copy the key straight away. It is shown once. Raoura keeps only a scrambled copy and cannot show it to you later.

Lost a key, or no longer need it? Click the trash icon on its row to revoke it. Anything using it stops working immediately. Then create a new one. A key cannot be renamed or changed after it is made.

What a key can do:

- **Read only:** read your clients, invoices, payments, projects, milestones, tasks, time entries, expenses, proposals and contracts.
- **Read and write:** also create and update clients and projects, create and edit draft invoices, and add, change or remove tasks, time entries and expenses.
- **With the extra permissions:** create proposal and contract drafts, and send them to the client.

What no key can ever do: accept a proposal, sign a contract, send an invoice, charge a card, refund or record a payment. Those stay with you and your client.

Good to know:

- A key only ever sees the account it was made in.
- Each key can make 120 requests a minute.
- The API works while your Raoura plan is active. If the plan lapses, calls are refused until you renew.
- The full reference is linked from the API keys card as **OpenAPI spec**, and the developer guide is at raoura.com/developers.

## Related

- [Connect Claude or ChatGPT to Raoura](https://www.raoura.com/help/connect-claude-or-chatgpt.md)
- [Export your data](https://www.raoura.com/help/export-your-data.md)

Page: https://www.raoura.com/help/api-keys-and-webhooks
