Stripe

Setup

  1. Go to your Stripe Dashboard
  2. Click “Add Endpoint”
  3. Enter your Unhook URL:
https://unhook.sh/t_123?e=stripe
  1. Select the events you want to receive
  2. Save the endpoint

Local Development

# Start Unhook
unhook listen

# Configure your application
STRIPE_WEBHOOK_URL=https://unhook.sh/t_123?e=stripe

Event Types

Stripe sends webhook events for various actions. Common events include:

  • payment_intent.succeeded
  • customer.subscription.created
  • invoice.paid

GitHub

Setup

  1. Go to your repository settings
  2. Navigate to “Webhooks”
  3. Click “Add webhook”
  4. Enter your Unhook URL:
https://unhook.sh/t_123?e=github
  1. Choose your events
  2. Set content type to application/json
  3. Save the webhook

Local Development

# Start Unhook
unhook listen

# Configure your application
GITHUB_WEBHOOK_URL=https://unhook.sh/t_123?e=github

Event Types

GitHub sends webhook events for repository actions like:

  • push
  • pull_request
  • issues

Clerk

Setup

  1. Go to your Clerk Dashboard
  2. Navigate to “Webhooks”
  3. Click “Add Endpoint”
  4. Enter your Unhook URL:
https://unhook.sh/t_123?e=clerk
  1. Select webhook events
  2. Save the endpoint

Local Development

# Start Unhook
unhook listen

# Configure your application
CLERK_WEBHOOK_URL=https://unhook.sh/t_123?e=clerk

Event Types

Clerk sends webhook events for user actions:

  • user.created
  • user.updated
  • session.created

Slack

Setup

  1. Go to your Slack App Settings
  2. Select your app
  3. Click “Event Subscriptions”
  4. Enter your Unhook URL:
https://unhook.sh/t_123?e=slack
  1. Subscribe to bot events
  2. Save changes

Local Development

# Start Unhook
unhook listen

# Configure your application
SLACK_WEBHOOK_URL=https://unhook.sh/t_123?e=slack

Event Types

Slack sends webhook events for:

  • message.channels
  • app_mention
  • reaction_added

Custom Providers

Generic Setup

For any webhook provider:

  1. Use the Unhook URL format:
https://unhook.sh/t_123?e=YOUR_ENDPOINT
  1. Start Unhook locally:
unhook listen
  1. Configure your application:
WEBHOOK_URL=https://unhook.sh/t_123?e=YOUR_ENDPOINT

Best Practices

  1. Use meaningful endpoint names
  2. Validate webhook signatures when available
  3. Handle retries appropriately
  4. Log webhook events for debugging