Skip to main content
All API requests require a Bearer token in the Authorization header.

Getting your API key

  1. Go to Settings > Account
  2. Your API key is displayed under the Account tab (any paid plan)
  3. 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 .env file, not in workflow YAML or scripts
  • If compromised, contact support@tryhoard.com to rotate it

Error responses

401 — Invalid or missing API key

The code: "unauthorized" field is machine-readable. Check for it programmatically to distinguish authentication failures from other errors.

403 — Account suspended