convex-http-actions

Define HTTP endpoints with routing, authentication, and CORS for Convex apps.

1|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Cheggin/request-for-startups --skill convex-http-actions-cheggin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/Cheggin/request-for-startups/tree/main/skills/convex-http-actions
Command: npx skills add https://github.com/Cheggin/request-for-startups --skill convex-http-actions-cheggin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build and expose HTTP endpoints for Convex applications to receive webhooks, integrate external APIs, and create custom routes with built-in auth and CORS support.

Core Features & Use Cases

  • Define HTTP routes (GET/POST/etc) within Convex apps and handle request/response bodies, headers, and URL params.
  • Webhook handling and external API integration with built-in authentication, CORS, and signature verification.
  • Use cases include building API gateways, webhook processors, and small external service proxies for Convex apps.

Quick Start

To start, define an http router with routes in convex/http.ts, add authentication and CORS as shown in the examples, then run your Convex app and test endpoints.

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 in Convex for external API integrations?

To set up HTTP endpoints in Convex, define an HTTP router with routes in convex/http.ts, handle request and response bodies, and configure authentication to integrate external APIs.

Can I configure CORS and webhook signature verification for Convex HTTP routes?

Yes, Convex HTTP routes support built-in CORS configuration and webhook signature verification to securely process incoming webhooks and validate external API requests.

What's the best way to receive webhooks in a Convex application?

The best way to receive webhooks in Convex is to define custom HTTP routes using the HTTP router, applying built-in authentication and signature verification to securely handle incoming payloads.

Does Convex support custom routing across different HTTP methods and content types?

Yes, Convex supports defining custom HTTP routes across various HTTP methods, handling headers, URL parameters, and different content types to create API gateways and service proxies.

How do HTTP endpoints interact with Convex actions, queries, and storage?

HTTP endpoints in Convex integrate directly with actions, queries, and storage, allowing external HTTP requests to trigger internal application logic and manage data seamlessly.

When should I use HTTP actions instead of standard Convex queries and mutations?

Use HTTP actions when you need to expose custom routes for external API integrations, receive webhooks, or build API gateways that require specific HTTP methods, headers, and CORS support.