convex-http-actions

Create and manage HTTP endpoints and webhook handlers in Convex.

Updated Aug 30, 2025
One-click install
npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-http-actions-kristofferaas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-http-actions
Source: https://github.com/kristofferaas/deep-stortinget/tree/main/.agents/skills/convex-http-actions
Command: npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-http-actions-kristofferaas

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables developers to create custom HTTP endpoints within Convex applications, facilitating seamless integration with external services and handling real-time data through webhooks.

Core Features & Use Cases

  • HTTP Endpoint Creation: Define custom API routes for GET, POST, PUT, DELETE, and OPTIONS requests.
  • Webhook Handling: Securely receive and process incoming webhooks from third-party services like Stripe and GitHub.
  • API Integration: Build bridges to external APIs, enabling your Convex app to interact with other services.
  • Authentication: Implement API key and bearer token authentication for secure access.
  • File Uploads & Downloads: Handle binary data uploads and serve files for download.

Quick Start

Use the convex-http-actions skill to create a GET endpoint at the path '/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?

To create custom HTTP endpoints in Convex, use serverless functions to define routes for GET, POST, PUT, DELETE, and OPTIONS requests, enabling seamless external API integration and real-time data handling.

How do I securely handle incoming webhooks from Stripe or GitHub in a serverless backend?

Handle incoming webhooks securely by configuring HTTP endpoints within the Convex framework to receive requests and applying signature validation to verify the authenticity of incoming third-party service payloads.

Can I implement API key and bearer token authentication for my webhook handlers?

Yes, you can implement API key and bearer token authentication within your Convex HTTP endpoints to ensure secure access and protect your custom backend API routes from unauthorized requests.

What is the best way to configure CORS for serverless API routes?

Configure CORS by manipulating the request and response objects within your Convex HTTP endpoints, ensuring your serverless API routes can securely serve cross-origin requests to external web applications.

Does Convex support handling binary data uploads and file downloads through HTTP actions?

Yes, Convex HTTP actions support handling binary data uploads and serving files for download, allowing you to process and manage non-text payloads directly within your custom serverless API endpoints.