Webhooks form the backbone of modern API development, allowing you to monitor changes in our systems and trigger actions in external applications, such as sending text messages or updating payment statuses. Zuper provides built-in webhook support, enabling users to register an HTTP/HTTPS URL that activates when an event occurs within Zuper.

With options to create, update, and delete webhooks, the system eliminates the need for periodic API calls and ensures that new updates are seamlessly integrated into the webhook.

Navigation: Settings -> Developer Hub -> Webhooks

  1. From the settings, select “Developer Hub,” choose “Webhooks,” and click “+New Webhook.”

  1. Create a new webhook by filling in the following details:
  • Webhook Name (Mandatory) - Enter the unique name for the webhook. 
  • Module (Mandatory) - Choose the applicable module. 
  • Webhook Event (Mandatory) - Choose the applicable webhook’s event. 
  • Request Method and Request URL -  Choose the applicable method: POST, GET, PUT, and DELETE. A webhook request URL is the unique URL provided by a service or application that allows another application to send data directly to it.
  • Headers - Add the key and the respective values. 

Click “Create” to add the new webhook. 

  1. The new webhook secret key is generated successfully.

  1. Click icon to Edit Webhook, Copy Webhook URL, and Activate/Deactivate Webhook.

  1. Click “Webhook History” to view the list of webhook executions.

Best Practices

  • Ensure your Request URL is publicly accessible and can handle the specified HTTP method.
  • Use headers to include authentication tokens or other metadata as needed.
  • Test your webhook configuration to confirm it receives events correctly.

Leveraging Zuper API Keys effectively strengthens the security and efficiency of your integrations. Protect your keys by storing them securely, rotating them regularly, and monitoring their usage to maintain a reliable and safe interaction with the Zuper API.