Skip to main content
GET
/
app
/
v1
/
organizations
/
{organizationId}
Get Organization
curl --request GET \
  --url https://api.example.com/app/v1/organizations/{organizationId}
Retrieves a specific organization by its ID. The authenticated user must be a member of the organization.

Path Parameters

organizationId
string
required
Organization ID

Response

Returns the Organization object.
{
  "id": "org123",
  "name": "Acme Corp",
  "slug": "acme-corp",
  "description": "Acme Corporation main organization",
  "status": "active",
  "settings": {
    "timezone": "America/New_York",
    "locales": ["en-US", "es-ES"],
    "features": {
      "assetOptimization": true,
      "advancedPermissions": true
    }
  },
  "roles": {
    "role123": "Editor",
    "role456": "Viewer"
  },
  "metadata": {
    "createdBy": "user123",
    "maxProjects": 10
  },
  "subscription": {
    "tierId": "tier_pro",
    "status": "active",
    "currentPeriodStart": "2024-03-01T00:00:00Z",
    "currentPeriodEnd": "2024-04-01T00:00:00Z"
  },
  "createdAt": "2024-01-15T10:00:00Z",
  "updatedAt": "2024-03-20T10:00:00Z"
}

Error Responses

Organization Not Found

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Organization org123 was not found"
  }
}

Code Examples

curl -X GET "https://api.metabind.ai/app/v1/organizations/org123" \
  -H "Authorization: Bearer YOUR_JWT"