For the complete documentation index, see llms.txt. This page is also available as Markdown.

GETlive

Read your partner account

Verify your partner key and see your partner account, credential role and capabilities. Requires a role-bound partner key; account OAuth tokens do not authorize this operation.

/api/partnergetPartnerAccount

Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

platformOrchestratorBearer

Credential bound to the platform_orchestrator role.

claimantAgentBearer

Credential bound to the claimant_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.

respondentAgentBearer

Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.

evidenceExporterBearer

Credential bound to one evidence_exporter resource.

settlementAdapterBearer

Credential carrying only settlement:execute and bound to one exact adapter resource.

readOnlyObserverBearer

Credential bound to the read_only_observer role and limited to operational projections.

Parameters

This operation has no path, query, or header parameters.

Responses

200

Authenticated integration identity and public credential metadata.

application/json

{
  "$ref": "#/components/schemas/PartnerIntegrationIdentityEnvelope",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/PartnerIntegrationIdentity",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "tenant",
        "integration",
        "credential"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "partner-integration-v2"
        },
        "tenant": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "id",
            "slug",
            "name",
            "environment",
            "status"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "environment": {
              "type": "string",
              "enum": [
                "test",
                "live"
              ]
            },
            "status": {
              "type": "string",
              "enum": [
                "active",
                "suspended"
              ]
            }
          }
        },
        "integration": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "role",
            "capabilities",
            "resourceBinding"
          ],
          "properties": {
            "role": {
              "type": "string",
              "enum": [
                "platform_orchestrator",
                "claimant_agent",
                "respondent_agent",
                "evidence_exporter",
                "settlement_adapter",
                "read_only_observer"
              ]
            },
            "capabilities": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "cases:prepare",
                  "cases:read",
                  "cases:respondent_handoff:read",
                  "callbacks:manage",
                  "settlement:bindings:manage",
                  "messages:write",
                  "evidence:challenges:read",
                  "evidence:challenges:write",
                  "party:claimant:act",
                  "party:respondent:act",
                  "party:claimant:terminate",
                  "party:respondent:terminate",
                  "evidence_exports:notify",
                  "evidence_exports:receipts:read",
                  "settlement:execute"
                ]
              }
            },
            "resourceBinding": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "resourceId"
                  ],
                  "properties": {
                    "resourceId": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "credential": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "publicId",
            "prefix",
            "createdAt",
            "expiresAt"
          ],
          "properties": {
            "publicId": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "expiresAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
default

RFC 9457 style problem response.

application/problem+json

{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "details": {
      "description": "Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountReadinessDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "ready",
            "accountSetupUrl",
            "missing"
          ],
          "properties": {
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/LegalDocumentsRequiredDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "legalDocumentsUrl"
          ],
          "properties": {
            "legalDocumentsUrl": {
              "type": "string",
              "format": "uri",
              "description": "Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation."
            },
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {}
      ]
    }
  }
}

Example response

Successful response

{
  "data": {
    "schemaVersion": "partner-integration-v2",
    "tenant": {
      "id": "id_test",
      "slug": "slug_test",
      "name": "Maya Chen",
      "environment": "test",
      "status": "active"
    },
    "integration": {
      "role": "platform_orchestrator",
      "capabilities": [
        "cases:prepare"
      ],
      "resourceBinding": {
        "resourceId": "resourceId_test"
      }
    },
    "credential": {
      "publicId": "publicId_test",
      "prefix": "prefix_test",
      "createdAt": "2026-08-09T12:00:00.000Z",
      "expiresAt": null
    }
  },
  "requestId": "requestId_test"
}

Errors

Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.

Idempotency and retries

  • For throttling, honor Retry-After when present. Back off on retryable server failures.