Skip to content

POST /v1/auth/organizations/{orgId}/connection-sync/retry

Reconciles existing local intent. Takes no body and cannot change membership, roles or authentication policy.

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

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.auth.retryOrganizationConnectionSync({
  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 Current synchronization state after requesting retry. OrganizationConnectionStatus

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

membershipOrganizationConnectionStatusMembershiprequired
organizationOrganizationConnectionStatusOrganizationrequired
organizationIdstringrequired
synchronizedbooleanrequired