

POST to your own system each time a chosen event happens, for example when a contact sends a WhatsApp message. This page shows you how to add, test and manage webhook endpoints in the app.
For event types, request bodies, headers and how to verify signatures, see the webhooks reference.
Before you start
- You need the Owner or Admin role. Other roles can see Webhooks in the menu, but the list does not load for them. See Team and roles.
- You need a public URL that accepts
POSTrequests with a JSON body and replies with a2xxstatus within 10 seconds. - Choose a signing secret of at least 8 characters and store it where your handler can read it. Flowella uses it to sign every request and never shows it again after you save it.
Adding a webhook endpoint
1
Open Webhooks
Go to Settings, then select Webhooks in the Developer group. The Outbound webhooks screen opens.
2
Start a new webhook
Select Add webhook. The New webhook dialog opens.
3
Name the endpoint (optional)
In Name (optional), enter up to 80 characters, for example
CRM sync. The name appears above the URL in the list.4
Enter the endpoint URL
In Endpoint URL, enter the full address Flowella should send events to. It must meet the URL rules.
5
Enter your signing secret
In Signing secret, type the secret you chose, between 8 and 512 characters. Flowella does not generate one for you.
6
Choose events
Under Events, tick each event you want to receive. The webhooks reference explains when each one fires.
7
Save
Select Create webhook. The button stays unavailable until you have entered a URL, a secret of at least 8 characters and at least one event. The new webhook appears in the list with the status Active.
URL rules
Flowella checks the URL when you save it and again before each delivery. The URL must:- Start with
https://orhttp://. Plainhttp://works, but the payload then travels unencrypted, so usehttps://outside quick tests. - Contain no user name or password.
- Point to a public address. Flowella refuses
localhost, host names ending in.localhostor.local, andmetadata.google.internal. It also refuses host names that do not resolve. Private, loopback, link-local and unspecified addresses are refused too, whether you enter them directly or a host name points to them. Examples are10.0.0.5,127.0.0.1,169.254.169.254,192.168.1.10and::1. - Be no longer than 2,048 characters.
Webhook URL host is not allowed.
Send a test event
Use a test event to check that your endpoint receives and accepts requests before real events arrive.- In the list, select the … button at the end of the webhook’s row to open its actions menu.
- Select Send test event. A confirmation appears under the webhook’s URL.
- Open Delivery log from the same menu. A
webhook.testrow with the Result OK means your endpoint replied with a2xxstatus.
webhook.test and the data { "test": true, "sentAt": "..." }. Flowella sends it whichever events you ticked, and even when the webhook is inactive. The webhooks reference shows the full body.
Delivery log
Select Delivery log in a webhook’s actions menu to see its last 50 delivery attempts, newest first.
The log in the app does not show response bodies and has no redeliver button. To read the first 1,024 characters of a response body, or to redeliver an event, use the webhook deliveries API.
Retries and back-off
A delivery succeeds when your endpoint replies with a2xx status within 10 seconds. If it does not, Flowella tries again straight away: 3 attempts in total, about 1 second after the first failure and about 2 seconds after the second. After the third failed attempt, Flowella drops that event and does not retry it later.
The flowchart shows what happens to each event and when Flowella turns a webhook off.
When 10 events in a row fail all their attempts, Flowella turns the webhook off and its status changes to Inactive. Every Owner of the organisation gets an in-app notification titled “Outbound webhook disabled”, whatever their notification preferences. Any successful delivery resets the count to zero.
While a webhook is inactive, Flowella does not send it any events and does not keep them to send later. To catch up on events you missed, read the event feed with GET /v1/events, which keeps events for 7 days. See the webhooks reference.
Managing endpoints
Each row’s actions menu has Edit, Send test event, Delivery log and Delete.Edit a webhook
Select Edit to open the Edit webhook dialog. You can change:- Endpoint URL.
- Events. At least one must stay ticked.
- Webhook active. Untick it to stop deliveries for a while. Events that happen while the webhook is inactive are not sent later.
- New signing secret. Leave it blank to keep the current secret. A new secret must be at least 8 characters, otherwise Flowella keeps the current one.
PATCH /v1/webhooks/{id} with a name.
Turn a webhook back on
After Flowella turns a webhook off, fix the problem on your endpoint first. Then:- Select Edit, tick Webhook active and select Save.
- Select Send test event and check that the Delivery log shows OK.
POST /v1/webhooks/{id}/reactivate turns the webhook on and resets the count in one step.
Delete a webhook
Select Delete, then confirm Delete in the Delete webhook? dialog. Flowella removes the endpoint and its delivery history. This cannot be undone.Troubleshooting
The error says Webhook URL host is not allowed
The error says Webhook URL host is not allowed
The URL breaks one of the URL rules. Check that the host name resolves publicly and does not point to a private or local address. To test against your own computer, expose it through a public tunnel and use the tunnel’s address.
The screen says Could not load webhooks
The screen says Could not load webhooks
Only Owners and Admins can view and manage webhooks. Ask an Owner or Admin to set up the webhook for you. Roles can’t be changed in the app: see Change someone’s role.
An event happened but nothing appears in the delivery log
An event happened but nothing appears in the delivery log
Check that the webhook is Active and that the event is ticked under Events. Some events fire only in certain cases: for example, contact events fire only for changes made through the API, and
optout.created doesn’t fire for a contact’s first opt-out on a number at the moment. The webhooks reference lists each case. Some deliveries are skipped without a log entry. This happens to events larger than 256 KB, and to deliveries to a URL that no longer passes the URL rules, for example after a DNS change.Every attempt shows Failed
Every attempt shows Failed
Check the HTTP column. A dash means your endpoint did not answer within 10 seconds or could not be reached. Reply with a
2xx status as soon as you receive the request, then do any slow work in the background.Your handler rejects the signature
Your handler rejects the signature
Compute the signature over the raw request body, before any JSON parsing, using the exact secret you saved. See Verify signatures.
Related
Webhooks reference
Event types, bodies, headers and signature checks.
API keys
Create the key you need to manage webhooks through the API.
Developer hub
Recent API requests, quickstarts and the API sandbox.
Notifications
Where the Outbound webhook disabled alert appears.

