HTTP reference
Every endpoint on the platform — identity provider, admin API, application API and webhooks — on one page.
Paths are relative to the base URL above each table. Every route answers the same two bodies: { success: true, data } on a 2xx, and { success: false, error: { code, message } } on a failure. The OpenID Connect endpoints answer the RFC 6749 shape instead. Both are described in Errors, retries and idempotency, and every object named below has its fields on Objects and payloads.
Identity provider
Base: https://apps-api.versified.com.gh/oidc
GET /.well-known/openid-configuration- PurposeProvider metadata: endpoints, algorithms, supported scopes
GET|POST /auth- PurposeAuthorization endpoint — code flow with a required PKCE challenge
POST /token- PurposeCode exchange, rotating refresh, and
client_credentials GET /jwks- PurposePublic signing keys (RS256)
GET|POST /session/end- PurposeRP-initiated logout
POST /token/revocation- PurposeRFC 7009 token revocation
Admin API
Base: https://apps-api.versified.com.gh/appcenter/v3/admin. All writes are audited and require an admin bearer token with the matching privilege.
GET|POST /apps- PurposeSearch and page the catalog (
q,status,page,pageSize), or create an application GET|PATCH /apps/:appId- PurposeRead one application with its clients, or edit it.
PATCHneeds the current version POST /apps/:appId/archive|restore- PurposeHide or restore a listing without deleting anything
GET /apps/:appId/subscribers- PurposeThe people subscribed to one application, searchable and paged
GET|POST /apps/:appId/plans- PurposeList or create plans
PATCH /apps/:appId/plans/:planId- PurposeUpdate a plan. A code is immutable; a price change never reprices a live checkout
POST …/plans/:planId/archive|restore- PurposeRetire or restore a plan, keeping its history
GET|POST /apps/:appId/oauth-clients- PurposeList clients, or register one. The secret is returned once
GET|PATCH /apps/:appId/oauth-clients/:clientId- PurposeRead one client, or merge name, redirect URIs, resources, the trusted flag or the logout scope
POST …/oauth-clients/:clientId/assign- PurposeAttach a legacy client with no application — the only write it allows
POST …/oauth-clients/:clientId/credentials/rotate- PurposeIssue a new secret; the previous one stops working immediately
POST …/oauth-clients/:clientId/activate|deactivate- PurposeStop or resume a client without deleting its row
GET /oauth-clients- PurposeCross-application client inventory, including unassigned legacy rows
GET /oauth-options- PurposeProfiles, grants, scopes, resources and URI limits — the client form's source of truth
GET|POST /apps/:appId/webhooks- PurposeList receivers, or register one. The registration carries no credential
GET|PATCH|DELETE /apps/:appId/webhooks/:webhookId- PurposeRead, update or remove a receiver.
PATCHandDELETEneed the current version POST …/webhooks/:webhookId/test- PurposeQueue a
pingdelivery to that receiver GET …/webhooks/:webhookId/deliveries- PurposeDelivery log, newest first, cursor-paged
POST /apps/:appId/webhooks/deliveries/:deliveryId/redeliver- PurposeReplay one payload as a brand-new delivery
GET /apps/:appId/capabilities- PurposeEvery platform capability, declared or not
PUT /apps/:appId/capabilities/:capability- PurposeDeclare or edit the endpoint that answers a capability
POST /apps/:appId/capabilities/:capability/test- PurposeCall it for one real user and record the outcome
Public catalog
Base: https://apps-api.versified.com.gh/appcenter/v3/catalog. Requires a signed-in person's access token — no admin privilege — because this is the catalog a signed-in customer browses, not an operator surface.
GET /apps- ReturnsEvery published application with its active plans, ordered for the grid. Drafts and archived rows stay in the admin reads
GET /apps/presentation?shortCodes=RETILL,ONEKITCHEN- ReturnsPresentation only — category, imagery, launch URLs — for published and archived applications
`/system/*` is a deprecation shim
GET /system/getSystemApps and GET /system/getAppPresentation still answer, with a Deprecation: true header, so shipped mobile builds keep working. They are not part of the contract and go away in the next release.
Application API
Base: https://apps-api.versified.com.gh/appcenter/v3/app. appcenter:service tokens only. No endpoint takes an application id — the client on the token decides which application is served.
GET /me- ReturnsThe application this client is bound to, plus its client id
GET /users/:userUuid- ReturnsOne person, their business profile, and their subscriptions to your application
GET /users?email=|emails=|uuids=- ReturnsExactly one selector.
emailis a substring search;emails/uuidsare exact batches of up to 100 GET /businesses/:accountUuid- ReturnsThe public business profile for an account owner
GET /businesses/:accountUuid/logo- ReturnsThe logo as a base64 data URL
GET /subscriptions/:accountUuid- ReturnsPlan identity for your application only
Webhooks
Also under /appcenter/v3/app, scoped to your own application. Cap: 10 registrations per application.
GET /webhooks- PurposeList registrations. No credential is stored to return
POST /webhooks- PurposeRegister one. The receiver verifies a short-lived token instead of a secret
GET|PATCH|DELETE /webhooks/:webhookId- PurposeRead, update or remove one.
PATCHneeds the current version POST /webhooks/:webhookId/test- PurposeQueue a ping delivery
GET /webhooks/:webhookId/deliveries- PurposeDelivery log: status, attempts, response status, truncated body
POST /webhooks/deliveries/:deliveryId/redeliver- PurposeReplay one payload as a brand-new delivery
Identity and integration settings
- Issuer
- Value
https://apps-api.versified.com.gh/oidc - Client id
- ValueThe id you registered, e.g.
ledgerly-web - Client secret
- ValueConfidential profiles only. Native apps use
public_pkceand store nothing - Audience
- Value
urn:versified:api:appcenter·retill·onekitchen - Callback URL
- ValueExactly as registered — scheme, host, port and path
- Session storage
- ValueServer-side store or device vault. Never a readable browser cookie
A complete discovery call
curl https://apps-api.versified.com.gh/oidc/.well-known/openid-configuration
# {
# "issuer": "https://apps-api.versified.com.gh/oidc",
# "authorization_endpoint": ".../oidc/auth",
# "token_endpoint": ".../oidc/token",
# "jwks_uri": ".../oidc/jwks",
# "end_session_endpoint": ".../oidc/session/end",
# "revocation_endpoint": ".../oidc/token/revocation"
# }If this page and discovery disagree
The discovery document wins. It is generated by the running provider; this page is a written summary of it.
Something here out of date or unclear?
The platform team answers integration questions directly.
