Skip to main content
If you’re not looking to build API reference documentation, you can delete this section by removing the api-reference folder.

Welcome

There are two ways to build API documentation: OpenAPI and MDX components. For the starter kit, we are using the following OpenAPI specification.

Plant Store Endpoints

View the OpenAPI specification file

Authentication

All endpoints require a Bearer token. Include your API key in the Authorization header for every request:
Authorization: Bearer YOUR_API_KEY
If the token is missing or invalid, the API returns 401 Unauthorized. This requirement is defined in the OpenAPI spec and automatically applied to the documented endpoints:
"security": [
  {
    "bearerAuth": []
  }
]