Help centre
العربية Back to sayvara.com

Webhook delivery log

See what Sayvara sent to a webhook endpoint and what your system answered, send an event again, turn an endpoint back on, and pick its events.

Updated

Each webhook endpoint has a Delivery log. It lists every event Sayvara sent to that endpoint, newest first, with each try and how your system answered. Use it to check that your system receives events, and to fix it when it does not.

Only owners and admins can open the log. Other roles see API keys, webhooks and connections are managed by the admins of your organisation. Ask an admin.

Open the log

  1. Select Integrations in the side menu.
  2. Scroll down to the Webhooks card. It lists each endpoint with its URL, its events and On or Paused.
  3. On the endpoint's row, select Delivery log.

The page shows the endpoint's URL and events at the top, then Endpoint health, then the deliveries. Select Back to Integrations to go back.

Hooks that no-code tools made through the REST hooks operations are endpoints too, so they are on the Webhooks card with their own log.

Endpoint health

Item What it shows
Status Receiving events, or Switched off when Sayvara switched the endpoint off
Last delivered When your system last accepted a delivery
Failed deliveries in a row How many deliveries in a row failed all their tries

A delivery fails when all 10 of its tries fail. When 50 deliveries in a row fail, Sayvara switches the endpoint off. One delivered event sets the count back to 0.

Turn a switched-off endpoint back on

While the endpoint is switched off, new events are not sent and do not show in the log. Deliveries that were still waiting end as Failed with the answer endpoint disabled.

  1. Fix the problem on your side first, for example the URL or the server that answers it.
  2. Select Turn back on.

The count of failed deliveries goes back to 0 and new events are sent again. Events that happened while it was off are not sent. Deliveries that ended as Failed stay in the log: use Send again on a row to send it.

The deliveries

The table Deliveries to this endpoint has one row per event:

Column What it shows
Event The event name, for example response.completed
Status Where the delivery is (see below)
Tries Tries used out of 10, for example 3 of 10
Last answer The HTTP status of the last try, for example HTTP 500, or a short reason when there was no answer
Delivered or next try When it was delivered, or when the next try runs
Created When the delivery was made

The page shows 50 deliveries at a time. Select Load more to see older ones.

Status

Status Meaning
Waiting Waiting for its first try, or for a try after Send again
Retrying A try failed. Sayvara tries again after a wait
Delivered Your system answered with a 2xx status
Failed All 10 tries failed, or the endpoint was paused or switched off. Sayvara stops trying

Any answer other than 2xx is a failed try, and so is no answer at all. Redirects are not followed. The waits between tries grow from 1 minute to about 4 hours, so the last try comes about 8.5 hours after the first. See Retries and backoff.

Common reasons in Last answer when there was no HTTP status:

  • network: ... - Sayvara could not reach your server, for example a timeout or a wrong host name.
  • refused: https only or refused: not a public address - the URL must use https:// and a public host.
  • endpoint disabled - the endpoint was paused or switched off when the try was due.

Send a delivery again

You can send again a delivery that is Delivered or Failed.

  1. On the row, select Send again.
  2. Check the event and time in the window Send this event again?
  3. Select Send again.

The row goes back to Waiting with 0 tries and starts a new round of up to 10 tries. Sayvara sends the same event with the same id, so your system can tell it is a repeat.

A delivery that is still being sent cannot be sent again. The page then says This delivery is still being sent. You can send it again once it has been delivered or has failed. and loads the log again.

Make a new signing secret

On the Endpoint health card, select New signing secret, then Make new secret. Copy the secret from the window: it is shown only once. For the next 24 hours each delivery is signed with both the new and the old secret, so you have time to put the new one in your system. See Check the signature.

Pick the events and contact details

The Events and contact details card lists every event Sayvara sends, with the ones this endpoint receives ticked. See Webhook events for when each one is sent.

  1. Tick the events you want and untick the ones you do not. Keep at least one.
  2. To send the customer's phone number and email with events about a customer, turn on Include contact phone and email. It is off for a new endpoint.
  3. Select Save.

A newly ticked event is sent from the moment you save; earlier moments are not sent. With contact details on, the events marked can include contact also carry data.contact with the contact's id, phone and email. A contact whose data was erased is sent with no phone or email. Names and comments are never sent, and ticket events never carry a contact. Turning it off stops it from the next try.

An endpoint that an automation made (Zapier, Make or Power Automate) keeps the one event that automation chose. To change it, change the automation; you can still turn contact details on or off here.

How long entries are kept

Entries have no time limit. They stay as long as the endpoint exists.

  • When an endpoint is removed, its log is removed with it. For automation hooks, that happens when you select Remove under Settings > API access > Automations, or when the tool unsubscribes.
  • When your organisation's data is deleted, the logs go with it. See Data export and deletion.

Each Send again, Turn back on, New signing secret and saved event or contact change is recorded in the Audit log. The entry's Target starts with webhook.delivery_replayed, webhook.enabled, webhook.secret_rotated or webhook.options_changed.