pos_... prefix and are accepted in the Authorization header alongside API keys.
This flow is API-only today - there is no dashboard UI for registering apps. Use the endpoints below directly.
Registering an app
Create an OAuth app for your organization to receive a client id and secret:POST /user/oauth-app- create an app; returns apca_...client id and apcs_...client secret (shown once, stored encrypted).- Rotate the secret with the app’s rotate-secret endpoint if it is ever exposed.
DELETE /user/oauth-app/:id- delete an app.
Authorization flow
- Send the user to the authorization endpoint with your client id and a
redirect_uri; PostSider validates the redirect URI against the registered app. - The user approves the request.
- Exchange the returned code for a token at
POST /oauth/token, which mints apos_...bearer token. - Use the token as the
Authorizationheader on/public/v1requests (noBearerprefix).
Revoking access
Users can list and revoke approved applications from their account (approved-apps endpoints). Revoking invalidates the associated tokens. Treat pos_ tokens like API keys: they grant access to the organization’s public API surface until revoked.
