Skip to content

GET /v1/auth/organizations/{orgId}/connection-status

Requires current human organization membership. Synchronization status does not attest SSO configuration or completed authorization.

photon.auth.getOrganizationConnectionStatus(input: GetOrganizationConnectionStatusInput, options?: RequestOptions): Promise<GetOrganizationConnectionStatusOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.auth.getOrganizationConnectionStatus({
  path: {
    orgId: "orgId",
  },
});
{
  "membership": {
    "errorCode": null,
    "retryAt": null,
    "status": "pending"
  },
  "organization": {
    "errorCode": null,
    "status": "pending"
  },
  "organizationId": "string",
  "synchronized": true
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

orgIdstringrequired

Returns

200 Organization mapping and current member synchronization. OrganizationConnectionStatus

Headers: Photon-Version. The raw response carries these headers; see Raw responses.

membershipOrganizationConnectionStatusMembershiprequired
organizationOrganizationConnectionStatusOrganizationrequired
organizationIdstringrequired
synchronizedbooleanrequired