External integration through webhooks
Follow these steps to set up webhook subscriptions on the WeSolve platform. This feature allows you to receive real-time notifications of events within the platform directly to your specified endpoint.
Creating a Webook Subscription
-
Login as Admin
Begin by logging into the WeSolve platform with your admin credentials.
-
Navigate to Webhook Subscriptions
Once logged in, go to the
Administration
section, and then selectWebhook Subscriptions
from the menu. -
Add New Webhook Subscription
In the top right corner of the Webhook Subscriptions page, click the
Add new webhook subscription
button to create a new subscription. -
Specify the Webhook Endpoint
Enter the URL of the webhook endpoint where you want to receive notifications.
-
Select Webhook Events
In the
Webhook Events
section, choose the specific events you wish to subscribe to. This determines which actions within WeSolve will trigger notifications to your endpoint. -
Specify Additional Webhook Headers
If needed, you can add extra headers to the webhook requests. In the
Additional Webhook Headers
section, specify any optional header keys and values. This is useful for adding authentication tokens or specifying content types. Adding extra headers can be crucial for ensuring the security of the data transmitted to your endpoint and for making sure the data format is recognized by your server. -
Save
After configuring your webhook subscription, click the
save
button to activate it.
Viewing a Webhook Subscription
After adding your webhook, you can view and manage it in the Administration
and Webhook Subscriptions
page. Here, you'll see a list of all configured webhooks.
Clicking on Details
next to any subscription allows you to view its specifics, including all attempts to send data. This includes the type of event, event time, response HTTP code, response data, and the data sent to the endpoint.
This setup ensures you are kept up-to-date with the activities within the WeSolve platform, enabling efficient and responsive management of citizen engagement initiatives.