Organizations

Get active organization

Changed on

Returns the active organization from the current session, including its owner, the current member record, and their team memberships.

get/v1/org

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Response

Organization context returned successfully.

OrganizationContextResponse required
organization, object required
currentMember, object required
currentMemberTeams, object[] required
capabilities, object required
features, object required

Effective on/off for every OpenWork feature in this organization, plus fixed deprecated client compatibility values. Treat a missing key as off.

canManageDeploymentServices, boolean required

Whether this caller may open installation diagnostics: a self-hosted installation administrator (local allowlist), signed in or using an API key they own. Organization ownership and permissions never grant it. False on hosted deployments and when the lookup fails.

deploymentCapabilities, object required
entitlements, object required

Changes

    • info

      added the optional property features/activationLocalSetup to the response with the status

    • info

      added the optional property features/automationArchiveRestore to the response with the status

    • info

      added the optional property features/automationFailureNotifications to the response with the status

    18 more changes in this revision