Webhook

Webhook Integration

Send articles to any webhook URL, including Zapier, Make.com, or your custom endpoints for maximum flexibility.

Overview

The webhook integration allows you to send articles to any HTTP endpoint. This makes Casper compatible with thousands of apps through automation platforms like Zapier and Make.com, or you can send articles directly to your own custom API.

Use Cases: Connect to Zapier/Make.com workflows, send to custom APIs, integrate with internal tools, or trigger custom automation.

Setup Instructions

Step 1: Get Your Webhook URL

Depending on your use case:

  • Zapier/Make.com: Create a new webhook trigger and copy the webhook URL
  • Custom API: Use your API endpoint URL (e.g., https://api.example.com/articles)
  • Other tools: Check your tool's documentation for webhook URL setup

Step 2: Connect in Casper

  1. Go to Settings → Integrations in your Casper dashboard
  2. Click Connect next to Webhook
  3. Enter your webhook URL
  4. Optionally add custom headers (for authentication, etc.)
  5. Click Test Connection to send a test payload
  6. Click Save to complete the connection

Step 3: Configure Payload Format

Casper sends articles as JSON payloads. The default format includes:

  • Title
  • Content (HTML or Markdown)
  • Slug
  • Meta description
  • Featured image URL
  • Tags/categories
  • Custom metadata

You can customize the payload structure if your endpoint requires a specific format.

How to Use

Publishing Articles

When publishing an article, select Webhook from your connected platforms. Casper will send a POST request to your webhook URL with the article data in JSON format. Your webhook endpoint can then process the data however you need.

Using with Zapier

To connect via Zapier:

  1. Create a new Zap in Zapier
  2. Add "Webhooks by Zapier" as the trigger
  3. Choose "Catch Hook" and copy the webhook URL
  4. Add this URL to Casper's webhook integration
  5. Configure your Zap to process the article data

Using with Make.com

To connect via Make.com:

  1. Create a new scenario in Make.com
  2. Add "Webhooks" → "Custom webhook" as the trigger
  3. Copy the webhook URL
  4. Add this URL to Casper's webhook integration
  5. Build your automation workflow

Troubleshooting

Connection Failed

If the test connection fails:

  • Verify your webhook URL is correct and accessible
  • Check that your endpoint accepts POST requests
  • Ensure any required authentication headers are configured
  • Check your endpoint's logs for error messages

Payload Format Issues

If your endpoint isn't receiving data correctly:

  • Check the webhook payload format matches what your endpoint expects
  • Use custom headers if your endpoint requires specific authentication
  • Test your endpoint with a tool like Postman first
  • Check Casper's webhook logs for delivery status

Common Questions

Can I add authentication headers?

Yes! When setting up the webhook, you can add custom headers for authentication, API keys, or any other required headers.

What HTTP method does Casper use?

Casper sends POST requests with JSON payloads. Your endpoint should be configured to accept POST requests.

Can I connect multiple webhooks?

Each organization represents one website and can only have one integration connected. If you want to use multiple webhook endpoints, create separate organizations for each one. Each organization has its own settings, integrations, and content.

Related Topics