YeetCode
Guides

Public API Endpoints

Create public HTTP API endpoints for your app to consume.

Create HTTP endpoints in Convex that your frontend or external services can call.

What You'll Do

  • Add a new route to the HTTP router in http.ts
  • Write an HTTP action handler
  • Return JSON responses
  • Handle errors and validation

On this page