All API requests require a Bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.tryhoard.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Getting your API key
- Go to Settings > Account
- Your API key is displayed under the Account tab (any paid plan)
- Click “Reveal” to see it, “Copy” to copy it
Using the API key
Include it in every request:Examples
curl
Python
Node.js
Security
- Your API key is unique to your account
- It provides full access to your sync data (inventory, orders, sales)
- Never share it or commit it to version control
- Store it in your
.envfile, not in workflow YAML or scripts - If compromised, contact support@tryhoard.com to rotate it
Error responses
401 — Invalid or missing API key
code: "unauthorized" field is machine-readable. Check for it programmatically to distinguish authentication failures from other errors.