Webhooks

Article author
Josh Lopez

Webhooks are a way for Memberstack to send data to your application in real-time based on specific events. Memberstack uses Svix to allow you to customize everything and easily inspect, test, and debug incoming webhooks with the Svix Play webhook tester & debugger.

Opening the Webhooks Page

  1. Go to your Memberstack dashboard.
  2. Click Dev tools on the side menu.
  3. Scroll down to the Webhooks heading and menu.

a-1.png

Endpoints

  • Create and manage endpoints here.

Event Catalog

  • Shows the available event types and payloads.

a-2.png

Logs

  • Displays previous webhooks sent to your endpoints.
  • Click a log event to display the sent payload. You can also see successful and failed webhook attempts.

g-2.gif

Activity

  • Monitor endpoint success by tracking webhook activity over the past six hours.

a-3.png

Adding an Endpoint

Next, create an endpoint and enable a testing environment.

  1. Click the Endpoints menu tab and then click the Add Endpoint button.
  2. Click the use Svix Play link to enable a test environment.

b-1.png

  • The app fills the field with a random endpoint URL. Optionally, add text to the Description field.

b-2.png

  • Scroll down to the Message Filtering heading and select the events to send to the endpoint.

b-3

Adding an Advanced Configuration

Enable this option if you want to set the maximum number requests per second.

  1. Expand the Advanced Configuration folder.
  2. Check the box.
  3. Enter a rate.

b-5

  • Finally, click the Create button at the bottom of the page.

Was this article helpful?

Comments

1 comment

  • Comment author
    Deividas Kovger
    • Edited

    Hello, what would be the steps to verify webhooks in our backend (it's build on PHP, so no Node.js package). The documentation only says:

    You can verify incoming webhooks with the [verifySignature] method.

    Webhook headers contain these:

    Svix-Id    msg_********...

    Svix-Signature v1,******...

    I see the Signing Secret whsec_***  in Dev Tools.

    Thanks!

    0

Please sign in to leave a comment.