FruxonDocs
IntegrationsConfigs

Asks the provider what webhook URL it currently has registered for this config and whether recent deliveries have been failing.

Inspects the provider's registered webhook and delivery health. Telegram reports its registered URL, last_error_message and pending_update_count. Returns 400 for providers that do not support inspection.

POST
/v1/tenants/{tenant}/integrations/{integration}/configs/{config}:inspectWebhook
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

integration*string

The integration ID.

config*string

The configuration ID.

Formatuuid
tenant*string

The tenant identifier

Optional expected URL for drift detection.

expectedWebhookUrl?string|null

The URL Fruxon previously minted, for drift detection. Null when the FE doesn't have the URL in memory (e.g. fresh page load).

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08:inspectWebhook" \  -H "Content-Type: application/json" \  -d '{}'
{
  "inspectFailed": false,
  "providerHasUrl": false,
  "providerUrlMatchesExpected": false,
  "providerReportedUrl": "string",
  "lastErrorMessage": "string",
  "lastErrorAt": 0,
  "pendingUpdateCount": 0,
  "errorMessage": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}