← All integrations
EWire + Webhooks and API · Automation and your code
Signed webhooks into your own app, and an API to reply.
Built in
Building your own CRM, booking app or help desk? EWire posts each matching event to your endpoint, signed, retried and replayable, and your app replies through the API.
Example: WhatsApp to Webhooks and API
Your customerExample conversation
Today
Can I change my delivery address for tomorrow?9:41
RuleAddress changes
- From a customer
- Has “address”
POST /ewire/eventsFrom EWire · signed
Verify signatureX-EWire-Signature matches
Reply through the APIPOST /v1/messages/text · 200
{
"type": "message.created",
"sender": { "name": "Your customer" },
"message": { "text": "Can I change my delivery address for…" }
}Your app received the signed event and replied.Through a webhook destination. Built in
How it works
- What triggers it
- Any rule.
- What is forwarded
- The event in EWire’s Clean format, or in Whapi-compatible format if you’re moving from Whapi.
- How it connects
- Any HTTPS address. Custom headers and auth are supported.
- What happens there
- Your app does what it likes with it.
- What confirms success
- Delivered when your endpoint answers 2xx.
- When something fails
- EWire retries on errors and timeouts on the same schedule as built-in apps. Every delivery can be replayed from the portal.
Set it up
- In EWire, open Destinations › Add destination › Webhook and enter your address.
- Copy the signing secret EWire shows once and verify the signature in your app.
- Create a channel token under the channel’s API access tab to send replies.
What it does
- Signed, retried, replayable deliveries
- Send messages and replies through the API
- Whapi-compatible format
Good to know
- Private and internal addresses are refused for safety.