Back

HTTP APIs

RESTful APIs via HTTP endpoints

With HTTP Actions, you can define a public HTTP API for your Convex data. Use the built-in HTTP router to specify the endpoints you need, and use HTTP action functions to manipulate the request and response directly, and/or invoke your project's queries, mutations, and actions as required. HTTP Actions make it easy to secure your API against CORS and make sure only authorized users can access sensitive data.