convex-http-actions

Create and manage HTTP endpoints in Convex applications for webhooks and APIs.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/pratikpakhale/convex-next-starter --skill convex-http-actions-pratikpakhale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/pratikpakhale/convex-next-starter/tree/main/.agent/skills/convex/modules/convex-http-actions
Command: npx skills add https://github.com/pratikpakhale/convex-next-starter --skill convex-http-actions-pratikpakhale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to create custom HTTP endpoints within their Convex applications, facilitating seamless integration with external services and enabling webhook handling.

Core Features & Use Cases

  • Custom API Routes: Define GET, POST, PUT, DELETE endpoints for your Convex backend.
  • Webhook Handling: Securely receive and process incoming webhooks from third-party services like Stripe or GitHub.
  • Authentication: Implement API key or token-based authentication for protected endpoints.
  • Use Case: Set up a webhook endpoint to receive notifications from a payment gateway and update your database accordingly, or create a public API to expose specific data from your Convex application.

Quick Start

Use the convex-http-actions skill to create a simple GET endpoint at /health that returns a JSON response with a status: ok.

Frequently Asked Questions about convex-http-actions

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

FAQPage Schema
How do I create HTTP endpoints in Convex for external API integrations?

You create HTTP endpoints in Convex by defining custom routes for GET, POST, PUT, and DELETE requests. These endpoints handle request and response bodies, integrate with serverless functions, and persist data using Convex data models.

Can I use Convex HTTP endpoints to receive and process incoming webhooks?

Yes, Convex HTTP endpoints securely receive and process incoming webhooks from third-party services. They support validating webhook signatures to ensure requests from providers like Stripe or GitHub are authentic before updating your database.

How do I configure CORS and authentication for Convex HTTP endpoints?

Configuring CORS and authentication for Convex HTTP endpoints involves implementing API key or token-based validation within your route handlers. This protects your endpoints and ensures only authorized external services can access your API.

Does Convex support building public APIs to expose specific application data?

Yes, Convex supports building public APIs by defining custom HTTP routes that expose specific data from your application. These endpoints process requests dynamically using Convex serverless functions and data models to generate responses.

What are the limitations of using HTTP actions in Convex for backend routing?

HTTP actions in Convex route external requests to serverless functions and handle webhook signatures. They are designed for external API integrations and data persistence, with limitations based on serverless function execution constraints and data model structures.