SporelineSporeline
Sign InStart free

Getting Started

  • Help Center
  • Getting Started

Operations

  • Dashboard
  • Scan
  • Blocks
  • Batches
  • Recipes

Printing

  • Label Templates

Lab

  • Cultures
  • Cryo Storage
  • Agar Plates
  • Liquid Cultures
  • Trials
  • Strains

Analytics

  • KPIs
  • Data Health
  • AI Insights

Logistics

  • Locations
  • Customers
  • Deliveries

Admin

  • Team
  • Settings
  • Billing
  • API Keys
  • Configuration
  • Enumerables
  • Integrations
  • Notifications
  • Import
  • Brand Profile
  • Products
  • Traceability
  • Compliance
  • Reports
  • Log Transcription
  • Switchboard

Guides

  • Your First Batch
  • Moving Blocks
  • Import from Spreadsheets
  • Lots and Spawn
  • Room Readings
  • The New Sporeline Look
  • Lots on Orders
  • Lot Transactions and Lot Audits
  • The Sterilization Log
  • Reports and Their Numbers
  • Auto-assign Lots and Pick Lists
  • Recipes and Planning a NOC Day
  • Stage Schedules and Due Today
  • Planning
  • Notification Rules
  • QC Checkpoints and Release
  • The Lab: Cultures, Cryo, Plates and Liquid Cultures
  • Traceability and Recall
  • Sporeline: Explore Your Lineage
  • Scanning on the Floor
  • Counts by Scan
  • Shared Handhelds
  • Zebra Handhelds
  • Orders and Packing Slips
  • QuickBooks Customers and Products
  • Accounting Export
  • Site Transfers
  • Raw Materials
  • Optional Features
  • Approve AI Changes
  • Configuration Tabs
  • Harvest Workflow
  • Contamination Alerts and the Weekly Digest
  • Label Printing
  • Team Setup
  • The Free Plan
  • Usage Recording
  • Signing Up and Farmhand on Free
  • Start Your Farm from an AI Assistant
  • Privacy and Your Data
  • Connect an AI Assistant
  • Ask Your Assistant
  • Appearance and Dark Mode
  • API Quickstart
  • Shopify Setup
  • Shopify Troubleshooting
  • Migrate With an AI Assistant
  • Spreadsheet Templates for Importing
  • Photos and Files

API

  • Reference
  • Authentication
  • Rate Limits
  • Error Codes

API Reference

Programmatic access to the Sporeline REST API.

developer

API Reference

The Sporeline REST API gives you programmatic access to blocks, batches, recipes, harvests, deliveries, and more. Use it to push data from external systems, build custom dashboards, or automate routine tasks.

Get started

  • API Quickstart — create a key and make your first call.
  • Managing API Keys — create, rotate, and revoke credentials.

Base URL

All requests go to:

https://9uvbgolte1.execute-api.us-east-1.amazonaws.com/prod

Authentication

Every request must include an Authorization header with your API key, using the ApiKey scheme:

Authorization: ApiKey mt_live_...

API keys are tenant-scoped — they only access data in the tenant that created them — and run with the Manager role. See Authentication.

Rate limits

  • Per address: 300 requests in any 5 minutes from one IP address. Going over returns 403 until the rate drops.
  • API throttle: 25 requests/second with bursts up to 50, shared by every caller. Going over returns 429.
  • There is no monthly request quota on any plan.

See Rate Limits.

Response envelope

Every successful response is wrapped in a data envelope:

{
  "data": { ... }
}

List endpoints paginate with a cursor:

{
  "data": [ ... ],
  "next_token": "01J..."
}

Pass next_token as a query parameter on the next call to continue.

Errors

Errors return a structured envelope:

{
  "error": {
    "code": "BAD_REQUEST",
    "message": "weight_g must be >= 0.01",
    "request_id": "2f1c7d6e-4b0a-4f8e-9d1a-3c5b7e9f0a12",
    "retry": false
  }
}

Errors with retry: true are transient — retry with exponential backoff. Errors with retry: false require correcting the request before trying again. See Error Codes for every status and code.

Endpoints

See the Endpoint Reference for a grouped listing of every REST endpoint available in the API, organized by domain (blocks, batches, lab, logistics, etc.).

Try this on your own farm. Free for up to 100 blocks a month.

Start free

© 2026 Sporeline · Built by a mushroom farmer, for mushroom farmers.

iPhone app on the App StoreWhat's newSupportNeed help? Email chase@sporeline.com