---
title: "The organization this request is bound to, and the caller's own identity and rights in it"
method: GET
path: "/organizations/current"
tags: ["organizations"]
---

# The organization this request is bound to, and the caller's own identity and rights in it

`GET /organizations/current`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/organizations/current`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

For a client holding an organization-bound token, which GET /organizations cannot disambiguate for someone in several. Returns the bound organization (id, name, slug, plan, logo, product) and: features (crm, timeTracking, resourceMgmt, each true when the plan or an admin override grants it, as the feature gates decide); scheduleAccess (sprints, scheduleRisk, each { on, trialDays }: on as the feature gates decide; trialDays is the length of the Pro trial a locked control in Onplana Schedule may mention, null when none is offered); grants (timesheetsRead, timesheetsWrite: whether this token itself holds TIMESHEETS_READ and TIMESHEETS_WRITE); timesheetApproval (whether timesheet approval is on); currentUser { id, name, email }; canViewAllProjects (org.project.view.all), canCreateProjects (org.project.create), canManageTags (org.tag.manage) and canManagePortfolios (org.portfolio.manage), resolved from the organization's permission matrix and the caller's live role, as the web app resolves them; portfoliosOnPlan (whether the plan lets GET /api/portfolios answer: the portfolios feature, or a read-only downgrade grace window covering it); approverOf { access, gates, changes, timesheets }: the approval rails the caller decides on (project lead or org Owner/Admin/Manager, designated gate reviewer, CCB member, timesheet approver).

## Headers

- `X-Organization-Id` string, required

## Response `200`

{ id, name, slug, plan, logo, product, features: { crm, timeTracking, resourceMgmt }, scheduleAccess: { sprints: { on, trialDays }, scheduleRisk: { on, trialDays } }, grants: { timesheetsRead, timesheetsWrite }, timesheetApproval, currentUser: { id, name, email }, canViewAllProjects, canCreateProjects, canManageTags, canManagePortfolios, portfoliosOnPlan, approverOf: { access, gates, changes, timesheets } }

## Other responses

- `400`: Validation error
- `401`: Unauthorized - missing or invalid JWT
- `404`: No organization is associated with this request, or it no longer exists

---

[API](https://skmtc.dev/onplana/apis/onplana-api.md) · [All operations](https://skmtc.dev/onplana/apis/onplana-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onplana/apis/onplana-api/revisions/c3d6c89e9dc8?raw)
