convex-http-actions

Build HTTP endpoints for webhooks and custom routes in Convex applications.

33|2|Updated Feb 21, 2025
One-click install
npx skills add https://github.com/yspreen/dotfiles --skill convex-http-actions-yspreen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/yspreen/dotfiles/tree/main/.agents/skills/convex-http-actions
Command: npx skills add https://github.com/yspreen/dotfiles --skill convex-http-actions-yspreen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex applications often need to expose HTTP endpoints for webhooks, external API integrations, and custom routes, enabling seamless, event-driven interactions.

Core Features & Use Cases

  • Endpoint routing and request/response handling for HTTP actions
  • Webhook verification, authentication, and CORS configuration
  • Examples include Stripe webhooks, GitHub events, and custom API routes

Quick Start

Create a new Convex HTTP endpoint at /health that returns a JSON status payload.

Frequently Asked Questions about convex-http-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up HTTP endpoints for webhooks in Convex?

You configure HTTP actions to define custom routes that receive external requests, process payloads, and return responses, enabling event-driven webhook integrations in your Convex application.

Can I configure CORS for custom API routes in Convex?

Yes, you can configure CORS within Convex HTTP actions to manage cross-origin requests, ensuring secure communication between external client applications and your custom API routes.

How do I handle Stripe webhook signature validation in Convex?

You validate Stripe webhook signatures by creating an HTTP action endpoint that verifies incoming event payloads against your Stripe webhook secret before processing the request data.

Does Convex support external API integrations using HTTP actions?

Yes, Convex supports external API integrations through HTTP actions, allowing you to define custom routes that receive external requests and handle data syncing or event-driven triggers.

What is the best way to expose a health check endpoint in a Convex application?

The best way to expose a health check endpoint in Convex is to create an HTTP action mapped to a custom route like /health that returns a JSON status payload, confirming the application is running.