Set up webhook notifications

Coolify webhook notifications send a JSON POST request to an endpoint you control. Use this channel to connect Coolify to an automation workflow, incident system, or custom application.

Before you start

Prepare an endpoint that:

  • Accepts POST requests over HTTP or HTTPS.
  • Accepts a JSON request body.
  • Is reachable from the Coolify instance.
  • Records requests or provides another way to verify delivery.
  • Returns a successful HTTP response promptly after accepting a request.
  • Can safely receive the same event more than once if a delivery is retried.

For an initial test, use a development endpoint or request inspector where you can view the method, headers, and JSON body. Move to the production endpoint only after the test succeeds.


Configure the webhook

Add the endpoint

Open Notifications > Webhook, enter the endpoint in Webhook URL, and select Save changes.

Enable the channel

Select Enable. Coolify requires a valid webhook URL before it enables the channel.

Choose events

Under Notification events, select the events to send to the endpoint. See Notification events for each trigger.

Send a test

Select Send test and inspect the request received by your endpoint.

Confirm all of the following:

  • The request method is POST.
  • The body is valid JSON.
  • The body contains "event": "test".
  • Your endpoint returns a successful response without waiting on long-running work.

A received test confirms that Coolify can reach the current URL and submit a request. It does not verify that every event-specific field is handled by your application.


Endpoint requirements

Coolify accepts URLs with the http or https scheme. The URL must contain a valid host without a trailing dot.

For server-side request protection, Coolify resolves the host and checks every address when you save the URL and again before each delivery. It connects only to the checked address and does not follow redirects. Use the final URL of the endpoint.

TargetResult
Public addressAccepted.
Private network address, such as 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or fc00::/7Refused, unless the host or address is in Allowed internal targets.
Hostname that ends in .local, .internal, or .cluster.localRefused, unless the hostname is in Allowed internal targets.
Loopback address, such as localhost, 127.0.0.0/8, or ::1Refused, unless Localhost targets is Allowed and the host or address is in Allowed internal targets.
Link-local address, such as 169.254.0.0/16 or fe80::/10, including cloud metadata endpointsAlways refused.
Other reserved or special-use address, such as 0.0.0.0 or 100.64.0.0/10Refused, unless the address or its range is in Allowed internal targets.

On a self-hosted instance, an instance administrator sets both options under Settings > Advanced > Outbound endpoints. When Coolify refuses a URL, the error says that the URL points to a local or private address that is not allowed, and links to that setting.

The same rules apply to the Discord and Slack webhook URLs.


Delivery behavior

Coolify queues webhook deliveries and sends the JSON request body with Laravel's HTTP client. A delivery job allows up to five total attempts, with a 10-second backoff between attempts.

Coolify handles the response status of the endpoint as follows:

ResponseWhat Coolify does
2xxThe delivery succeeded.
429 or 5xxCoolify tries the delivery again.
401, 403, 404, or 410Coolify counts a failed delivery and does not try again. After 3 failed deliveries in a row, Coolify disables the channel.
Other status, including redirectsCoolify logs a warning and does not try again.

If the URL fails the endpoint checks at delivery time, Coolify does not send the request and logs a warning.

Your endpoint should respond promptly and handle duplicate event payloads safely. Coolify does not add a signature or shared-secret header, so use an unguessable HTTPS URL or an authenticated gateway when the endpoint is exposed to the internet.

See the webhook payload reference for all event identifiers and fields.


Troubleshoot webhook delivery

If the test does not reach your endpoint:

  1. Confirm that the URL starts with http:// or https:// and includes the complete path expected by the receiver.
  2. Confirm that the URL is not refused by the endpoint requirements. For a private or internal endpoint, ask an instance administrator to add it to Allowed internal targets.
  3. From the Coolify server's network, confirm that DNS resolves the hostname and that firewalls allow the connection.
  4. Check the receiving service's access and application logs. A request can reach a reverse proxy but fail before the application records it.
  5. Confirm that the endpoint accepts POST with a JSON body and responds promptly.
  6. If a private IP is used, confirm that the Coolify instance has a route to that private network.
  7. If the endpoint answers with a redirect, enter the final URL. Coolify does not follow redirects.
  8. If the channel turned off by itself, fix the URL and select Enable again. See Disabled channels.

If the test succeeds but a production event does not arrive, confirm that the event is enabled under Notification events and compare the receiver's parser with the payload for that event.

On this page