Mojo UpDocs
API reference

Organisation

GET/platform/v1/organisation

The organisation a device or person belongs to, and its edition. A workbench takes its edition from this answer: an Enterprise organisation is Enterprise, a Cloud team is Teams, a personal Cloud organisation is Free.

Authorization

AuthorizationBearer <token>

A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.

In: header

Header Parameters

X-Aioe-Organisation?string

Mojo Up AI Cloud only, with a person's access token: the id of the organisation the request is for. A person's session is not tied to one organisation, so each request names it. Device tokens already carry their organisation.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/platform/v1/organisation"
{  "edition": "enterprise",  "id": "string",  "name": "string",  "kind": "enterprise",  "plan": "free"}