convex-http-actions

Build HTTP endpoints and webhook handling for Convex applications.

1|1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/mauricioacp/tanstack-convex-better-auth-template --skill convex-http-actions-mauricioacp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/mauricioacp/tanstack-convex-better-auth-template/tree/main/.agents/skills/convex-http-actions
Command: npx skills add https://github.com/mauricioacp/tanstack-convex-better-auth-template --skill convex-http-actions-mauricioacp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex applications require exposed HTTP endpoints, webhook handlers, and secure external API integrations. This skill provides a structured approach to building, routing, and securing HTTP actions within Convex projects.

Core Features & Use Cases

  • Define HTTP routes with httpRouter and httpAction to handle GET, POST, and custom methods
  • Implement webhook handling, authentication, CORS, and path-based routing for external services
  • Use cases include processing webhooks, creating API gateways, and integrating third-party APIs with Convex backends

Quick Start

Create an HTTP router with httpRouter(), define routes as shown in examples, and wire up httpAction handlers to start processing webhooks and API requests.

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 and webhooks in a Convex application?

HTTP endpoints in Convex are defined using the httpRouter and httpAction handlers to process external API requests. You configure routes for GET, POST, and custom methods to handle webhooks and external integrations.

What is the best way to handle webhook signature verification in Convex?

Webhook handling in Convex uses httpAction handlers to process incoming requests and verify signatures. This approach secures external API integrations by validating payloads before processing them.

Can I configure CORS and authentication for API routes in Convex?

CORS and authentication can be configured within Convex HTTP actions. The httpRouter enables path-based routing to implement authentication checks and CORS headers for secure external web service integrations.

Does Convex support creating API gateways and third-party API integrations?

Convex supports creating API gateways and integrating third-party APIs through its HTTP routing system. You use httpAction handlers to define custom routes that interact with external services and process data.

How does path-based routing work for HTTP actions in Convex projects?

Path-based routing in Convex is managed through the httpRouter, directing incoming HTTP requests to specific httpAction handlers. This mechanism maps distinct URL paths to individual webhook or API processing logic.