API reference / webhooks
List webhook endpoints
GET
/v1/webhooksPermission webhooks:manageReturns all configured webhook subscriptions for the workspace (up to 5 per workspace).
Headers
AuthorizationstringREQUIREDBearer followed by your API key.
Foxli-WorkspacestringTarget workspace ID. Required if account owns or admins more than one workspace.
Query parameters
workspace_idstringAlternative way to pass workspace ID.
Errors
400
validation_failedInvalid parameters or missing workspace context.401
invalid_api_keyMissing, invalid, or revoked API key.403
insufficient_scopeAPI key lacks required scope: webhooks:manage429
rate_limitedToo many requests. Check Retry-After seconds.curl https://api.foxli.app/v1/webhooks \ -H "Authorization: Bearer $FOXLI_API_KEY" \ -H "Foxli-Workspace: ws_brand_primary"
Response200 OK
{
"success": true
}