Skip to main content

Create Webhook

Currently, Subrite does not support creating or updating webhooks through the user interface. To create a webhook and subscribe to a webhook event, you need to contact [email protected]

Required Information

When requesting Subrite to create a webhook, you need to provide the following details:

  1. Webhook Name

    • A identifiable name for your webhook.
  2. Description (Optional)

    • A brief description of the webhook's purpose.
  3. Endpoint URL

    • The URL where the webhook payload will be sent.
  4. Authentication Method (Optional)

    • The method used for authentication. Currently, only "bearer" is supported.
  5. Bearer Token (Conditionally Required)

    • The token used for authentication if the "bearer" method is selected.
  6. Request Method

    • The HTTP method to be used. Options are:
      • POST
      • GET
      • DELETE
  7. Events

    • The events to which the webhook will subscribe. Currently, "member.deleted", "member.updated", "subscription.created", "subscription.renewed", "member.subscription.activated", "member.subscription.deactivated" events are available.

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 UI

Here is an example of UI after webhook creation:

Webhook Events

Note: You need to collect the secret from subrite to verify the webhook signature