List sites

GET /api/v1/sites read:inventory

The warehouses taking packages right now, each by the code you pass as site when you announce a package (POST /inbound-shipments). Only these are accepted: a warehouse can stop receiving packages (it still holds and ships your cards), and it drops off this list when it does. Today that is oregon-1 only. Read this list rather than hard-coding it, and announce each box to the site its label is addressed to. Your account manager gives you each site’s shipping address; this list names the sites, it does not replace that.

Try it GET /api/v1/sites
response

Not run yet. Press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).

curl (tracks the inputs above)
curl -X GET 'https://service.rip.fun/api/v1/sites' \
  -H 'X-API-Key: rip_…'

Response fields (data)

FieldDescription
sites[].code / namee.g. { code: "oregon-1", name: "Oregon" }

Errors

StatusCodeWhen
403Tenant API key requiredkey is not tenant-scoped, or lacks read:inventory

See Errors for the response envelope and the full code list.