Webhooks

A webhook lets FlexiProject notify an external system the moment something happens in the organization. The receiving system gets an HTTP request with the event data right after the event occurs, so it does not have to poll the API repeatedly to see whether anything changed.

One webhook links one event with one receiver address. To send two different events to the same address, or the same event to two systems, create two webhooks.

Webhooks are configured in the System settings menu, on the Webhooks tab. The tab is available to system administrators (see Users and permissions). To read data through another channel, use the API.

Events

FlexiProject reports four events. Each webhook concerns exactly one of them, chosen from the Event list.

Add webhook window with the Event list expanded and the available events highlighted

Event When FlexiProject sends the request Event-specific data
Project created A new project came into being, in any way: from scratch, from a template, by cloning, by importing an MS Project or Excel file, or with the help of AI. ProjectId, ProjectName, CreatedAt
Project deleted A project was deleted. ProjectId, ProjectName
Approval started A change request was submitted for approval and its approval path started. ChangeRequestId, ChangeRequestName, ProjectId, ProjectName, Date
Approval completed The approval path ended with a result: approval, rejection, return for revision or cancellation. For an archived project, the request is not sent. ChangeRequestId, ChangeRequestName, ProjectId, ProjectName, DecisionDate, Status

The Status field takes the value Approved (approval), Rejected (rejection), NeedsRevision (return for revision) or Pending (cancellation).

Every request also contains:

  • the event name (Event)
  • the moment it was generated (Timestamp)
  • the identifier (UserId) and email address (UserEmail) of the user whose action triggered it

The format of the whole request is described in HTTP request format. Approvals are described in Approvals.

Webhook configuration

Webhook list

The Webhooks tab shows all the organization’s webhooks in three columns: Event, Receiver URL and Description. When nothing is defined, the message No webhooks is displayed.

Add webhook window with the Event and Receiver URL fields highlighted

Adding a webhook

  1. In the main menu, choose System settings, go to the Webhooks tab and click Add. The Add webhook window opens.
  2. Choose the Event. Project created is set by default.
  3. Enter the Receiver URL, that is, the address FlexiProject sends the request to. The field is required and needs the full address including the protocol, for example https://example.com/hooks/flexiproject.
  4. Optionally, enter a Description, that is, a note for your team, visible only in the settings.
  5. Click Save. The webhook appears on the list, and the Secret window opens right after.

Secret

The Secret window contains the message: The webhook has been created. Below is the secret, which will be shown only once. Copy it and store it in a safe place.

Click Copy. The value goes to the clipboard (the system displays the message: Copied to clipboard), and from there you save it in the receiving system.

The secret signs every request, so the receiver can confirm that the request comes from FlexiProject (see HTTP request format).

Important: After you close the window, the full value is no longer available anywhere in the application.

In a webhook opened later, the Secret field shows only the first and last four characters, with asterisks in the middle. The field cannot be edited.

Editing a webhook

To change a webhook, click the event name on the list. In the Edit webhook window, you can change the event, the receiver address and the description, and then click Save.

Editing does not change the secret or create a new one.

Testing a webhook

To check a webhook, click Test in the edit window of a saved webhook. A request in the format of the chosen event, filled with sample data (for example a project named Test Project), is sent to the configured address. The system confirms it with the message: Test request sent successfully

Important: The message confirms that the request was sent, not that the receiver accepted it. Check the result on the receiving side.

Deleting a webhook

To delete a webhook, click Delete in the webhook window and confirm. From then on, the event is no longer sent to that address.

Warning: Deletion cannot be undone. To resume delivery, you have to create a new webhook, which has a new secret.

HTTP request format

FlexiProject sends a POST request with a JSON body to the configured address.

Headers

Header Content
X-FlexiProject-Event The event name: ProjectCreated, ProjectDeleted, AcceptanceStarted or AcceptanceCompleted.
X-FlexiProject-Delivery The delivery identifier. It stays the same across all retries of the same event, so you can recognize duplicates by it.
X-FlexiProject-Timestamp The moment the request was sent.
X-FlexiProject-Signature The signature of the request body in the form sha256=<value>.

Verifying the signature

The signature is an HMAC-SHA256 of the raw request body, computed with the webhook secret as the key and written in lower-case hexadecimal.

The receiver computes the same value from the received body and compares it with the part of the X-FlexiProject-Signature header after sha256=. If the values differ, the request must be rejected, because it does not come from this organization in FlexiProject.

Sample body

{
  "ProjectId": "6712f0a1c3d4e5f601234567",
  "ProjectName": "Warehouse modernization",
  "CreatedAt": "2026-09-21T08:14:02Z",
  "UserId": "a3f1c7de-1b20-4f9e-9a55-0c2d8e7b41aa",
  "UserEmail": "anna.kowalska@example.com",
  "Event": "ProjectCreated",
  "Timestamp": "2026-09-21T08:14:02Z"
}

Response and retries

The receiver replies with a success status (2xx) as soon as it accepts the request. Any other response, or none, counts as a failed delivery.

A failed delivery is retried automatically with a growing interval: after 1, 2, 4, 8, 16, 32, 64, 128, 256 and 512 minutes. All the attempts take about seventeen hours in total, so a receiver that is unavailable for a while does not lose the event.

Important: Every attempt repeats the same X-FlexiProject-Delivery value, so the receiver must handle receiving the same event more than once.