For developers

Your software, inside every SIDES restaurant

The SIDES Partnerportal API is how partners work with SIDES: list what you built in the SIDES marketplace, ship its versions, answer its reviews and see how it is used. SIDES customers, that is hospitality businesses, install it from there.

POST /v1/oauth/token the first request
curl -X POST https://api.sideslabs.com/v1/oauth/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=password' \
  --data-urlencode "username=$CLIENT_ID" \
  --data-urlencode "password=$CLIENT_SECRET" \
  --data-urlencode 'scope=marketplace.apps'

{ "access_token": "eyJhbGciOi...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "scope": "marketplace.apps" }

The surface

What the API covers

The SIDES Partnerportal API is how you run your partnership with SIDES from your own code. The SIDES Partnerportal itself works through this API. Anything you can do in the portal, your software can do too.

Your apps in the marketplace

Create a listing, add screenshots, maintain versions with their release notes, submit a version for review, and release it as a beta or to every SIDES customer.

Reviews

Read what SIDES customers write about your app and answer them publicly.

Usage

Installations, active customers and API usage, per app.

Your team

Invite team members, give each of them a role (administrator, developer or accounting) and require two-factor sign-in for everyone.

Your subscription

See your tier and what it includes, and request a change.

Working with SIDES

Support requests, feature requests you can vote on, and the changelog as a feed.

The full reference is in the SIDES Partnerportal. Every operation with its parameters, its responses and the scope it takes lives at the API reference, and so does the OpenAPI document itself. Both open once SIDES has approved your partnership. Registration is one step: it registers your company as a partner and creates your first administrator and your subscription together.

Authentication

Two planes, one kind of token

A machine client and a partner user authenticate differently and end up with the same kind of access token, checked by the same middleware. Which one you want depends on whether a person is present.

A server-to-server consumer, such as your CI pushing changelog entries or your backend syncing an app version. The credentials are a client id and a secret SIDES issues; there is no person and no refresh cookie.

POST /v1/oauth/token
grant_type=password
username=$CLIENT_ID
password=$CLIENT_SECRET
scope=publication.changelog:write

The scope you ask for is intersected with what the client is allowed. Asking for more is not an error and does not get you more.

A human signing in to the SIDES Partnerportal. The response carries a short-lived access token and sets a refresh cookie with HttpOnly; Secure; SameSite=Strict. Only this cookie survives a page reload, and it is renewed every time it is used.

POST /v1/auth/sessions
{ "email": "[email protected]",
  "password": "…" }

200 { "access_token": "eyJhbGciOi...",
      "expires_in": 900 }
Set-Cookie: __Host-refresh=…; HttpOnly; Secure; SameSite=Strict

Second factor enabled? The first call answers MFA_REQUIRED and the code goes to /v1/auth/sessions:verify-mfa. It is a separate request on purpose: two calls, two budgets, two ledger rows.

Whichever plane issued it, the token goes in the Authorization header and nowhere else. Never in a query parameter: a URL reaches the access log, the browser history and the referrer header.

GET /v1/system/me
curl https://api.sideslabs.com/v1/system/me \
  -H "Authorization: Bearer $ACCESS_TOKEN"

{ "principal_type": "PARTNER_USER",
  "scopes": ["partner:write", "marketplace.apps:write", …],
  "rate_limit": { "limit_per_second": 10, "remaining_day": 49873 } }

/v1/system/me is the first call when something answers 403: it tells you which scopes the token actually carries. That is usually the whole answer.

Scopes

Four rules. The fourth surprises people.

Every endpoint has one
Default-deny. An endpoint without a scope exists only by an explicit, documented decision: health, the token endpoint and the deliberately public read surfaces. The reference says which for each one.
They nest by domain
marketplace → marketplace.apps → marketplace.apps:write. A parent grants its children, so a token carrying the parent reaches everything below it.
:write implies read
A scope without :write is read-only, and holding the write scope means you do not also have to ask for the read.
A read ancestor grants only read descendants
This is the one worth reading twice. marketplace grants marketplace.apps, but not marketplace.apps:write. A parent grants its children at its own access level, never above it.

Resources

Guides, collections and sample payloads

Rendered from GET /v1/publication/public/developer-resources. Everything here is public. There is more behind a partner sign-in: resources for the audience partner are never in this public list.

Nothing published yet

No public guide or collection has been published so far. There may be partner-only material — that is behind a partner sign-in and is not counted here.

Questions

Before you write any code

Do I need to be a partner before I can look at anything?

Not for this page, the changelog or the blog: they need no account. The API reference and the OpenAPI document are in the SIDES Partnerportal, and both open once SIDES has approved your partnership. You need a partnership to get credentials and to list software in the marketplace.

What happens when the API changes?

Adding a field, an endpoint or an enum value is not a breaking change, and your client is expected to ignore what it does not recognise. Removing, renaming or re-typing one needs a new major version and at least six months of notice, with the sunset date in the changelog and in the X-SIDES-Deprecation header of every affected response.

How hard are the rate limits?

Two budgets, not one: a burst limit per second and a daily budget, both set by the partner tier. Every response carries X-RateLimit-*, and going over answers 429 RATE_LIMITED with a Retry-After you should honour rather than guess at. The tiers say what each level allows.

Is there a sandbox?

Yes. SIDES sets up a developer access for you on its developer instance: a login of your own, apart from any customer's. Your dashboard shows where it stands and lets you give yourself a password once it is ready. Beside it, a partner account on the free tier works against the live API, with your own data. That is enough to build an integration, not to load-test one. Ask the support desk before you point a test suite at it.

Which language and which SDK?

Any, and none. The API is REST over HTTP with JSON bodies and OAuth 2.0 bearer tokens. You need neither an SDK nor a client library. The Postman and Insomnia collections above are generated from the same contract the server enforces.

The first call takes about ten minutes

Registration registers your company as a partner and creates your first administrator and your subscription in one step. The free tier is enough to build against.