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 Keys

Create and manage API keys for programmatic access to your farm data

admin

API Keys

The API Keys page lets you create long-lived credentials for integrating external systems with Sporeline. It lives at Settings > API Keys.

Role requirements

Managers and Owners (and SuperAdmin) can view, create and revoke API keys. A Manager can revoke any key on the account, including one an Owner made.

How API keys work

API keys authenticate programmatic requests to the Sporeline REST API. Include the key in every request using the Authorization header:

Authorization: ApiKey <your-key>

API keys are scoped to your tenant and carry the same data access as any other authenticated call. They are not associated with a specific user — key-authenticated requests run with the Manager role. A key can’t change settings, set up integrations or manage API keys; those need a person signed in to Sporeline. See Authentication.

Creating a key

You can have up to 10 active keys at a time.

  1. Click Create Key in the top right.
  2. Enter a Key Name — a descriptive label to identify what this key is used for (e.g. Production Integration, ERP Sync).
  3. Optionally set an Expiration Date. Leave blank for a key that never expires.
  4. Click Create Key.

Important: The full API key is displayed once immediately after creation. Copy it and store it somewhere secure — it will not be shown again. Only a short prefix is stored for identification purposes.

Key table columns

ColumnDescription
NameThe descriptive label you gave the key
KeyThe stored prefix of the key (e.g. mt_live_AbCdEfGh...)
StatusActive, Expired, or Revoked
ExpiresExpiration date, or “Never”
CreatedDate the key was created
Last UsedDate the key was last used in a request, or “Never”

Revoking a key

Click the trash icon on any active key row. A confirmation dialog explains that any integrations using the key will lose access. Click Revoke Key to confirm. Requests using the key stop working within five minutes.

Revoked keys cannot be re-activated. If you need to restore access, create a new key.

Security best practices

  • Give each integration its own key so you can revoke one without affecting others.
  • Set expiration dates for keys used in temporary or short-lived integrations.
  • Rotate keys periodically by creating a new key, updating your integration, then revoking the old one.
  • Never commit API keys to version control.

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