Create a webhook
Subrite sets up webhooks for you. Email dev@subrite.no with the webhook name, endpoint URL, authentication, request method and the events to subscribe to.
ArticleView as Markdown
Currently, Subrite does not support creating or updating webhooks through the user interface. To create a webhook and subscribe to a webhook event, contact dev@subrite.no.
Required information#
When requesting Subrite to create a webhook, you need to provide the following details:
- Webhook name: An identifiable name for your webhook.
- Description (optional): A brief description of the webhook's purpose.
- Endpoint URL: The URL where the webhook payload will be sent.
- Authentication method (optional): The method used for authentication. Currently, only "bearer" is supported.
- Bearer token (conditionally required): The token used for authentication if the "bearer" method is selected.
- Request method: The HTTP method to be used. Options are:
POSTGETDELETE
- Events: The events the webhook will subscribe to. Currently, these events are available:
member.deletedmember.updatedsubscription.createdsubscription.renewedmember.subscription.activatedmember.subscription.deactivated
Sample information#
Here is an example of the information you might send to Subrite:
Webhook Name: Member deletion
Description: Webhook to notify when a member is deleted in subrite
Endpoint URL: https://yourapp.com/webhooks/member-deleted
Authentication Method: Bearer
Bearer Token: your-secure-bearer-token
Request Method: POST
Events: [member.deleted]Webhook in the Subrite UI#
Here is an example of the UI after the webhook has been created:

