View .md

Webhooks endpoints (Admin API)

13 FeatherPanel Admin API endpoints from admin/webhooks.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 8318da2 on .

On this page

Defined in backend/app/routes/admin/webhooks.php. Authentication used here: Admin. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

GET/api/admin/webhooks/settings

Auth: AdminPermission: admin.webhooks.viewRoute name: admin-webhooks-settingsController: WebhooksController::settingsroute source
curl -X GET "$PANEL_URL/api/admin/webhooks/settings" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

PUT/api/admin/webhooks/settings

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-settings-updateController: WebhooksController::updateSettingsroute source
curl -X PUT "$PANEL_URL/api/admin/webhooks/settings" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/webhooks/deliveries/{id}

Auth: AdminPermission: admin.webhooks.viewRoute name: admin-webhooks-deliveryController: WebhooksController::deliveryroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X GET "$PANEL_URL/api/admin/webhooks/deliveries/$ID" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/webhooks/deliveries/{id}/redeliver

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-delivery-redeliverController: WebhooksController::redeliverroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X POST "$PANEL_URL/api/admin/webhooks/deliveries/$ID/redeliver" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/webhooks

Auth: AdminPermission: admin.webhooks.viewRoute name: admin-webhooksController: WebhooksController::indexroute source
curl -X GET "$PANEL_URL/api/admin/webhooks" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/webhooks

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-createController: WebhooksController::createroute source
curl -X POST "$PANEL_URL/api/admin/webhooks" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/webhooks/{id}

Auth: AdminPermission: admin.webhooks.viewRoute name: admin-webhooks-showController: WebhooksController::showroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X GET "$PANEL_URL/api/admin/webhooks/$ID" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

PATCH/api/admin/webhooks/{id}

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-updateController: WebhooksController::updateroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X PATCH "$PANEL_URL/api/admin/webhooks/$ID" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

DELETE/api/admin/webhooks/{id}

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-deleteController: WebhooksController::deleteroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X DELETE "$PANEL_URL/api/admin/webhooks/$ID" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/webhooks/{id}/secret

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-secretController: WebhooksController::secretroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X GET "$PANEL_URL/api/admin/webhooks/$ID/secret" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/webhooks/{id}/rotate-secret

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-rotate-secretController: WebhooksController::rotateSecretroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X POST "$PANEL_URL/api/admin/webhooks/$ID/rotate-secret" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

POST/api/admin/webhooks/{id}/test

Auth: AdminPermission: admin.webhooks.manageRoute name: admin-webhooks-testController: WebhooksController::testroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X POST "$PANEL_URL/api/admin/webhooks/$ID/test" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

GET/api/admin/webhooks/{id}/deliveries

Auth: AdminPermission: admin.webhooks.viewRoute name: admin-webhooks-deliveriesController: WebhooksController::deliveriesroute source
ParameterInTypeRequiredDescription
idpath-yes
curl -X GET "$PANEL_URL/api/admin/webhooks/$ID/deliveries" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"