Skip to main content
GET
Get auto-deleted webhooks

Overview

List the webhooks that Flabs deleted automatically because they returned no 2xx response for 24 hours. These webhooks receive no events. Use this endpoint to find the webhook you want to restore after fixing your endpoint. Webhooks you deleted yourself with Delete Webhook are not listed. Active webhooks are returned by Get All Webhooks.

Endpoint

Authentication

This endpoint requires a valid Bearer token obtained from the authentication API.

Request Parameters

All parameters are sent as query parameters:
Catch-all accounts (default): do not send a party. Party-scoped accounts: you must send corporateUser or organization (not both); only that party’s webhooks are returned. See integration modes.

Response Fields

Each item in data describes one auto-deleted webhook:

Responses

200 Auto-deleted webhooks
An empty data array means none of your webhooks have been deleted automatically.
See Auto-deleted Webhooks for when and why Flabs deletes a webhook, and the emails sent before and when it happens.

Authorizations

Authorization
string
header
required

JWT token obtained from the authentication endpoint

Query Parameters

labID
string
required

Flabs lab (branch) identifier. Fetch the list of labs via GET /client/labs.

corporateUser
string

Party-scoped accounts only. Return only this corporate's webhooks. Pass either corporateUser or organization, not both.

organization
string

Party-scoped accounts only. Return only this doctor/hospital's webhooks. Pass either corporateUser or organization, not both.

Response

Successfully retrieved auto-deleted webhooks

success
boolean
Example:

true

message
string
Example:

"Deactivated events fetched successfully"

data
object[]