Skip to content

Organization ID

Some endpoints are organization-scoped, meaning requests operate within the context of a specific organization instance. One organization instance cannot access data from other organizations. An organization represents an isolated instance of the application with its own data, users, and configuration.

APIs must refer to this concept as “organization ID”. The following terms have historically referred to the same concept and are now deprecated:

  • Tenant
  • Tenant Name
  • Tenant ID
  • App
  • App Name
  • App ID

APIs should not use deprecated terms, and must not introduce any alternate terms for this concept.

When represented in API fields or parameters, APIs must use the standard identifier organizationId, formatted according to each location’s naming convention:

LocationForm
Path parameter{organizationId}
Query parameterorganizationId
JSON fieldorganizationId (or organizationIds for repeated values)
HeaderOrganization-ID (legacy only; see below)

Organization-scoped endpoints are endpoints where each request operates within exactly one organization context. Previously, these were referred to as “tenanted” endpoints.

For organization-scoped endpoints, organization ID must be accepted in exactly one location per request. An endpoint must not define organization ID in more than one location.

New services must not place organization ID in a header. New services should place organization ID in the path as {organizationId}. A non-path location, such as the request body or a query parameter, may be used where it is more appropriate, but must provide justification as per AEP-200.

Existing services that already accept organization ID via a header are not required to migrate immediately, but should plan migration to path-based organization scoping. Until migration is complete, the header must be named Organization-ID.

Non-organization-scoped endpoints are endpoints that do not operate within a single organization context. Previously, these were referred to as “untenanted” or “non-tenanted” endpoints.

When a non-organization-scoped endpoint requires one or more organization IDs, the endpoint must use the standard names (organizationId, organizationIds, etc.) and may place them where best suited to the use case. A header must not be used.

Standardizing on a single term reduces confusion during onboarding, improves searchability across documentation and tooling, and prevents divergence across teams working on the same platform.

Requiring organization ID in exactly one location per request prevents ambiguity and eliminates a class of subtle authorization bugs that arise when two locations carry conflicting values.

Discouraging header usage reflects a gradual migration away from legacy patterns while keeping existing services functional during the transition.

  • 2026-03-11: Initial creation.