Delivery Logs

You can view the delivery logs of your webhook endpoints in the Developer Portal. The logs provide information about the delivery status of each event, including the response code, response body, and response headers.

Delivery logs are only available for the last 15 days.

Duplicate Events

Webhook endpoints might occasionally receive the same event more than once. You can guard against duplicated event receipts by logging the event IDs you’ve processed, and then not processing already-logged events.

Select Specific Event Types

Configure your webhook endpoints to receive only the types of events required by your integration. Listening for extra events (or all events) puts undue strain on your server and we don’t recommend it.

You can change the events that a webhook endpoint receives in the Developer Portal.

Handle Events Asynchronously

Configure your handler to process incoming events with an asynchronous queue. You might encounter scalability issues if you choose to process events synchronously. Any large spike in webhook deliveries (for example, during the beginning of the week when Patient Credentials are refreshed) might overwhelm your endpoint. Asynchronous queues allow you to process the concurrent events at a rate your system can support.

Verify Events

Verify webhook signatures to confirm that received events are sent from Fasten Connect. Fasten Connect signs webhook events it sends to your endpoints by including a signature in each event’s Webhook-Signature header. This allows you to verify that the events were sent by Fasten Connect, not by a third party. You can verify signatures either using our official libraries, or verify manually using your own solution.

See Webhook Verification for more information.

Respond Immediately

Your endpoint must quickly return a successful status code (200) prior to any complex logic that could cause a timeout.

For example, you must return a 200 response before processing the JSONL payload and storing the data in your database.