GET
/
api
/
organization
/
current
{
  "id": 1,
  "organizationId": "org_123456",
  "initializedAt": "2024-01-01T00:00:00.000Z",
  "seededAt": "2024-01-01T01:00:00.000Z",
  "builtAt": "2024-01-01T02:00:00.000Z",
  "databaseBatch": "batch_001",
  "metadata": [
    {
      "id": 1,
      "tenantId": 101,
      "name": "Acme Inc.",
      "industry": "Technology",
      "location": "US",
      "baseCurrency": "USD",
      "language": "en-US",
      "timezone": "America/New_York",
      "dateFormat": "MM/DD/YYYY",
      "fiscalYear": "January",
      "taxNumber": "12-3456789",
      "primaryColor": "#4285F4",
      "logoKey": "organizations/acme-logo-123456.png",
      "address": "123 Main St, New York, NY"
    }
  ],
  "isReady": true,
  "isBuildRunning": false,
  "isUpgradeRunning": false
}

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Response

200 - application/json

Returns the current organization

The response is of type object.