GET /organisation/:id

Get organisation

Fetch the details of an organisation by ID.

Returns your organisation’s metadata. The organisation ID is returned by GET /users/profile in the organisation field (as _id).

Path parameters

ParameterTypeRequiredDescription
idstringyes24-character hexadecimal organisation ID

Example request

GET https://api.auravisionlabs.com/v1/organisation/64a1b2c3d4e5f6a7b8c9d0e2
Authorization: Bearer <your_token>

Example response

{
  "id": "64a1b2c3d4e5f6a7b8c9d0e2",
  "name": "Acme Retail",
  "options": {
    "startOfWeek": "monday"
  },
  "createdAt": "2023-01-01T00:00:00.000Z",
  "updatedAt": "2024-04-14T10:00:00.000Z"
}