BillbookHelp
Settings

Use the API and webhooks

Create API keys so other software can read your books or add contacts and invoices, and get told when things happen with webhooks.

The API lets your own software or tools talk to your books. Webhooks do the reverse: Billbook tells your software when something happens. Only an owner or admin can set them up.

How do I create an API key?

  1. Open SettingsAPI & webhooks and choose Create key.
  2. Give it a Name after the app that will use it.
  3. Tick Allow writing: create contacts and invoices (otherwise read only) only if it needs to add things.
  4. Choose Create key, then Copy key and store it somewhere safe.

You only see the key once

Lost it? Revoke it and create another. A key also stops working if the person who made it leaves the business.

How do I add a webhook?

  1. Choose Add endpoint.
  2. Enter the URL to send to and tick the Events, like Invoice paid in full or Bill approved.
  3. Copy the signing secret that shows next, and put it in the app that receives the webhooks.
  4. Choose Send a test event to check it works.

Every event is signed with the endpoint's secret so your app can check it came from Billbook. Failed deliveries are retried for up to a day.

How do I see what was sent?

Open Recent deliveries under the endpoint. Choose Resend on any delivery to send it again, or Pause the endpoint while you fix things.

Next

Something wrong on this page? Tell us

Last updated on

On this page