convex-http-actions

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

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

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 handling real-time data through webhooks.

Core Features & Use Cases

  • Custom API Endpoints: Define GET, POST, PUT, DELETE routes for your application's backend logic.
  • 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 secure access.
  • Use Case: Set up a webhook endpoint to automatically update your database when a new customer signs up on a third-party platform, or create a public API to serve dynamic data from your Convex backend.

Quick Start

Create a new GET endpoint at /health that returns a JSON response with a status: "ok" field.

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 custom HTTP endpoints in Convex for external API integration?

Custom HTTP endpoints in Convex are created using serverless functions to define routes, handle request methods like GET and POST, and parse JSON or form data bodies. This enables seamless external API integration and webhook reception.

Can I receive and verify webhooks from Stripe or GitHub using Convex?

Yes, Convex HTTP endpoints can securely receive incoming webhooks from third-party services like Stripe or GitHub. The implementation supports parsing request bodies, managing headers, and verifying webhook signatures to safely process real-time data.

How do I set up CORS and authentication for Convex HTTP endpoints?

Convex HTTP endpoints support implementing CORS and managing headers directly within the serverless functions. You can secure access by enforcing API key or token-based authentication before executing backend logic for your custom API routes.

Does Convex support parsing form data and JSON in HTTP request bodies?

Yes, Convex serverless functions handle HTTP requests by parsing various body formats including JSON and form data. This allows your custom endpoints to process diverse incoming payloads from external services and client applications.

What's the best way to expose backend logic as a public API using Convex?

Exposing backend logic as a public API in Convex involves defining custom routes with HTTP endpoints. By utilizing serverless functions, you can map GET, POST, PUT, and DELETE methods to your application's backend logic to serve dynamic data.

Can I automatically update my Convex database when an external webhook is received?

Yes, you can configure an HTTP endpoint in Convex to receive a webhook, verify its signature, and execute a serverless function that automatically updates your database. This is useful for syncing external platform events like new customer signups.