Skip to main content
HippoLink

Getting started with the HippoLink API

Get an access token from an API key and make your first calls with curl, against your store's live data.

Last updated 2026-11-30

The HippoLink API lets your own scripts and tools read and manage a store's inventory, locations, orders, repricing, buylist, kiosk, reports and audit history, using an API key instead of a browser sign-in. A nightly export, a stock check that feeds a spreadsheet, or a dashboard on your own server are the usual reasons to reach for it.

This section is for the developer writing that code. If you are the store owner deciding who gets a key and what it can reach, start with Using the HippoLink API and API keys instead.

Hosts and reference

What Production
API https://public-api.hippolink.app
Endpoint reference hippolink.app/docs/api-reference
OpenAPI file, for code generators https://auth.hippolink.app/openapi.json (or openapi.yaml)
Change log https://auth.hippolink.app/CHANGES.md

The endpoint reference lists every operation the API serves, with the scope each one needs, its rate-limit cost and its request and response shapes. It is drawn from the same OpenAPI file that production publishes. Point a code generator or API client at openapi.json. The file is replaced each time HippoLink deploys and can be up to five minutes behind.

Before you write any code

Keep keys on a server. The API sends no CORS headers, so a web page on another site cannot call it from a browser. That is on purpose: a key placed in browser code, a phone app or a public repository can be copied by anyone who looks. Run your calls from a script, a server or a scheduled job, and keep the key in an environment variable or a secrets manager.

There is no sandbox. Every key acts on real stores with real data. An inventory write is pushed to the store's connected marketplaces within minutes, a label purchase spends real postage and a refund returns real money. Start with a read-only key and widen it in steps, as described in API errors, retries and safe writes under "No sandbox: test with a small grant".

The card catalog is not served. Card search and product lookup (/v1/catalog/...) are not part of the API. Inventory responses still name the cards you stock, and the store's SKU lookup finds a card the store has never stocked.

Some areas are not served yet. The API defines a staff area and a billing area, but production doesn't serve either one yet. The key editor only offers the areas production serves.

Get a key

Keys are created in the HippoLink web app, on the My API Keys tab in Settings. The API itself can never create, change or revoke a key. You choose which stores the key can reach and which areas it can read or write on them. The key is shown once, when you create it, so copy it straight into wherever your code will read it from.

If you are a manager or an employee rather than the store owner, the owner first has to turn on the API access switch for you on Settings > Team. Using the HippoLink API and API keys walks through creating a key and choosing its permissions.

Quick start

You need curl and jq. Replace the placeholder with your key, and never paste a real key into a shared document or a support ticket.

export HIPPOLINK_API_KEY='hlak_REPLACE_WITH_YOUR_KEY'
export HIPPOLINK_API='https://public-api.hippolink.app'

# 1. Exchange the key for a one-hour access token.
TOKEN=$(curl -sS -X POST "$HIPPOLINK_API/v1/auth/token" \
  -H "Authorization: Bearer $HIPPOLINK_API_KEY" | jq -r '.access_token')

# 2. Call the API with the token. This lists the stores the key can reach.
curl -sS "$HIPPOLINK_API/v1/users/me" -H "Authorization: Bearer $TOKEN" | jq '.stores'

# 3. Read the first 50 rows of one store's inventory (needs inventory:read on that store).
STORE_UUID='paste-a-store_uuid-from-step-2'
curl -sS "$HIPPOLINK_API/v1/stores/$STORE_UUID/inventory?limit=50" \
  -H "Authorization: Bearer $TOKEN" | jq '.'

If step 1 prints null, run it again without | jq -r '.access_token' to see the error, and look up the code in API errors, retries and safe writes.

Every other call works the same way: exchange the key for a token, then send the token as Authorization: Bearer <token> on each request. A Python client that refreshes its token and backs off on rate limits is in API errors, retries and safe writes.

What a key can never do

These stay in the HippoLink web app:

  • Creating, changing or revoking API keys, so a key can never mint or widen a key.
  • Staff and role changes, the permission matrix, billing and subscription changes.
  • Connecting or disconnecting a marketplace or shipping provider, including OAuth and credentials. The API never reads or writes those secrets.
  • Changing store settings: store details, logos, vacation, currency rates and the shipping provider.
  • Marketplace fee settings, eBay and Whatnot listing settings, and buylist custom domains.
  • Moving a store over from CardChaos. A key can start a CardChaos sync in preview mode, but a cutover answers 403 cardchaos_cutover_web_only.

Some endpoints also need a paid plan, exactly as in the web app. Those answer 402 subscription_required on a store whose plan doesn't include them.