Authentication
Every request carries a bearer token in the Authorization header. There are two kinds, and the API treats them the same way once they arrive.
POST /holygrail.customers.v1.CustomersService/ListCustomers HTTP/1.1
Host: api.buziin.tech
Authorization: Bearer lmo_at_3qT9vXb2…
Content-Type: application/json
{}| API key | OAuth access token | |
|---|---|---|
| Looks like | hg_… | lmo_at_… |
| For | Your own business's integrations | Apps that other businesses connect |
| Created by | An owner or admin, on the dashboard's Developers page | The business approving your app on Lumora's consent screen |
| Permissions | A role (admin, manager or staff), optionally some locations only, optionally read-only | The scopes the business approved, such as orders.read |
| Lifetime | Until revoked | 24 hours, renewed with a refresh token |
| Rate limit | 600 requests a minute per key | 600 requests a minute per app, for each business |
API keys
Owners and admins create keys on the Developers page, under API keys, in the dashboard. A key acts like a team member with the role you give it: a staff key restricted to one location sees only that location. A read-only key can call only methods whose names start with Get, List, Export, Find or Pull. The key is shown once; Lumora keeps only a hash.
Keys are secrets. Keep them on a server, never in a browser bundle, mobile app or public repository. If one leaks, revoke it in the dashboard: it stops working immediately.
OAuth access tokens
When you build for many businesses, each one connects your app and you receive an access token and a refresh token for that business. The token can call only what its scopes allow. See OAuth apps for the flow and Scopes for the list.
What neither can do
Keys and tokens can't manage people, sessions or developer settings, can't create other keys, and can't send push notifications to staff phones. Those stay with a signed-in owner or admin. Every change made with a key or a token appears in the business's audit log under its name, such as "Acme Books (app connected by Amina Mushi)".