convex-http-actions

Create HTTP endpoints and webhooks in Convex applications with routing and authentication.

23|5|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/J-StaR-Films-Studios/VibeCode-Protocol-Suite --skill convex-http-actions-j-star-films-studios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/J-StaR-Films-Studios/VibeCode-Protocol-Suite/tree/main/assets/.agent/skills/convex-http-actions
Command: npx skills add https://github.com/J-StaR-Films-Studios/VibeCode-Protocol-Suite --skill convex-http-actions-j-star-films-studios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of building HTTP endpoints and handling webhooks in Convex applications, providing robust features for API integration, authentication, and routing.

Core Features & Use Cases

  • HTTP Endpoint Routing: Define and manage custom routes for APIs and webhooks.
  • Request/Response Handling: Process incoming HTTP requests and construct appropriate responses.
  • Authentication: Secure your endpoints with API keys and Bearer tokens.
  • CORS Configuration: Configure cross-origin resource sharing (CORS) to control how your APIs can be accessed from other domains.
  • Webhook Signature Validation: Validate webhook signatures to ensure they are coming from a trusted source.
  • Use Case: Build a robust API service that accepts webhook notifications and processes them securely and efficiently, without worrying about data integrity and security vulnerabilities.

Quick Start

Set up a simple HTTP GET endpoint in your Convex application with convex setup http /my-endpoint --method GET and configure it with the convex configure /my-endpoint --url http://yourdomain.com/my-endpoint command.

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

To create HTTP endpoints in a Convex application, use the `convex setup http` command to define a route and method, then expose it using `convex configure`. This enables custom webhook integration and request handling.

How does webhook signature validation work in server-side applications?

Webhook signature validation verifies incoming payloads against a cryptographic signature to ensure the request originates from a trusted source. This prevents unauthorized data injection and secures your API endpoints.

Can I configure CORS for HTTP endpoints in my Convex application?

Yes, you can configure cross-origin resource sharing (CORS) for HTTP endpoints in Convex. This controls how your APIs are accessed from different domains, ensuring secure cross-origin requests are permitted.

What authentication mechanisms are supported for securing API endpoints in Convex?

Securing API endpoints in Convex supports API keys and Bearer tokens. These authentication mechanisms restrict access to your HTTP routes, ensuring only authorized clients can process requests.

What is the best way to route API requests and manage responses in Convex?

The best way to route API requests in Convex is by defining custom HTTP routes that process incoming requests and construct appropriate responses. This handles API integration and webhook notifications efficiently.