convex-http-actions

Define and secure HTTP endpoints for Convex applications.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/althof3/TCG-auction --skill convex-http-actions-althof3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/althof3/TCG-auction/tree/main/.agent/skills/convex-http-actions
Command: npx skills add https://github.com/althof3/TCG-auction --skill convex-http-actions-althof3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex apps often need to securely receive external webhooks and interact with external APIs. This skill provides a structured approach to define HTTP endpoints, route requests, and enforce authentication and CORS to keep your integrations safe and reliable.

Core Features & Use Cases

  • HTTP routing and request handling for Convex endpoints
  • Webhook processing with signature verification
  • API integrations and internal actions/queries
  • Use cases include Stripe, GitHub, Clerk webhooks, and custom endpoints

Quick Start

Create an HTTP route on the Convex httpRouter and implement an httpAction handler to expose your first webhook endpoint.

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 secure HTTP endpoints in Convex for receiving webhooks?

You can receive Stripe webhooks in Convex by defining an HTTP route on the httpRouter and implementing an httpAction handler that parses the request and verifies the Stripe signature for secure processing.

How do I configure CORS for HTTP routes in my Convex application?

Yes, you can integrate Clerk authentication with Convex HTTP endpoints by routing requests through the httpRouter and applying specific authentication pattern checks within your httpAction handler before processing internal mutations.

What is the best way to handle external API integrations and webhooks in Convex?

Convex webhook processing supports path routing, internal mutations and queries, and explicit authentication patterns to ensure external requests from GitHub, Clerk, or custom endpoints are securely handled with robust error checks.

Why do my Convex HTTP actions fail when parsing external requests?

No, Convex HTTP actions do not require external dependencies to secure endpoints; they use the built-in httpRouter with internal mutations, queries, and explicit security checks to verify webhooks and enforce CORS.