Setup webhooks for your application

Learn how to setup webhooks for your application in Developer Portal

Subscribing to Webhooks

To begin using webhooks in Visma Net ERP, we need to create a subscription to webhook events for your application in the Developer Portal. Follow the steps below to get started.

  1. Log in to the Visma Developer Portal

    • Navigate to My Applications.
  2. Find Your Application

    • Locate the application that is integrated with the ERP API.
  3. Create a New Subscription

    • Go to My Subscriptions and click the New Subscription button. New subscription

    • Publisher will list all the API´s in the Developer Portal with webhook support. Choose the correct publisher for your application.
      Select publisher

    • Select the event type you want to subscribe to. Select event type

    • Add the webhook URL, which is the endpoint in your system that will receive the notifications.

    Tip

    When configuring your webhook subscription, avoid selecting a specific tenantID initially. Leaving the tenant field at default ensures your webhook can receive events from all tenants your application has access to. Config

  4. Finalizing Subscription

    • Once you’ve set your webhook URL and left the tenant field as default, click Next to create your subscription and generate your webhook secret. Summary
  5. Storing Your Secret

    • A signature key will be generated. Store this securely in a key vault or an environment variable.
    • You’ll need it to validate messages from the ERP webhook service by hashing the utf-8 message with the HMAC SHA-256 algorithm, and encoding it with base64 to compare with the signature sent in the header. Secret
  6. Tenant Approval

    • Tenants that have granted access to your application need to approve webhook scopes for the subscription to receive webhooks.
    • This can be done by navigating to the Visma App Store and granting permission at the bottom of the application page. App Store

Testing Your Webhook

After setting up your webhook, you can test it´s functionality. In this example we have created a subscription for the event Customer_changed

  1. Make a change on a Customer
    • Update a customer’s name in the system.
Important

Ensure the webhook notification checkbox is selected in the UI. Visma Net

  1. Verify the Webhook Trigger
    • Once the change is made, the webhook is triggered and the data is sent to Webhook.site.
    • The webhook should capture all relevant information, confirming that the integration works correctly by delivering real-time updates from Visma Net ERP.
    • This confirms that the webhook integration is working correctly, capturing and delivering real-time updates from Visma net ERP to your desired endpoint. Webhook Site
Last modified December 3, 2025