Your first API call

There is no SDK to install. Create a key in the Manager (Settings → Developers & integrations) and call the API directly over HTTPS.

1. Create an API key

In the Manager, open Manager → Settings → Developers & integrations → API keys → New key. Give it a name and a scope, and optionally an expiry date. The full key is shown once — store it somewhere safe.

2. Call the API

Send the key as a bearer token. Every key starts with wsk_.

bash$
curl https://dineharbor.com/api/v1/branch \
  -H "Authorization: Bearer $DH_API_KEY"

3. Or from JavaScript

ts$
const res = await fetch("https://dineharbor.com/api/v1/branch", {
  headers: { Authorization: `Bearer ${process.env.DH_API_KEY}` },
});

const branch = await res.json();
console.log(branch.name);

What you can call today

Three resources, all read-only: your branch, its members, and its payment providers. See the Authentication page for scopes and the Orders/Menus/Payments pages for what is and isn't available yet.