About Backend APIs

Backend APIs are built with HTTP endpoints, which are powered by Astro endpoints.

Unlike other backend extensions, HTTP endpoints:

  • Can't be added using npm run generate. Instead, create endpoint files directly in src/pages/api/.
  • Don't appear on the Extensions page in the app dashboard.

Learn how to add HTTP endpoints to your project.

Note: HTTP endpoints replace HTTP functions from the previous Wix CLI for Apps. See the Migration Guide.

Did this help?