Skip to content
Help overview

Set up a webhook

Checking without an account and API

A webhook is an address of your own software to which Revobill sends messages, instead of your software asking all the time. Revobill reports every newly checked invoice ("Invoice checked") and every finished or failed export ("Export finished"). Only the owner manages the webhook, and your company details must be saved.

How to set it up

  1. Open Settings › Webhook.
  2. Enter the webhook address and click "Save address". It must begin with https://, must not name a port other than 443, must be reachable from the internet, must not contain a username or password and must not redirect. At most 2048 characters.
  3. Copy the signing secret right away. It is shown only once. Enter it in your software so that it recognizes the messages as genuine. If it gets lost, you generate a new one with "Generate new secret". The old one then no longer applies.
  4. Have your software answer every message with a 2xx status, within 10 seconds.

Every message is signed (HMAC-SHA256 with the secret). How to check the signature is described with an example in the API guide. As long as no address is entered, Revobill collects no messages. After you enter one, messages arrive for everything that happens from then on.

If messages do not arrive

If your software does not answer or answers with an error, Revobill repeats the message: first after one minute, then at ever longer intervals up to four hours. Revobill delivers one message after another. A message that does not arrive holds back all later ones, so that nothing overtakes. If the outage lasts 24 hours, the owner gets exactly one email without invoice data.

Under "Delivery" the page shows the outage, the open messages, the last error and the next attempt. There are two buttons:

  • "Deliver now" starts delivery immediately.
  • "Skip oldest message" helps when the oldest message is stuck permanently, for example because your receiver always rejects it. The invoice stays in the archive and can be retrieved through the API, only the message about it is dropped. This cannot be undone.

Good to know

  • Revobill delivers at least once. Recognize a repetition by the identifier event_id and process it only once.
  • "Delete address" ends the webhook. Open messages are discarded.
  • If your account is locked, you can deliver and skip messages but not change the address.
  • Every change appears in the log.

You create keys for the interface under API keys.

More articles in "Checking without an account and API"

Try it free for 30 days

Try Revobill with your own invoices, no payment method needed.

Did not find what you need?

Write to us, we will help you:

support@revobill.io