Skip to main content

Webhook & Websocket Integration

Power your integrations with real-time data processing using webhook and websocket. Whether you're receiving events from external systems or delivering them instantly to clients, webhook and websocket support reliable real-time communication.

What are Webhooks and Websockets?

  • Webhook: A webhook is a user-defined HTTP callback. It is triggered by an event in a source system and sends real-time data to a specified URL via an HTTP POST request. Webhooks are one-way communication, ideal for pushing data when an event happens.

  • Websocket: A websocket is a full-duplex communication protocol that allows continuous, real-time data transfer between the client and server. Once connected, data can be pushed to the client instantly without repeated polling.


Webhook

TheWebhook webhookenables isexternal usedapplications to sendpush real-time data to theyour websocketsystem, connectedallowing client.for Thisinstant canevent behandling configuredand within the eZintegrations platform.integration.

To test the webhook URL in eZintegrations, enter the following in your request setup:

Webhook Endpoint

Method:

POST

URL:

https://{{BaseUrl}}/api/webhook?client_id={{client_id}}

Header:

client-secret = {{client-secret}}

Note: You can retrieve your client_id and client-secret from your eZintegrations profile.

Payload Format:

Here’s an example payload that can be posted to the webhook

{
  "userName": "mark_wilson",
  "userEmail": "mark@example.com",
  "subscriptionPlan": "Premium",
  "accountStatus": "Active",
  "signupDate": "2025-04-16",
  "lastLogin": "2025-04-15"
}

Note: Payload should be sent in JSON format.

Once this data is sent to the webhook, it will immediately be received by the websocket client.

Websocket

OurWebsocket websocketenables allowsreal-time youcommunication by allowing clients to receive real-timelive notificationsdata fromupdates webhookinstantly, eventswithout configuredthe withinneed eZintegrations.for repeated requests

Websocket Endpoint

To test the websocket URL in eZintegrations, enter the following in your request setup:

URL:

wss://{{BaseUrl}}/api/ws?client_id={{client_id}}

Header:

client-secret = {{client-secret}}

Message:

{
  "eventType": "broadcast_notification",
  "fromClientId": "admin_client",
  "message": "System maintenance is scheduled at 01:00 AM UTC",
  "priority": "high",
  "timestamp": "2025-04-16T13:00:00Z"
}

Note: Payload should be sent in JSON format.

Once connected, any data sent to the webhook will be instantly pushed to this websocket connection.

Note: You can retrieve your client_id and client-secret from your eZintegrations profile.


For BaseUrl, and any support related to client_id, or client-secret required for webhook and websocket configuration, please reach out to our support team:

Email:  mailto:support@bizdata360.com