API Reference

PORTREX Public API

PORTREX Public API — MF-1 strip (P1 surface). 12-month deprecation guarantee on breaking changes. Full reference: developers.portrex.io

Version
1
Paths
546
Operations
644
Integrations121
Staff77
Projects49
Billing39
Finance38
Untagged30
Partners23
HvacPriceCatalog21
Contracts20
Webhooks20
Leads18
Documents17

Operations

Live OpenAPI Surface

Download spec
MethodPathSummaryOperation IDTags
GET/accounts/{accountId}/lead-assignment-policyGet account lead-assignment fallback policygetLeadAssignmentPolicyAccounts
PATCH/accounts/{accountId}/lead-assignment-policyUpdate account lead-assignment fallback policyupdateLeadAssignmentPolicyAccounts
PATCH/accounts/{accountId}/stage-probabilityReplace the account's per-stage win probabilitiesupdateAccountStageProbabilityAccounts
GET/accounts/public-brandingResolve safe public account branding by hostgetPublicAccountBrandingAccounts
GET/activitiesList activities for an entitylistActivitiesActivities
PUT/activities/calls/{ownerType}/{ownerId}/{callId}Replace the editable details of a call logupdateRecordCallLogActivities
DELETE/activities/calls/{ownerType}/{ownerId}/{callId}Remove a call log from the recordremoveRecordCallLogActivities
POST/affiliate-invitations/opt-outOpt out of partner invitation outreachoptOutOfPartnerInvitationsPartners
GET/affiliate/activityList this partner's activitylistPartnerActivityPartners
POST/affiliate/activity/seenMark this partner user's activity feed as seenmarkPartnerActivitySeenPartners
POST/affiliate/agreement/acceptAccept a partner agreement versionacceptPartnerAgreementPartners
GET/affiliate/dashboardReferral partner dashboard summarygetPartnerDashboardPartners
GET/affiliate/invitationsList this partner's invitationslistPartnerInvitationsPartners
POST/affiliate/invitations/{id}/replaceGenerate a new invitation linkreplacePartnerInvitationPartners
POST/affiliate/invitations/{id}/revokeRevoke an invitationrevokePartnerInvitationPartners
GET/affiliate/meReferral partner session projectiongetPartnerMePartners
GET/affiliate/profileReferral partner profilegetPartnerProfilePartners
PATCH/affiliate/profileUpdate the referral partner profileupdatePartnerProfilePartners
POST/affiliate/profile/avatarUpload the referral partner's photosetPartnerAvatarPartners
DELETE/affiliate/profile/avatarRemove the referral partner's photoclearPartnerAvatarPartners
POST/affiliate/profile/email-changeRequest a partner email changerequestPartnerEmailChangePartners
POST/affiliate/profile/email-change/confirmConfirm a partner email changeconfirmPartnerEmailChangePartners
GET/affiliate/referralsList this partner's referralslistPartnerReferralsPartners
POST/affiliate/referralsRegister one or more referralscreatePartnerReferralsPartners
GET/affiliate/referrals/{id}Read one referralgetPartnerReferralPartners
PATCH/affiliate/referrals/{id}Edit a pending referralupdatePartnerReferralPartners
POST/affiliate/referrals/{id}/invitationsIssue an invitation for a referralissuePartnerInvitationPartners
POST/affiliate/step-up/requestRequest a partner step-up coderequestPartnerStepUpPartners
POST/affiliate/step-up/verifyVerify a partner step-up codeverifyPartnerStepUpPartners
GET/agreementsList agreements (central register, cursor paginated)listAgreementsContracts
GET/agreements/{id}/artifactsRead stored agreement stages and proposal acknowledgment togetherlistAgreementArtifactsAgreements
GET/agreements/{id}/artifacts/{artifactId}/{kind}/downloadDownload stored PDF bytes or decrypt authorized staff evidencedownloadAgreementArtifactAgreements
GET/agreements/{id}/artifacts/{artifactId}/{kind}/previewPreview an authorized stored PDF or completion certificatepreviewAgreementArtifactAgreements
GET/agreements/{id}/pdfLive PDF preview of a saved estimate agreement (POR-2456)previewEstimateAgreementPdfContracts
GET/agreements/contracts/{contractId}/cockpitGet a contract agreement in the Deal Cockpit shape (POR-2437)getContractAgreementCockpitContracts
GET/api-keysList API keys for the current AccountlistApiKeysAPI Keys
POST/api-keysCreate an API key (scope-capped per tier; sensitive scopes forbidden)createApiKeyAPI Keys
PATCH/api-keys/{id}Update mutable API key metadata (`name`, `ip_allowlist`)updateApiKeyAPI Keys
DELETE/api-keys/{id}Revoke an API keyrevokeApiKeyAPI Keys
POST/api-keys/{id}/rotateRotate an API key secretrotateApiKeyAPI Keys
POST/auth/house-handoff/redeemRedeem a one-time house CRM handoff code on the tenant web originredeemHouseCrmHandoffUntagged
GET/auth/meHydrate the current Tenant User / Integration User sessiongetAuthMeAuth
GET/billing/banner-statePast-due / suspended banner state (used site-wide)getBillingBannerStateBilling
POST/billing/cancelCancel the company's Portrex subscription (Owner only)cancelPlatformBillingOnSquareBilling
POST/billing/checkout-sessionCreate Stripe Checkout Session for tier subscription (Owner only)createBillingCheckoutSessionBilling
POST/billing/customer-portalCreate Stripe Customer Portal session (Owner only)createBillingCustomerPortalBilling
GET/billing/invoicesList account invoices (cursor-paginated)listBillingInvoicesBilling
GET/billing/meThe signed-in member's own subscription statusgetMyBillingStatusBilling
POST/billing/me/cancelCancel the member's subscriptioncancelMyBillingSubscriptionBilling
POST/billing/me/checkout-sessionStart a Checkout Session on the tenant's Stripe accountcreateMyBillingCheckoutSessionBilling
POST/billing/me/checkout-syncSettle the Checkout return leg without waiting for a webhooksyncMyBillingCheckoutBilling
GET/billing/me/invoicesThe member's own subscription invoiceslistMyBillingInvoicesBilling
POST/billing/me/payPay the member's open Square invoice with the payer presentpayMyBillingInvoiceOnSquareBilling
PUT/billing/me/payment-methodReplace the card on file of the member's Square subscriptionreplaceMyBillingCardOnSquareBilling
POST/billing/me/portal-sessionOpen the Stripe Billing Portal for the membercreateMyBillingPortalSessionBilling
POST/billing/me/resumeKeep the member's subscription — undo a cancel before the period endresumeMyBillingSubscriptionBilling
POST/billing/me/subscribeSave the member's card on Square and start the subscriptionsubscribeMyBillingOnSquareBilling
GET/billing/member-deadlinesThe member payment deadline cardgetMemberBillingDeadlinesBilling
PUT/billing/member-deadlinesSet, move or clear the company member payment deadlinesetMemberBillingDeadlineBilling
POST/billing/member-remindersSend a payment reminder to one member, one branch, or every unpaid membersendMemberBillingRemindersBilling
GET/billing/membersMember list with the payment deadline, payment group and last reminderlistBillingMembersBilling
POST/billing/payPay the company's open Portrex invoice with the payer present (Owner only)payPlatformBillingInvoiceOnSquareBilling
PUT/billing/payment-methodReplace the card on file of the company's Portrex subscription on Square (Owner only)replacePlatformBillingCardOnSquareBilling
PUT/billing/planSet the seat count of the next period of the company's Portrex subscription (Owner only)changePlatformBillingSeatsBilling
POST/billing/resumeKeep the company's Portrex subscription — undo a cancel before the period end (Owner only)resumePlatformBillingBilling
GET/billing/sub-companiesList sub-company payer obligationslistSubCompanyBillingObligationsBilling
POST/billing/sub-companies/{subAccountId}/cancelCancel a sub-company payer subscription at period endcancelSubCompanyBillingSubscriptionBilling
POST/billing/sub-companies/{subAccountId}/checkout-sessionStart a sub-company payer Checkout SessioncreateSubCompanyBillingCheckoutSessionBilling
POST/billing/sub-companies/{subAccountId}/checkout-syncSync a completed sub-company Checkout SessionsyncSubCompanyBillingCheckoutBilling
PUT/billing/sub-companies/{subAccountId}/deadlineSet or clear the dues date of one sub-companysetSubCompanyDuesDeadlineBilling
POST/billing/sub-companies/{subAccountId}/payPay the open Square dues invoice of a sub-company with the payer presentpaySubCompanyDuesInvoiceOnSquareBilling
PUT/billing/sub-companies/{subAccountId}/payment-methodReplace the card on file of a sub-company's Square duesreplaceSubCompanyDuesCardOnSquareBilling
POST/billing/sub-companies/{subAccountId}/portal-sessionOpen the sub-company payer Billing PortalcreateSubCompanyBillingPortalSessionBilling
POST/billing/sub-companies/{subAccountId}/reminderRemind the admins of one sub-company to pay its duessendSubCompanyDuesReminderBilling
POST/billing/sub-companies/{subAccountId}/resumeKeep the renewal of a sub-company's dues (the undo of a cancel)resumeSubCompanyBillingSubscriptionBilling
POST/billing/sub-companies/{subAccountId}/subscribeSave the sub-company's card on Square and start its duessubscribeSubCompanyDuesOnSquareBilling
POST/billing/subscribeSave the company's card on Square and start its Portrex subscription (Owner only)subscribePlatformBillingOnSquareBilling
GET/billing/subscriptionCurrent account subscription + seat countsgetBillingSubscriptionBilling
GET/bulk/jobs/{jobId}Get a bulk lead job and row resultsgetBulkLeadJobBulk Leads
POST/bulk/leadsImport up to 1,000 leads in one authenticated request with per-account backpressurecreateBulkLeadJobBulk Leads
POST/cel/parseCompile CEL source for Monaco LSP (stateless; rate-limited)celParsePricebook
GET/contractorsList contractors (cursor paginated)listContractorsContractors
POST/contractorsCreate a contractorcreateContractorContractors
GET/contractors/{id}Get a contractorgetContractorContractors
PATCH/contractors/{id}Update a contractorpatchContractorContractors
POST/contractors/{id}/archiveArchive a contractorarchiveContractorContractors
POST/contractors/{id}/licensesAdd a license to a contractorcreateContractorLicenseContractors
PATCH/contractors/{id}/licenses/{licenseId}Update a contractor licensepatchContractorLicenseContractors
DELETE/contractors/{id}/licenses/{licenseId}Soft-delete a contractor licensedeleteContractorLicenseContractors
POST/contractors/{id}/unarchiveUnarchive a contractorunarchiveContractorContractors
POST/contracts/{contractId}/voidInitiate a contract void & reissue (POR-60)initiateContractVoidContracts
GET/contracts/{id}Get agreement (contract) detail (POR-595)getAgreementDetailContracts
PATCH/contracts/{id}Update agreement admin label/notes (POR-1972)patchContractAdminFieldsContracts
POST/contracts/{id}/cancel-draftCancel a draft or sent (unsigned) agreement (POR-595)cancelDraftAgreementContracts
POST/contracts/{id}/cosigner-resendRe-issue cosigner delivery (disabled)resendCosignerLinkContracts
GET/contracts/{id}/pdf-previewCheck legacy PDF preview availability without renderingheadContractAgreementPdfPreviewContracts
GET/contracts/{id}/prepare-agreementPreflight for preparing a Project-page contract draft for signing (POR-2479)getContractPrepareAgreementPreflightContracts
POST/contracts/{id}/prepare-agreementPrepare a Project-page contract draft for signing (POR-2479)prepareContractAgreementContracts
POST/contracts/{id}/sendSend contract for signing (POR-51)sendContractContracts
POST/contracts/{id}/signNative primary signer contract signaturesignContractContracts
POST/contracts/{id}/sign-in-personAttended in-person contract signing (rep-witnessed)signContractInPersonContracts
GET/contracts/{id}/signed-documentsProvider-signed agreement, completion certificate and envelope idlistContractSignedDocumentsContracts
POST/contracts/cosigner/{token}/signLegacy co-signer magic-link countersign (disabled)cosignerSignContracts
GET/contracts/provider-launch/{token}Open the agreement signer's intentional continuation pageshowAgreementProviderLaunchContracts
POST/contracts/provider-launch/{token}/openContinue from an active invitation to a fresh provider signing pageopenAgreementProviderSigningContracts
POST/customer-portal-invitationsMint a customer portal magic-link invitation for a tenant-scoped customer personcreateCustomerPortalInvitationPortal
GET/customersList customers (cursor paginated)listCustomersCustomers
GET/customers/{customerId}/{childResource}List a customer child resourcelistCustomerChildResourceCustomers
POST/customers/{customerId}/estimates/{estimateId}/take-overTake over an estimate (POR-2281)takeOverCustomerEstimateCustomers
PATCH/customers/{customerId}/invoices/{id}Update a customer invoiceupdateCustomerInvoiceCustomers
DELETE/customers/{customerId}/invoices/{id}Delete a customer invoicedeleteCustomerInvoiceCustomers
GET/customers/{id}Retrieve a customer by IDgetCustomerCustomers
PATCH/customers/{id}Update a customerupdateCustomerCustomers
DELETE/customers/{id}Soft-delete a customerdeleteCustomerCustomers
DELETE/customers/{id}/collaborators/{userId}Remove a customer collaborator (`customers:write`; manager rights rechecked on idempotent replay)removeCustomerCollaboratorCustomers
POST/designsCreate or update a designcreateDesignDesigns
GET/documentsList and search vault documents (cursor paginated)listDocumentsDocuments
GET/documents/{id}Get a document with its newest uploaded versionsgetDocumentDocuments
PATCH/documents/{id}Edit a document's title, type, tags, notes, expiry or branchupdateDocumentDocuments
DELETE/documents/{id}Delete a trashed document foreverdeleteDocumentDocuments
GET/documents/{id}/previewPreview URL for the current versiongetDocumentPreviewDocuments
GET/documents/{id}/preview/contentStream the current version inline (images and PDF only)getDocumentPreviewContentDocuments
POST/documents/{id}/restoreRestore a document from TrashrestoreDocumentDocuments
GET/documents/{id}/thumbnailList thumbnail of the current version (images only)getDocumentThumbnailDocuments
POST/documents/{id}/trashMove a document to TrashtrashDocumentDocuments
GET/documents/{id}/versionsPage through a document's older uploaded versionslistDocumentVersionsDocuments
POST/documents/{id}/versions/{versionId}/completeFinish an uploadcompleteDocumentVersionDocuments
GET/documents/{id}/versions/{versionId}/downloadSigned download URL for one versiongetDocumentDownloadDocuments
POST/documents/{id}/versions/{versionId}/upload-urlRe-sign the upload URL of a pending versionrenewDocumentUploadUrlDocuments
POST/documents/{id}/versions/upload-intentsStart uploading a new version of a documentcreateDocumentVersionUploadIntentDocuments
GET/documents/summaryCounts for the Documents stat tilesgetDocumentsSummaryDocuments
GET/documents/tagsSuggest the company's existing document tagslistDocumentTagsDocuments
POST/documents/upload-intentsStart a document uploadcreateDocumentUploadIntentDocuments
GET/email-templatesList CRM email templateslistEmailTemplatesEmailTemplates
POST/email-templatesCreate an email templatecreateEmailTemplateEmailTemplates
GET/email-templates/{id}Get an email templategetEmailTemplateEmailTemplates
PATCH/email-templates/{id}Edit an email templateupdateEmailTemplateEmailTemplates
DELETE/email-templates/{id}Archive an email templatearchiveEmailTemplateEmailTemplates
POST/email-templates/{id}/previewRender a template for a lead, a customer or sample valuespreviewEmailTemplateEmailTemplates
GET/estimatesList account-wide estimates (cursor paginated)listAccountEstimatesEstimates
POST/exportsEnqueue a tenant data export bundle (E35 / POR-59)createDataExportExports
GET/exports/{id}Fetch a single data export's status / signed URLgetDataExportExports
GET/finance/goodleap/casesList GoodLeap finance caseslistGoodLeapFinanceCasesFinance
POST/finance/goodleap/casesPrepare one GoodLeap origination mode (202)createGoodLeapFinanceCaseFinance
GET/finance/goodleap/cases/{caseId}GoodLeap case detailgetGoodLeapFinanceCaseFinance
POST/finance/goodleap/cases/{caseId}/applicationSubmit one direct GoodLeap credit application synchronouslysubmitGoodLeapCreditApplicationFinance
GET/finance/goodleap/cases/{caseId}/change-order-optionsRead fresh loan-scoped change-order catalogsgetGoodLeapChangeOrderOptionsFinance
GET/finance/goodleap/cases/{caseId}/credit-disclosurePreview current direct-application disclosuregetGoodLeapCreditDisclosureFinance
POST/finance/goodleap/cases/{caseId}/documents/embeddedMint one ephemeral GoodLeap embedded-signing capabilitycreateGoodLeapEmbeddedSigningCapabilityFinance
GET/finance/goodleap/cases/{caseId}/eventsGoodLeap case activitylistGoodLeapCaseEventsFinance
GET/finance/goodleap/cases/{caseId}/lifecycleRead the authoritative post-approval lifecycle projectiongetGoodLeapLoanLifecycleFinance
POST/finance/goodleap/cases/{caseId}/lifecycle-commandsEnqueue one post-approval GoodLeap command (durable, 202)createGoodLeapLoanLifecycleCommandFinance
GET/finance/goodleap/cases/{caseId}/loan-stipulationsList privacy-safe loan stipulation summarieslistGoodLeapLoanStipulationsFinance
POST/finance/goodleap/cases/{caseId}/milestonesSubmit a GoodLeap completion milestone (durable, 202)submitGoodLeapCompletionMilestoneFinance
POST/finance/goodleap/cases/{caseId}/reconcileReconcile a GoodLeap case (durable, 202)reconcileGoodLeapFinanceCaseFinance
POST/finance/goodleap/cases/searchSearch GoodLeap cases by reference or borrower emailsearchGoodLeapFinanceCasesFinance
GET/finance/goodleap/offersCached, state-filtered GoodLeap offersgetGoodLeapOffersFinance
GET/finance/goodleap/preflightGoodLeap origination readinessgoodLeapOriginationPreflightFinance
GET/finance/palmetto/casesList Palmetto finance caseslistPalmettoFinanceCasesFinance
POST/finance/palmetto/casesPrepare a Palmetto finance case (durable)preparePalmettoFinanceCaseFinance
GET/finance/palmetto/cases/{caseId}Get Palmetto finance case detailgetPalmettoFinanceCaseFinance
POST/finance/palmetto/cases/{caseId}/account-updateQueue an operational Palmetto account updateupdatePalmettoFinanceAccountFinance
POST/finance/palmetto/cases/{caseId}/application-invitationsSend Palmetto hosted application invitation (durable)sendPalmettoApplicationInvitationFinance
GET/finance/palmetto/cases/{caseId}/application-sessionConsume a signed same-origin continuationcontinuePalmettoHostedApplicationSessionFinance
POST/finance/palmetto/cases/{caseId}/application-sessionPrepare a same-origin hosted-application continuationstartPalmettoHostedApplicationSessionFinance
GET/finance/palmetto/cases/{caseId}/documentsList safe Palmetto document metadata and durable submissionslistPalmettoFinanceDocumentsFinance
POST/finance/palmetto/cases/{caseId}/documentsQueue a durable Palmetto Documents v2 uploaduploadPalmettoFinanceDocumentsFinance
GET/finance/palmetto/cases/{caseId}/documents/{documentId}Get safe Palmetto document metadatagetPalmettoFinanceDocumentFinance
PATCH/finance/palmetto/cases/{caseId}/documents/{documentId}Queue an optimistic Palmetto document metadata updateupdatePalmettoFinanceDocumentFinance
DELETE/finance/palmetto/cases/{caseId}/documents/{documentId}Queue an optimistic Palmetto document archivearchivePalmettoFinanceDocumentFinance
GET/finance/palmetto/cases/{caseId}/documents/{documentId}/files/{ordinal}/contentRelay one Palmetto document file ordinal same-origingetPalmettoFinanceDocumentFileContentFinance
POST/finance/palmetto/cases/{caseId}/documents/reconcileQueue durable Palmetto document reconciliationreconcilePalmettoFinanceDocumentsFinance
GET/finance/palmetto/cases/{caseId}/eventsList Palmetto finance case eventslistPalmettoFinanceCaseEventsFinance
POST/finance/palmetto/cases/{caseId}/quotesCreate a Palmetto quote intent (durable)createPalmettoFinanceQuoteFinance
POST/finance/palmetto/cases/{caseId}/reconcileReconcile a Palmetto finance case (durable)reconcilePalmettoFinanceCaseFinance
POST/finance/palmetto/cases/searchSensitive Palmetto finance case searchsearchPalmettoFinanceCasesFinance
GET/finance/palmetto/preflightPreflight Palmetto finance source readinesspreflightPalmettoFinanceSourceFinance
POST/finance/palmetto/showroom-existing-caseFind an open LightReach showroom applicationfindExistingPalmettoShowroomCaseFinance
PATCH/finance/palmetto/showroom-sources/{leadId}Persist LightReach showroom source correctionsupdatePalmettoShowroomSourceFinance
PATCH/finance/palmetto/showroom-sources/customers/{customerId}Persist selected-customer LightReach showroom correctionsupdatePalmettoCustomerShowroomSourceFinance
GET/hvac-price-catalogRead the HVAC price cataloggetHvacPriceCatalogHvacPriceCatalog
PATCH/hvac-price-catalog/brands/{brand}Rename a brand across its product linesrenameHvacPriceCatalogBrandHvacPriceCatalog
DELETE/hvac-price-catalog/brands/{brand}Remove a brand with all its product linesdeleteHvacPriceCatalogBrandHvacPriceCatalog
PUT/hvac-price-catalog/default-overrides/companySet or clear the company default override percentputHvacPriceCatalogCompanyDefaultOverrideHvacPriceCatalog
PUT/hvac-price-catalog/default-overrides/mineSet or clear the caller's own default override percentputHvacPriceCatalogMyDefaultOverrideHvacPriceCatalog
POST/hvac-price-catalog/linesCreate a product line with an empty All states tablecreateHvacPriceCatalogLineHvacPriceCatalog
PATCH/hvac-price-catalog/lines/{lineId}Rename a product line, change its sub type, its series aliases or its additional zone priceupdateHvacPriceCatalogLineHvacPriceCatalog
DELETE/hvac-price-catalog/lines/{lineId}Delete a product line with its tables and sizesdeleteHvacPriceCatalogLineHvacPriceCatalog
POST/hvac-price-catalog/lines/{lineId}/duplicateDuplicate a product line with all its tables, sizes and feesduplicateHvacPriceCatalogLineHvacPriceCatalog
POST/hvac-price-catalog/lines/{lineId}/installer-tablesAdd installer install-cost tables to a product linecreateHvacPriceCatalogInstallerTablesHvacPriceCatalog
POST/hvac-price-catalog/lines/{lineId}/tablesAdd state override tables to a product linecreateHvacPriceCatalogOverridesHvacPriceCatalog
GET/hvac-price-catalog/overridesList the open overrides (company and personal) with who set themlistHvacPriceCatalogOverridesHvacPriceCatalog
GET/hvac-price-catalog/overrides/historyThe last 200 override changeslistHvacPriceCatalogOverrideHistoryHvacPriceCatalog
DELETE/hvac-price-catalog/personal-overrides/{userId}Reset all of a rep's personal overrides, or one table'sdeleteHvacPriceCatalogPersonalOverridesForUserHvacPriceCatalog
PUT/hvac-price-catalog/personal-overrides/{userId}/tables/{tableId}Set or reset a rep's personal overrides on one tableputHvacPriceCatalogPersonalOverridesForUserHvacPriceCatalog
DELETE/hvac-price-catalog/sub-account-overridesReset the caller's sub-account (branch) pricesresetHvacPriceCatalogSubAccountOverridesHvacPriceCatalog
DELETE/hvac-price-catalog/sub-account-overrides/branches/{subAccountId}Reset all of a branch's prices, or one table's (owner or admin)deleteHvacPriceCatalogBranchOverridesByAdminHvacPriceCatalog
PUT/hvac-price-catalog/sub-account-overrides/tables/{tableId}Set or clear the caller's sub-account (branch) price on a table's stored sizesputHvacPriceCatalogSubAccountPricesHvacPriceCatalog
PUT/hvac-price-catalog/tables/{tableId}Replace a price table's sizes and feesputHvacPriceCatalogTableHvacPriceCatalog
DELETE/hvac-price-catalog/tables/{tableId}Delete a state override tabledeleteHvacPriceCatalogTableHvacPriceCatalog
PUT/hvac-price-catalog/tables/{tableId}/pricesSet the caller's personal overrides on a table's stored sizesputHvacPriceCatalogTablePricesHvacPriceCatalog
GET/hvac-pricebook/catalogList the curated HVAC reference catalog (price_cents is always null; tenants price equipment in their price book)listHvacPricebookCatalogHvacPricebook
GET/hvac-pricebook/catalog/{sku}Get one curated SKU (price_cents is always null)getHvacPricebookCatalogItemHvacPricebook
GET/hvac-pricebook/complianceGet the compliance ruleset (R-454B, federal EXPIRED, HEAR DOE, 35-ton)getHvacPricebookComplianceHvacPricebook
GET/hvac-pricebook/cross-state/nehpaGet the NEHPA cross-state umbrella row(s)getHvacPricebookNehpaHvacPricebook
GET/hvac-pricebook/income-screening/{state}List account-effective, state-aware coarse income screening choicesgetHvacIncomeScreeningBandsHvacPricebook
GET/hvac-pricebook/pathwaysList the distinct application pathways with program countslistHvacPricebookPathwaysHvacPricebook
GET/hvac-pricebook/programsList all rebate programs across the 13 stateslistHvacPricebookProgramsHvacPricebook
GET/hvac-pricebook/programs/{state}List rebate programs for one two-letter state codelistHvacPricebookProgramsByStateHvacPricebook
GET/hvac-pricebook/snapshotGet the snapshot header metadata (content-hash pin + effective date)getHvacPricebookSnapshotHvacPricebook
GET/hvac-rebate-program-settingsList account-effective rebate program settingslistHvacRebateProgramSettingsHvacRebateSettings
PATCH/hvac-rebate-program-settings/{programExternalId}Append a new account-scoped rebate program setting versionupdateHvacRebateProgramSettingHvacRebateSettings
GET/hvac-rebate-program-settings/{programExternalId}/historyList append-only account override versions for one programlistHvacRebateProgramSettingHistoryHvacRebateSettings
GET/hvac-rebate-program-settings/knowledge-baseRead canonical rebate research with Pricebook authorizationgetRebateKnowledgeDocumentHvacRebateSettings
POST/impersonation/elevations/{id}/approveApprove an elevation as a tenant Owner or AdminapproveImpersonationElevationUntagged
POST/impersonation/elevations/{id}/denyDeny an elevation as a tenant Owner or AdmindenyImpersonationElevationUntagged
POST/impersonation/elevations/{id}/revokeRevoke an approved or active elevation as a tenant Owner or AdminrevokeTenantImpersonationElevationUntagged
GET/impersonation/elevations/pendingList pending elevation approvals for the authenticated tenant Owner or AdminlistPendingImpersonationElevationsUntagged
POST/impersonation/endEnd the exact authenticated staff impersonation sessionendCurrentImpersonationSessionUntagged
GET/imports/historyThe account's pricebook imports (Items, Showroom catalog, Rate card), newest firstlistImportHistoryImports
POST/imports/pricebook/_internal/expire-grantsInternal cron sweep — sets expires_at and revokes expired grantspricebookExpireGrantsCronImports
GET/imports/pricebook/{id}Get import status + AI suggestions + human-confirmed mappingsgetPricebookImportImports
POST/imports/pricebook/{id}/analyzeParse the staged workbook and detect table units (heuristic + AI-refined)analyzeXlsxPricebookImportImports
POST/imports/pricebook/{id}/commitPersist the import (idempotent; refuses without human-confirmed mappings)pricebookCommitImports
POST/imports/pricebook/{id}/dry-runCompute import diff without writingpricebookDryRunImports
POST/imports/pricebook/{id}/mappingsHuman-confirm column→field mappings (AI confidence is not consent)confirmPricebookMappingsImports
POST/imports/pricebook/{id}/parseRe-parse the upload CSV (RFC 4180) and refresh AI-1 suggestionsparsePricebookImportImports
POST/imports/pricebook/{id}/undoUndo a committed import (items, showroom catalog or rate card)pricebookImportUndoImports
GET/imports/pricebook/{id}/undo-previewWhat undoing this import would do now, without doing itpricebookImportUndoPreviewImports
PUT/imports/pricebook/{id}/units/{unitId}/interpretationEdit/confirm a detected unit (region, shape, mappings — the human gate)updatePricebookImportUnitInterpretationImports
GET/imports/pricebook/{id}/units/{unitId}/previewGrid slice + compiler-computed normalized output for one unitpreviewPricebookImportUnitImports
PUT/imports/pricebook/{id}/workbookUpload the workbook through the API (same-origin; base64 payload)uploadXlsxPricebookWorkbookImports
POST/imports/pricebook/csvStart a generic CSV pricebook import (upload + AI-1 column suggestions)createCsvPricebookImportImports
POST/imports/pricebook/jobnimbusStart a JobNimbus pricebook import (upload + AI-1 column suggestions)createJobnimbusPricebookImportImports
POST/imports/pricebook/xlsxStart an xlsx pricebook import (returns a presigned workbook upload URL)createXlsxPricebookImportImports
POST/inbound/leads/{sourceKey}Receive a signed public lead-source deliveryreceiveInboundLeadLead Sources
GET/integration-usersList Integration Users for the current accountlistIntegrationUsersIntegration Users
POST/integration-usersProvision a dedicated Integration User for OAuth 2.1 client_credentialscreateIntegrationUserIntegration Users
GET/integration-users/{id}Fetch one Integration User by IDgetIntegrationUserIntegration Users
PATCH/integration-users/{id}Update Integration User metadata, scopes, token lifetime, or active/suspended statusupdateIntegrationUserIntegration Users
DELETE/integration-users/{id}Permanently revoke an Integration User and all of its active tokensrevokeIntegrationUserIntegration Users
GET/integrationsList integration provider states for the current accountlistIntegrationConnectionsIntegrations
GET/integrations/{provider}/callbackComplete an OAuth connection callback for an integration providercompleteIntegrationOAuthIntegrations
GET/integrations/{provider}/connectRedirect the browser into an OAuth connection flowredirectIntegrationOAuthIntegrations
POST/integrations/{provider}/connectStart an OAuth connection flow for an integration providerstartIntegrationOAuthIntegrations
PATCH/integrations/{provider}/credential-bindingSet credential binding mode (Owner/Admin)patchIntegrationCredentialBindingIntegrations
GET/integrations/{provider}/credential-commands/{commandId}Poll credential command status (Owner/Admin)getIntegrationCredentialCommandIntegrations
GET/integrations/{provider}/credential-requirementsField metadata for tenant BYO financing credentials (Owner/Admin)getIntegrationCredentialRequirementsIntegrations
PATCH/integrations/{provider}/credential-scopeSet an explicit Palmetto branch credential decision (Owner/Admin)patchPalmettoCredentialScopeIntegrations
GET/integrations/{provider}/credentialsList safe credential set status (Owner/Admin)listIntegrationCredentialsIntegrations
POST/integrations/{provider}/credentialsAccept sealed tenant BYO credentials (Owner/Admin)acceptIntegrationCredentialsIntegrations
POST/integrations/{provider}/credentials/{setId}/revealShow saved GHL Client ID and Client Secret (Owner/Admin)revealIntegrationCredentialsIntegrations
POST/integrations/{provider}/credentials/{setId}/revokeRevoke a credential set (Owner/Admin)revokeIntegrationCredentialsIntegrations
POST/integrations/{provider}/credentials/{setId}/rotateRotate a credential set (Owner/Admin)rotateIntegrationCredentialsIntegrations
POST/integrations/{provider}/disableDisable an integration provider for the current accountdisableIntegrationConnectionIntegrations
POST/integrations/{provider}/enableEnable an integration provider for the current accountenableIntegrationConnectionIntegrations
POST/integrations/ghl/consent-ackRecord the GoHighLevel connect-time disclosure acknowledgementackGhlConsentIntegrations
POST/integrations/ghl/disconnectDisconnect the GoHighLevel integration (remote revoke + token and sync teardown)disconnectGhlIntegrationIntegrations
GET/integrations/ghl/sync/appointments/{appointmentId}/notesLive GHL notes read for a linked appointmentgetGhlAppointmentNotesIntegrations
POST/integrations/ghl/sync/backfillTrigger an initial backfill for one entity pairtriggerGhlSyncBackfillIntegrations
GET/integrations/ghl/sync/calendar-catalogGHL calendar/group/resource catalogs + branch mappingsgetGhlCalendarCatalogIntegrations
GET/integrations/ghl/sync/calendar-catalog/calendars/{remoteCalendarId}/blocked-slotsLive blocked-slot read for a cataloged GHL calendargetGhlCalendarBlockedSlotsIntegrations
PUT/integrations/ghl/sync/calendar-catalog/calendars/{remoteCalendarId}/branchSet or clear a GHL calendar's Portrex branch mappingsetGhlCalendarBranchMappingIntegrations
GET/integrations/ghl/sync/calendar-catalog/calendars/{remoteCalendarId}/free-slotsLive free-slot read for a cataloged GHL calendargetGhlCalendarFreeSlotsIntegrations
POST/integrations/ghl/sync/calendar-catalog/refreshRefresh the GHL calendar catalog for this connectionrefreshGhlCalendarCatalogIntegrations
GET/integrations/ghl/sync/capabilitiesPer-capability GoHighLevel sync state, health, and needs-review rollupgetGhlSyncCapabilitiesIntegrations
GET/integrations/ghl/sync/configRead per-entity-pair sync configurationgetGhlSyncConfigIntegrations
PUT/integrations/ghl/sync/configUpdate sync configuration for one entity pairupdateGhlSyncConfigIntegrations
POST/integrations/ghl/sync/contact-address-enrichmentRepair GHL contact address and source timestamp metadatatriggerGhlContactAddressEnrichmentIntegrations
POST/integrations/ghl/sync/data-inventoryRequest a read-only GHL data coverage inventorytriggerGhlDataInventoryIntegrations
GET/integrations/ghl/sync/errorsList failed / dead / needs_review sync-journal rows (cursor-paginated)listGhlSyncErrorsIntegrations
POST/integrations/ghl/sync/errors/{journalId}/resolveMark a failed / dead / needs_review sync-journal row resolvedresolveGhlSyncErrorIntegrations
POST/integrations/ghl/sync/errors/{journalId}/retryRe-enqueue a legacy-core inbound failed / dead / needs_review sync-journal rowretryGhlSyncErrorIntegrations
GET/integrations/ghl/sync/forecastPer-stage forecast of open GHL opportunitiesgetGhlForecastIntegrations
GET/integrations/ghl/sync/healthGoHighLevel sync health (connection status, counts, timestamps)getGhlSyncHealthIntegrations
GET/integrations/ghl/sync/lost-reasonsLive GHL lost-reason catalog for this locationgetGhlLostReasonsIntegrations
POST/integrations/ghl/sync/opportunities/{leadId}/followersAdd followers on the linked GHL opportunityaddGhlOpportunityFollowersIntegrations
DELETE/integrations/ghl/sync/opportunities/{leadId}/followersRemove followers on the linked GHL opportunityremoveGhlOpportunityFollowersIntegrations
PUT/integrations/ghl/sync/opportunities/{leadId}/lost-reasonAttach a lost reason on the linked GHL opportunitypushGhlOpportunityLostReasonIntegrations
GET/integrations/ghl/sync/pipelinesList the connected GoHighLevel location's pipelines and stagesgetGhlSyncPipelinesIntegrations
POST/integrations/ghl/sync/principal-catalog/refreshRefresh the remote GHL user catalog for this connectionrefreshGhlPrincipalCatalogIntegrations
GET/integrations/ghl/sync/principal-mappingsList remote GHL users, mappable memberships, and their mappingslistGhlPrincipalMappingsIntegrations
POST/integrations/ghl/sync/principal-mappingsPropose a remote GHL user → Portrex membership mappingproposeGhlPrincipalMappingIntegrations
POST/integrations/ghl/sync/principal-mappings/{mappingId}/confirmConfirm a principal mapping (the admin verification step)confirmGhlPrincipalMappingIntegrations
POST/integrations/ghl/sync/principal-mappings/{mappingId}/revokeRevoke a principal mappingrevokeGhlPrincipalMappingIntegrations
GET/integrations/goodleapGoodLeap connection health (Owner/Admin)getGoodLeapConnectionHealthIntegrations
PATCH/integrations/goodleap/credential-bindingSet GoodLeap credential binding without step-up (Owner/Admin)patchGoodLeapCredentialBindingIntegrations
PATCH/integrations/goodleap/credential-scopeReject unsupported GoodLeap branch credential scope without step-uprejectGoodLeapCredentialScopeIntegrations
POST/integrations/goodleap/credentialsAccept sealed GoodLeap credentials without step-up (Owner/Admin)acceptGoodLeapIntegrationCredentialsIntegrations
POST/integrations/goodleap/credentials/{setId}/revealReject unsupported GoodLeap credential reveal without step-uprejectGoodLeapCredentialRevealIntegrations
POST/integrations/goodleap/credentials/{setId}/revokeRevoke GoodLeap credentials without step-up (Owner/Admin)revokeGoodLeapIntegrationCredentialsIntegrations
POST/integrations/goodleap/credentials/{setId}/rotateRotate GoodLeap credentials without step-up (Owner/Admin)rotateGoodLeapIntegrationCredentialsIntegrations
GET/integrations/goodleap/mappingsList GoodLeap organization mappings (Owner/Admin)listGoodLeapOrganizationMappingsIntegrations
POST/integrations/goodleap/mappingsCreate a GoodLeap organization mapping (Owner/Admin)createGoodLeapOrganizationMappingIntegrations
PATCH/integrations/goodleap/mappings/{mappingId}Update a GoodLeap organization mapping (Owner/Admin)updateGoodLeapOrganizationMappingIntegrations
POST/integrations/goodleap/preflightValidate a GoodLeap mapping locally (Owner/Admin)preflightGoodLeapMappingIntegrations
PUT/integrations/hubspot/branches/{subAccountId}/policyUpdate a branch HubSpot inheritance policy (`inherit` or `disabled`) and branch tagupdateHubSpotBranchPolicyIntegrations
GET/integrations/hubspot/connect/oauthStart HubSpot OAuth 2.0 authorization (redirect mode)startHubSpotOAuthRedirectIntegrations
POST/integrations/hubspot/connect/oauthStart HubSpot OAuth 2.0 authorization (JSON URL mode)startHubSpotOAuthPostIntegrations
POST/integrations/hubspot/connect/private-appConnect HubSpot using a Private App access tokenconnectHubSpotPrivateAppIntegrations
POST/integrations/hubspot/disconnectDisconnect a HubSpot connection (parent company or branch)disconnectHubSpotIntegrationIntegrations
GET/integrations/hubspot/metadata/ownersList live HubSpot CRM ownerslistHubSpotRemoteOwnersIntegrations
GET/integrations/hubspot/metadata/pipelinesList live HubSpot deal pipelines and stageslistHubSpotPipelinesIntegrations
GET/integrations/hubspot/metadata/propertiesList live HubSpot CRM properties for Contacts or DealslistHubSpotPropertiesIntegrations
GET/integrations/hubspot/owner-mappingsList saved HubSpot owner to Portrex user mappingslistHubSpotOwnerMappingsIntegrations
PUT/integrations/hubspot/owner-mappingsUpsert a HubSpot owner to Portrex user mappingupsertHubSpotOwnerMappingIntegrations
DELETE/integrations/hubspot/owner-mappings/{hubspotOwnerId}Delete a HubSpot owner mappingdeleteHubSpotOwnerMappingIntegrations
GET/integrations/hubspot/summaryHubSpot multi-branch connection summary (parent company + branches)getHubSpotIntegrationSummaryIntegrations
POST/integrations/hubspot/sync/backfillTrigger a resumable HubSpot backfill for enabled entity pairstriggerHubSpotBackfillIntegrations
GET/integrations/hubspot/sync/configGet HubSpot entity sync configuration for the parent or branch scopegetHubSpotSyncConfigIntegrations
PUT/integrations/hubspot/sync/configUpdate HubSpot entity sync directions, conflict policies, and pipeline stage mappingupdateHubSpotSyncConfigIntegrations
GET/integrations/hubspot/sync/errorsList unresolved HubSpot sync journal errorslistHubSpotSyncErrorsIntegrations
POST/integrations/hubspot/sync/errors/{journalId}/resolveMark a HubSpot sync journal error as resolvedresolveHubSpotSyncErrorIntegrations
POST/integrations/hubspot/sync/errors/{journalId}/retryRetry a failed HubSpot sync journal entryretryHubSpotSyncErrorIntegrations
GET/integrations/hubspot/sync/healthGet HubSpot sync health metrics (linked counts, cursor status, open errors)getHubSpotSyncHealthIntegrations
POST/integrations/hubspot/testVerify live HubSpot connectivity for the parent or branch connectiontestHubSpotConnectionIntegrations
GET/integrations/mattermostMattermost integration settings (Owner/Admin)getMattermostIntegrationSettingsIntegrations
PUT/integrations/mattermostSave Mattermost settings with live probe (Owner/Admin)saveMattermostIntegrationSettingsIntegrations
GET/integrations/mattermost/channelsList Mattermost team channels visible to the botlistMattermostTeamChannelsIntegrations
POST/integrations/mattermost/healthProbe Mattermost connectivity (alias of /test)checkMattermostIntegrationHealthIntegrations
POST/integrations/mattermost/hooks/{accountId}mm-inbound-relay ingress (VPS websocket → HMAC JSON)receiveMattermostInboundRelayHookIntegrations
GET/integrations/mattermost/membersCompare Portrex members with the Mattermost team (Owner/Admin, read-only)reconcileMattermostMembersIntegrations
POST/integrations/mattermost/members/syncAdd existing Mattermost users to the team (Owner/Admin, step-up)syncMattermostMembersIntegrations
GET/integrations/mattermost/notificationsMattermost business notification settingsgetMattermostNotificationSettingsIntegrations
PUT/integrations/mattermost/notificationsSave Mattermost business notification settingssaveMattermostNotificationSettingsIntegrations
POST/integrations/mattermost/notifications/testPost a fixed test message to a Mattermost channelsendMattermostNotificationTestPostIntegrations
GET/integrations/mattermost/support-channelsRead Mattermost channel mapping for Portrex Support and Tenant Support (Owner/Admin)getMattermostSupportChannelsIntegrations
PUT/integrations/mattermost/support-channelsSave Mattermost channel mapping for Portrex Support and Tenant Support (Owner/Admin, step-up)saveMattermostSupportChannelsIntegrations
POST/integrations/mattermost/testProbe Mattermost connectivity (Owner/Admin)testMattermostIntegrationTokenIntegrations
POST/integrations/mattermost/webhook-secret/revealReveal inbound webhook HMAC secret for mm-inbound-relay (Owner/Admin)revealMattermostInboundWebhookSecretIntegrations
GET/integrations/palmettoPalmetto Finance connection health (Owner/Admin)getPalmettoConnectionHealthIntegrations
GET/integrations/palmetto/hostRead the tenant Palmetto host (Owner/Admin)getPalmettoHostIntegrations
PATCH/integrations/palmetto/hostSave the tenant Palmetto host (Owner/Admin)patchPalmettoHostIntegrations
PATCH/integrations/palmetto/mapping-scopeAuthorize account-default mapping inheritance for one sub-accountsetPalmettoMappingScopeIntegrations
POST/integrations/palmetto/mappingsSave a pending Palmetto organization mappingcreatePalmettoOrganizationMappingIntegrations
PATCH/integrations/palmetto/mappings/{mappingId}Rename, disable, or verify and activate a Palmetto mappingupdatePalmettoOrganizationMappingIntegrations
POST/integrations/palmetto/mappings/{mappingId}/equipment-catalog/refreshRefresh approved-vendor equipment catalog mappingsrefreshPalmettoEquipmentCatalogIntegrations
GET/integrations/palmetto/organizations-catalogRead Palmetto organization hierarchy and licenses catalog (Owner/Admin)getPalmettoOrganizationsCatalogIntegrations
POST/integrations/palmetto/preflightPreflight a saved Palmetto organization mappingpreflightPalmettoMappingIntegrations
POST/integrations/palmetto/remote-organizationsLook up a Palmetto company by aliaslookupPalmettoRemoteOrganizationIntegrations
POST/integrations/palmetto/webhook-registration/verifyVerify Palmetto webhook registration configurationverifyPalmettoWebhookRegistrationIntegrations
GET/integrations/squareTenant Square connection status (Owner/Admin, branch admins see their own branch)getSquareConnectionStatusIntegrations
GET/integrations/square/callbackSquare OAuth callback (browser redirect from Square)completeSquareOAuthIntegrations
GET/integrations/square/connectStart Square OAuth as a browser redirectredirectToSquareOAuthIntegrations
POST/integrations/square/connectStart Square OAuth and return the authorization URLstartSquareOAuthIntegrations
POST/integrations/square/disconnectCancel open payment links and revoke Portrex's access to a Square accountdisconnectSquareAccountIntegrations
PUT/integrations/square/locationChoose the Square location that takes paymentssetSquarePaymentLocationIntegrations
GET/integrations/square/locationsLocations of one connected Square accountlistSquareLocationsIntegrations
PUT/integrations/square/scopeChoose one company Square account or one per sub-company (Owner/Admin)setSquareConnectionScopeIntegrations
POST/integrations/square/subscription-agreementRecord the tenant's agreement to member billing on Square (Owner/Admin)agreeToSquareMemberBillingIntegrations
POST/integrations/square/syncRefresh the connected Square account's statussyncSquareConnectAccountSnapshotIntegrations
GET/integrations/stripeTenant Stripe connection status (Owner/Admin, branch admins see their own branch)getStripeConnectionStatusIntegrations
GET/integrations/stripe/callbackStripe Connect OAuth callback (browser redirect from Stripe)completeStripeConnectOAuthIntegrations
GET/integrations/stripe/connectStart Stripe Connect OAuth as a browser redirectredirectToStripeConnectOAuthIntegrations
POST/integrations/stripe/connectStart Stripe Connect OAuth and return the authorization URLstartStripeConnectOAuthIntegrations
POST/integrations/stripe/disconnectCancel open payment links and revoke Portrex's access to a Stripe accountdisconnectStripeAccountIntegrations
POST/integrations/stripe/member-subscriptions/confirm-endedConfirm that the Stripe member and dues subscriptions of a connection that is not active ended (Owner/Admin)confirmStripeMemberSubscriptionsEndedIntegrations
GET/integrations/stripe/membersPer-member subscription rollup for the Stripe settings pagelistStripeMemberBillingIntegrations
PUT/integrations/stripe/scopeChoose company-wide or per-sub-company Stripe billing (Owner/Admin)setStripeConnectionScopeIntegrations
POST/integrations/stripe/syncRefresh the connected account's Stripe flagssyncStripeConnectAccountSnapshotIntegrations
POST/internal/billing/charge-dueInternal: charge, or recover the open attempt of, one due Square payerbillingRunChargeDueBilling
POST/internal/billing/reconcileInternal: the daily reconcile of Square subscriptionsbillingRunReconcileBilling
POST/internal/billing/tickInternal: sweep stale attempts and list the due Square payersbillingRunTickBilling
POST/internal/esign/docusign/statusInternal worker report of a DocuSign envelope stateesignDocusignStatusReportContracts
POST/internal/esign/zoho/statusInternal worker report of a Zoho Sign request stateesignZohoStatusReportContracts
GET/join/{token}Resolve a partner invitation for the join landing pageresolvePartnerInvitationPartners
GET/lead-sourcesList lead-source definitions and delivery healthlistLeadSourcesLead Sources
POST/lead-sourcesCreate a lead source and reveal its secret oncecreateLeadSourceLead Sources
PATCH/lead-sources/{id}Update lead-source routing defaults or statusupdateLeadSourceLead Sources
DELETE/lead-sources/{id}Revoke a lead source credentialrevokeLeadSourceLead Sources
POST/lead-sources/{id}/rotate-secretRotate a lead-source secret and reveal the new secret oncerotateLeadSourceSecretLead Sources
POST/lead-sources/{id}/testDry-run or commit-test a lead intake payloadtestLeadSourceLead Sources
GET/leadsList leads (cursor paginated)listLeadsLeads
POST/leadsCreate a lead (person-first; customer_id rejected until fully signed)createLeadLeads
GET/leads/{id}Get a lead by IDgetLeadLeads
PATCH/leads/{id}Update a leadupdateLeadLeads
DELETE/leads/{id}Soft-delete a leaddeleteLeadLeads
DELETE/leads/{id}/collaborators/{userId}Remove a lead collaborator (`leads:write`; manager rights rechecked on idempotent replay)removeLeadCollaboratorLeads
POST/leads/{id}/consentsRecord a TCPA consent for a contact on this leadrecordLeadConsentConsent
DELETE/leads/{id}/consents/{consentId}Revoke an active TCPA consent recordrevokeLeadConsentConsent
POST/leads/{id}/convertConvert a lead into a projectconvertLeadLeads
GET/leads/{id}/duplicate-candidatesList open possible duplicates of a leadlistLeadDuplicateCandidatesLeads
POST/leads/{id}/duplicate-candidates/{candidateId}/dismissMark a possible duplicate as "Not a duplicatedismissLeadDuplicateCandidateLeads
POST/leads/{id}/link-customerLink a lead to a customer or create a customer from reviewed lead datalinkLeadCustomerLeads
POST/leads/{id}/unlink-customerRemove a customer link from a leadunlinkLeadCustomerLeads
GET/leads/importList lead-import batches for the current accountlistLeadImportBatchesLeads
POST/leads/importStart a CSV lead-import batch (idempotent)createLeadImportBatchLeads
GET/leads/import/{batchId}Get a lead-import batch status + countersgetLeadImportBatchLeads
GET/leads/import/{batchId}/conflictsList unresolved conflicts for a batch (cursor paginated)listLeadImportConflictsLeads
POST/leads/import/conflicts/{id}/resolveResolve a lead-import conflict (skip / create_new / merge_into:<leadId>)resolveLeadImportConflictLeads
GET/leads/pipeline-summaryLead pipeline aggregates by status (dashboard KPIs)getLeadPipelineSummaryLeads
GET/leads/stage-definitionsLead stage definitions with win probabilitygetLeadStageDefinitionsLeads
POST/marketing/affiliate-requestsSubmit a public referral-partner application or referral registrationsubmitMarketingPartnerRequestMarketing
POST/marketing/contact-requestsSubmit a public marketing contact requestsubmitMarketingContactRequestMarketing
GET/meIntrospect the authenticated credential, tenant, and granted scopesgetCredentialMeAuth
GET/me/email-accountsList caller's personal email connectionslistPersonalEmailAccountsUntagged
POST/me/email-accountsVerify and save a personal IMAP/SMTP email connectioncreatePersonalEmailAccountUntagged
PATCH/me/email-accounts/{id}Update display name, server settings, or credentials for a personal email connectionupdatePersonalEmailAccountUntagged
DELETE/me/email-accounts/{id}Disconnect and wipe a personal email connectiondeletePersonalEmailAccountUntagged
POST/me/email-accounts/{id}/sendSend an email through a connected personal mailboxsendPersonalEmailUntagged
POST/me/email-accounts/{id}/syncSynchronize recent inbox messages for a personal email connectionsyncPersonalEmailAccountUntagged
POST/me/email-accounts/{id}/verifyRe-verify saved IMAP and SMTP credentials for a personal email connectionverifyPersonalEmailAccountUntagged
GET/oauth/authorizeOAuth authorization endpoint (PKCE S256 required)oauthAuthorizeOAuth
POST/oauth/authorize/decisionSubmit explicit user consent (approve or deny) for an OAuth 2.1 requestdecideOAuthAuthorizationOAuth
GET/oauth/clientsList active OAuth 2.1 clients for the current accountlistOAuthClientsOAuth
POST/oauth/clientsRegister an OAuth 2.1 client (PKCE or client_credentials)registerOAuthClientOAuth
DELETE/oauth/clients/{id}Revoke an OAuth 2.1 client and all of its active tokensrevokeOAuthClientOAuth
POST/oauth/introspectIntrospect an OAuth 2.1 access or refresh token (RFC 7662)oauthIntrospectOAuth
POST/oauth/revokeRevoke an access token (RFC 7009)oauthRevokeOAuth
POST/oauth/tokenExchange authorization_code for access token (PKCE verified)oauthTokenOAuth
POST/onboarding/payPay the first Portrex invoice in the onboarding wizard (Owner only)payOnboardingFirstInvoiceOnSquareOnboarding
GET/payment-processorThe tenant's invoice payment processor (Stripe or Square)getInvoicePaymentProcessorIntegrations
PUT/payment-processorChoose Stripe or Square for new invoice payment links (Owner/Admin)setInvoicePaymentProcessorIntegrations
POST/portal/acceptRedeem a customer portal invitation token and mint a portal sessionacceptCustomerPortalInvitationPortal
GET/portal/meHydrate the current Customer Portal sessiongetPortalMePortal
POST/portal/sign-inRequest a customer portal return-visit OTPrequestCustomerPortalSignInPortal
POST/portal/sign-in/verifyVerify a customer portal OTP and mint a portal sessionverifyCustomerPortalSignInPortal
GET/pricebook/generacRead the company Generac pricebook and starting prices for missing entriesgetGeneracPricebookPricebook
PUT/pricebook/generacSave all company Generac entries atomically and link the showroomsaveGeneracPricebookPricebook
POST/pricebook/rulesAuthor a new CEL pricing rulecreatePricebookRulePricebook
GET/pricebook/rules/{id}Fetch a rule with its pending dry-run (if any)getPricebookRulePricebook
PATCH/pricebook/rules/{id}Edit a rule (cel_source bumps version)updatePricebookRulePricebook
DELETE/pricebook/rules/{id}Soft-delete (enabled=false). 423 if locked.softDeletePricebookRulePricebook
POST/pricebook/rules/{id}/commitApply a previously-stored dry-runpricebookRuleCommitPricebook
POST/pricebook/rules/{id}/dry-runPreview a proposed cel_source against synthetic context (TTL 15 min)pricebookRuleDryRunPricebook
GET/pricebook/rules/{id}/versionsAppend-only version history for a rulelistPricebookRuleVersionsPricebook
GET/pricebook/solarRead the company Solar pricebook and starting prices for missing entriesgetSolarPricebookPricebook
PUT/pricebook/solarSave all company Solar entries atomically and link the showroomsaveSolarPricebookPricebook
GET/pricebook/waterRead the company Water Filtration pricebook and starting prices for missing entriesgetWaterPricebookPricebook
PUT/pricebook/waterSave all company Water Filtration entries atomically and link the showroomsaveWaterPricebookPricebook
GET/project-discoveryDiscover visible project IDslistVisibleProjectDiscoveryProjects
GET/project-filesDiscover project files by HW365 kind (C25/C84/C87/C89/C92)listProjectFilesProjects
GET/project-files/{fileId}/downloadDownload one project file by id (C25/C84/C87/C89/C92)downloadProjectFileProjects
GET/project-files/signed-agreementSelect the signed agreement file for a project (C25)getProjectFileSignedAgreementProjects
GET/project-snapshotsList read-only project snapshots (cursor paginated)listProjectSnapshotsProjects
GET/project-snapshots/{id}Get one read-only project snapshotgetProjectSnapshotProjects
GET/projectsList projects visible to the callerlistProjectsProjects
POST/projectsCreate a projectcreateProjectProjects
GET/projects/{id}Get a projectgetProjectProjects
PATCH/projects/{id}Update a projectupdateProjectProjects
GET/projects/{id}/agreementRead one project agreement/people projection (C21-C34, C75-C76)getProjectAgreementProjects
GET/projects/{id}/appointmentsList project-scoped appointmentslistProjectAppointmentsProjects
POST/projects/{id}/appointmentsCreate a project-scoped appointmentcreateProjectAppointmentProjects
PATCH/projects/{id}/appointments/{appointmentId}Update a project-scoped appointmentupdateProjectAppointmentProjects
GET/projects/{id}/collaboratorsList project peoplelistProjectCollaboratorsProjects
POST/projects/{id}/collaboratorsAdd a project collaborator (`projects:read` floor; manager/Primary checked in handler)addProjectCollaboratorProjects
PATCH/projects/{id}/collaborators/{userId}Update collaborator access or promote Primary (`projects:read` floor; manager/Primary checked in handler)updateProjectCollaboratorProjects
DELETE/projects/{id}/collaborators/{userId}Remove a project collaborator (`projects:read` floor; manager/Primary checked in handler)removeProjectCollaboratorProjects
GET/projects/{id}/contractsList project-scoped contract draftslistProjectContractsProjects
POST/projects/{id}/contractsCreate a project-scoped contract draft from an accepted estimatecreateProjectContractDraftProjects
GET/projects/{id}/estimatesList project-scoped estimateslistProjectEstimatesProjects
POST/projects/{id}/estimatesCreate a project-scoped estimatecreateProjectEstimateProjects
PATCH/projects/{id}/estimates/{estimateId}Update a project-scoped estimateupdateProjectEstimateProjects
POST/projects/{id}/estimates/{estimateId}/acceptAccept a project-scoped estimateacceptProjectEstimateProjects
GET/projects/{id}/financeRead one project finance projection (C35-C47)getProjectFinanceProjects
GET/projects/{id}/identityRead one project identity/site projection (C5-C20)getProjectIdentityProjects
GET/projects/{id}/invoicesList project-scoped invoiceslistProjectInvoicesProjects
POST/projects/{id}/invoicesCreate a project-scoped invoicecreateProjectInvoiceProjects
PATCH/projects/{id}/invoices/{invoiceId}Update a project-scoped invoiceupdateProjectInvoiceProjects
POST/projects/{id}/invoices/{invoiceId}/mark_paidMark a project-scoped invoice paidmarkProjectInvoicePaidProjects
GET/projects/{id}/notesList project-scoped noteslistProjectNotesProjects
POST/projects/{id}/notesCreate a project-scoped note and matching activity rowcreateProjectNoteProjects
PATCH/projects/{id}/notes/{noteId}Update a project-scoped noteupdateProjectNoteProjects
DELETE/projects/{id}/notes/{noteId}Soft-delete a project-scoped notedeleteProjectNoteProjects
GET/projects/{id}/tasksList project-scoped taskslistProjectTasksProjects
POST/projects/{id}/tasksCreate a project-scoped taskcreateProjectTaskProjects
PATCH/projects/{id}/tasks/{taskId}Update a project-scoped taskupdateProjectTaskProjects
DELETE/projects/{id}/tasks/{taskId}Soft-delete a project-scoped taskdeleteProjectTaskProjects
GET/projects/{id}/workspaceGet the read-only project workspace aggregategetProjectWorkspaceProjects
GET/projects/{projectId}/estimates/{estimateId}/linesRead selected-estimate pricing lines (C41-C44)listProjectEstimateLinesProjects
GET/projects/{projectId}/hvac-designList HVAC final-design revisions for a projectlistProjectHvacDesignsProjects
POST/projects/{projectId}/hvac-designCreate a draft HVAC final-design revisioncreateProjectHvacDesignProjects
PUT/projects/{projectId}/hvac-designCreate a draft HVAC final-design revisionupsertProjectHvacDesignProjects
GET/projects/{projectId}/hvac-design/{designId}/componentsCursor-paginated HVAC components for a design revision (non-cost fields)listProjectHvacDesignComponentsProjects
GET/projects/{projectId}/hvac-design/{designId}/systemsCursor-paginated HVAC systems for a design revision (non-cost fields)listProjectHvacDesignSystemsProjects
POST/projects/{projectId}/hvac-design/finalizeFinalize a draft HVAC design revision (immutable thereafter)finalizeProjectHvacDesignProjects
GET/projects/{projectId}/hvac-design/revisionsCursor-paginated HVAC design revisions for a projectlistProjectHvacDesignRevisionsProjects
POST/projects/{projectId}/invoices/{invoiceId}/payment-linkCreate a connected-merchant homeowner payment linkcreateProjectInvoicePaymentLinkProjects
POST/projects/{projectId}/invoices/{invoiceId}/payment-link/cancelRevoke an unpaid connected-merchant payment linkcancelProjectInvoicePaymentLinkProjects
POST/rebate-quotePersist an HVAC rebate quote (pins the snapshot + breakdown)createRebateQuoteRebateQuote
POST/rebate-quote/{id}/quoteMaterialize a persisted rebate quote into an estimatematerializeRebateQuoteRebateQuote
POST/rebate-quote/{id}/submitSubmit an HVAC rebate application (SENSITIVE; step-up + verified-email)submitRebateApplicationRebateQuote
POST/rebate-quote/previewPreview an HVAC rebate quote (pure compute; nothing persisted)previewRebateQuoteRebateQuote
POST/rebate-quote/sku-overrideSet a per-account price override for a curated HVAC SKU (SENSITIVE)setRebateSkuOverrideRebateQuote
GET/showroom-catalog/productsList showroom products for the accountlistShowroomProductsShowroomCatalog
GET/showroom-catalog/products/{id}Get a showroom product with its full cataloggetShowroomCatalogShowroomCatalog
GET/showroom-catalog/workspaceList all dashboard showrooms with grouped pricebook sectionsgetShowroomWorkspaceShowroomCatalog
GET/showroom-catalog/workspace/{key}/cpm-pricingHVAC Company Price Master offers, systems, defaults and installers (POR-1897)getShowroomHvacCpmPricingShowroomCatalog
GET/showroom-catalog/workspace/{key}/financingFinancing partner cards for one dashboard showroomgetShowroomFinancingShowroomCatalog
PUT/showroom-catalog/workspace/{key}/financingReplace financing partner cards for one dashboard showroomputShowroomFinancingShowroomCatalog
POST/showroom-catalog/workspace/{key}/resetRemove some or all of one showroom's catalog so it can be re-imported (POR-2421)resetShowroomCatalogShowroomCatalog
POST/showroom-catalog/workspace/bootstrapCreate linked showroom product shells for each tradebootstrapShowroomWorkspaceShowroomCatalog
POST/showroom-catalog/workspace/hvac/price-quoteServer price for an HVAC quote (Step 2 price engine)postShowroomHvacPriceQuoteShowroomCatalog
POST/showroom/agreement-pdfGenerate a Service Agreement PDFgenerateShowroomAgreementPdfShowroom
GET/showroom/agreement-templatesList effective agreement template coverage (managed + system) for the tenantlistShowroomAgreementTemplatesShowroom
GET/showroom/agreement-templates/effectiveResolve the managed-first effective template pack for a trade+stategetEffectiveShowroomAgreementTemplateShowroom
POST/showroom/agreementsSell-to-sign orchestration - create customer + estimate + project + contract in one saga (POR-464)createShowroomAgreementShowroom
POST/showroom/agreements/{leadId}/cancel-draftWithdraw the current unsigned saved showroom proposalcancelShowroomAgreementDraftByLeadShowroom
POST/showroom/agreements/{leadId}/savePersist the signature-free, version-fenced showroom agreement draftsaveShowroomAgreementByLeadShowroom
POST/showroom/agreements/{leadId}/signRetired local agreement execution endpointsignShowroomAgreementByLeadShowroom
POST/showroom/agreements/proposal-acknowledgmentsSave bilateral proposal consent without closing a dealsaveShowroomProposalAcknowledgmentShowroom
POST/showroom/client-startMint a linked lead, customer, draft estimate, and agreement-pending skeleton from the showroom New Lead/Customer formstartShowroomClientShowroom
DELETE/showroom/estimate-recoveries/{id}Explicitly discard a caller-owned stale showroom recovery recorddiscardShowroomEstimateRecoveryShowroom
GET/showroom/estimates/{id}/historyQuote history for a visible showroom estimate familygetShowroomQuoteHistoryShowroom
POST/showroom/estimates/{id}/history/{recoveryId}/restorePut pending unsaved changes back into the current quoteputBackShowroomQuoteChangesShowroom
GET/showroom/estimates/{id}/restoreReturn the saved showroom configuration for Open in ShowroomrestoreShowroomEstimateShowroom
POST/showroom/estimates/{id}/versionsCreate a version from a historical estimate or resolve caller-owned stale editscreateShowroomEstimateVersionShowroom
POST/showroom/estimates/initializeInitialize or resume the versioned showroom estimate for a visible leadinitializeShowroomLeadShowroom
POST/showroom/estimates/syncPersist the current showroom configuration onto the lead's draft estimatesyncShowroomEstimateShowroom
POST/showroom/rebate-research/quote-refreshRequest bounded research for one quote state without quote factsunassignedUntagged
POST/showroom/rebate-research/rewiring-live-resultSave a held public-building Rewiring America result from the authenticated web serverunassignedUntagged
POST/showroom/rebate-research/runsRequest bounded manual public researchunassignedUntagged
GET/showroom/rebate-research/runs/{runId}Read one tenant research rununassignedUntagged
POST/showroom/rebate-research/runs/{runId}/cancelCancel pending public research scopesunassignedUntagged
POST/showroom/rebate-research/runs/{runId}/retryRetry failed or unattempted scopes in a new linked rununassignedUntagged
GET/showroom/rebate-research/statesList all50 state coverage summariesunassignedUntagged
GET/showroom/rebate-research/states/{state}Read current effective public research and private review selectionunassignedUntagged
GET/showroom/rebate-research/states/{state}/versions/{versionId}Read one immutable scope versionunassignedUntagged
POST/showroom/rebate-research/states/{state}/versions/{versionId}/reviewAppend a private account or branch evidence decisionunassignedUntagged
GET/sms/connectionState of the company's own Twilio account connectiongetSmsConnectionSMS
PUT/sms/connectionSubmit the company's own Twilio account for checking (owner or admin)putSmsConnectionSMS
DELETE/sms/connectionDisconnect the company's Twilio account (owner or admin)deleteSmsConnectionSMS
PATCH/sms/connection/10dlcUpdate the company's Twilio 10DLC status and optional campaign SID (head-office owner or admin)patchSmsConnection10DlcSMS
GET/sms/connection/branchesList per-branch Twilio SMS connectionslistSmsBranchConnectionsSMS
GET/sms/connection/branches/{subAccountId}State of one branch's Twilio SMS connectiongetSmsBranchConnectionSMS
PUT/sms/connection/branches/{subAccountId}Submit a branch's own Twilio account for checking (head office or that branch's admin)putSmsBranchConnectionSMS
DELETE/sms/connection/branches/{subAccountId}Disconnect a branch's own Twilio account (head office or that branch's admin)deleteSmsBranchConnectionSMS
PATCH/sms/connection/branches/{subAccountId}/10dlcUpdate a branch's Twilio 10DLC status and optional campaign SID (head office or that branch's admin)patchSmsBranchConnection10DlcSMS
POST/sms/connection/branches/{subAccountId}/recheckCheck a branch's pending Twilio candidate again (head office or that branch's admin)recheckSmsBranchConnectionSMS
POST/sms/connection/recheckCheck the pending Twilio candidate again (owner or admin)recheckSmsConnectionSMS
POST/sms/inboundTwilio inbound SMS webhook (STOP/HELP)smsInboundWebhookSMS
POST/staff/accounts/{id}/billing-deadlines/clearClear a date that the tenant set (platform admin)clearStaffAccountBillingDeadlineStaff
GET/staff/accounts/{id}/billing-policyRead a tenant's per-user billing policy and Stripe connectionsgetStaffAccountBillingPolicyStaff
PUT/staff/accounts/{id}/billing-policySet a tenant's per-user billing policy (platform admin)setStaffAccountBillingPolicyStaff
PUT/staff/accounts/{id}/platform-billing-processorChange the processor through which one company pays Portrex (platform admin)setStaffAccountPlatformBillingProcessorStaff
GET/staff/accounts/{id}/user-subscriptionsPer-member subscription rows for one tenantlistStaffAccountUserSubscriptionsStaff
GET/staff/affiliatesPartner directorylistStaffPartnersStaff
POST/staff/affiliatesCreate and invite a partnercreateStaffPartnerStaff
GET/staff/affiliates/{id}Partner detailgetStaffPartnerStaff
GET/staff/affiliates/{id}/activityPartner audit traillistStaffPartnerActivityStaff
PUT/staff/affiliates/{id}/capsSet partner invitation capssetStaffPartnerCapsStaff
POST/staff/affiliates/{id}/closeClose a partnercloseStaffPartnerStaff
POST/staff/affiliates/{id}/reactivateReactivate a suspended partnerreactivateStaffPartnerStaff
GET/staff/affiliates/{id}/referralsReferrals for one partnerlistStaffPartnerReferralsForPartnerStaff
POST/staff/affiliates/{id}/suspendSuspend a partnersuspendStaffPartnerStaff
GET/staff/affiliates/applicationsList partner applicationslistStaffPartnerApplicationsStaff
GET/staff/affiliates/applications/{id}Read one partner applicationgetStaffPartnerApplicationStaff
PATCH/staff/affiliates/applications/{id}Edit a partner application's applicant-entered fieldsupdateStaffPartnerApplicationStaff
POST/staff/affiliates/applications/{id}/approveApprove a partner applicationapproveStaffPartnerApplicationStaff
GET/staff/affiliates/applications/{id}/eventsList an application's calendar eventslistStaffPartnerApplicationEventsStaff
POST/staff/affiliates/applications/{id}/eventsAdd a calendar event to an applicationcreateStaffPartnerApplicationEventStaff
PATCH/staff/affiliates/applications/{id}/events/{eventId}Update an application calendar eventupdateStaffPartnerApplicationEventStaff
DELETE/staff/affiliates/applications/{id}/events/{eventId}Delete an application calendar eventdeleteStaffPartnerApplicationEventStaff
GET/staff/affiliates/applications/{id}/notesList an application's noteslistStaffPartnerApplicationNotesStaff
POST/staff/affiliates/applications/{id}/notesAdd a note to an applicationcreateStaffPartnerApplicationNoteStaff
DELETE/staff/affiliates/applications/{id}/notes/{noteId}Delete an application notedeleteStaffPartnerApplicationNoteStaff
POST/staff/affiliates/applications/{id}/rejectReject a partner applicationrejectStaffPartnerApplicationStaff
POST/staff/affiliates/applications/{id}/resend-setupResend a partner password setup linkresendStaffPartnerSetupMailStaff
GET/staff/affiliates/applications/{id}/tasksList an application's taskslistStaffPartnerApplicationTasksStaff
POST/staff/affiliates/applications/{id}/tasksAdd a task to an applicationcreateStaffPartnerApplicationTaskStaff
PATCH/staff/affiliates/applications/{id}/tasks/{taskId}Update an application taskupdateStaffPartnerApplicationTaskStaff
DELETE/staff/affiliates/applications/{id}/tasks/{taskId}Delete an application taskdeleteStaffPartnerApplicationTaskStaff
GET/staff/affiliates/invitationsPartner invitation queuelistStaffPartnerInvitationsStaff
POST/staff/affiliates/invitations/{id}/revokeRevoke an invitation as staffrevokeStaffPartnerInvitationStaff
GET/staff/affiliates/mismatchesInvitation-mismatch review queuelistStaffPartnerMismatchesStaff
GET/staff/affiliates/referralsCross-partner referral review queuelistStaffPartnerReferralsStaff
POST/staff/affiliates/referrals/{id}/acceptAccept a referralacceptStaffPartnerReferralStaff
POST/staff/affiliates/referrals/{id}/confirm-mismatchResolve an invitation mismatchconfirmStaffPartnerReferralMismatchStaff
POST/staff/affiliates/referrals/{id}/link-accountLink an account to a referrallinkStaffPartnerReferralAccountStaff
POST/staff/affiliates/referrals/{id}/mark-ineligibleMark a referral ineligiblemarkStaffPartnerReferralIneligibleStaff
POST/staff/affiliates/referrals/{id}/override-attributionOverride attribution for an accountoverrideStaffPartnerReferralAttributionStaff
POST/staff/affiliates/referrals/{id}/set-stageSet a referral stagesetStaffPartnerReferralStageStaff
GET/staff/affiliates/suppressionsInvitation-outreach suppression listlistStaffPartnerSuppressionsStaff
POST/staff/affiliates/suppressionsSuppress invitation outreach to an addressaddStaffPartnerSuppressionStaff
DELETE/staff/affiliates/suppressions/{hash}Remove a suppressionremoveStaffPartnerSuppressionStaff
GET/staff/billing/findingsThe billing findings across the accounts the staff user can seelistStaffBillingFindingsStaff
POST/staff/billing/findings/{findingId}/refundRefund the payment of a billing finding that Portrex took by error (platform admin)refundStaffBillingFindingStaff
POST/staff/billing/findings/{findingId}/resolveSettle the attempt of a billing finding (platform admin)resolveStaffBillingFindingStaff
POST/staff/house/handoffGet a one-time handoff URL into the Portrex house account CRM (platform_admin and account_manager)staffHouseCrmIssueHandoffUntagged
POST/staff/impersonation/elevationsRequest a dual-approved impersonation elevation (assigned Account Manager only)requestImpersonationElevationUntagged
POST/staff/impersonation/elevations/{id}/activateActivate an approved elevation using the server-bound HttpOnly capabilityactivateImpersonationElevationUntagged
POST/staff/impersonation/elevations/{id}/revokeRevoke an approved or active elevation as its requesting Account ManagerrevokeStaffImpersonationElevationUntagged
POST/staff/impersonation/elevations/reissuePerform the single proof-bound recovery rotation for a matching pending elevationreissueImpersonationElevationUntagged
POST/staff/impersonation/handoff/redeemRedeem a one-time owner-login handoff code on the tenant web originredeemStaffOwnerLoginHandoffUntagged
POST/staff/impersonation/login-as-ownerSign in to a tenant as its owner (platform_admin only; no tenant consent, no step-up)staffLoginAsOwnerUntagged
GET/staff/meHydrate the current Portrex staff sessiongetStaffMeStaff
GET/staff/platform/billing-processorThe processor of new company subscriptions, and whether each processor is configuredgetStaffPlatformBillingProcessorStaff
PUT/staff/platform/billing-processorSet the processor of new company subscriptions (platform admin)setStaffPlatformBillingProcessorStaff
POST/staff/releases/actions/bump-minorOpen the release-line minor bump PR with squash auto-mergebumpStaffReleasesMinorStaff
POST/staff/releases/actions/flushDispatch a staging batch flush nowdispatchStaffReleasesFlushStaff
POST/staff/releases/actions/promoteDispatch a production promotion of a sealed staging releasedispatchStaffReleasesPromotionStaff
POST/staff/releases/actions/rerun-failedRe-run the failed jobs of one workflow runrerunStaffReleasesFailedJobsStaff
POST/staff/releases/actions/rollbackDispatch a coordinated production rollback to a sealed releaserollbackStaffReleasesStaff
POST/staff/releases/actions/scheduleCreate or cancel a production deploy schedulemutateStaffReleasesScheduleStaff
POST/staff/releases/actions/set-batch-scheduleUpdate the staging batch schedule repo variablessetStaffReleasesBatchScheduleStaff
POST/staff/releases/actions/toggleFlip a release pipeline repo-variable togglesetStaffReleasesToggleStaff
POST/staff/releases/actions/waive-reviewApply the review:waive label to a pull requestwaiveStaffReleasesReviewStaff
GET/staff/releases/costsRelease pipeline cost telemetry (GitHub Actions, OpenRouter, GCP stub)getStaffReleasesCostsStaff
GET/staff/releases/costs/breakdownDaily Actions net-cost series and per-workflow cost estimatesgetStaffReleasesCostsBreakdownStaff
GET/staff/releases/doraDORA metrics computed from the release journal and run historygetStaffReleasesDoraStaff
GET/staff/releases/eventsRelease event feed (merges, promotions, failures, blocked PRs, waivers)listStaffReleasesEventsStaff
GET/staff/releases/failuresCategorized Failure Center feed over recent failed workflow runslistStaffReleasesFailuresStaff
GET/staff/releases/historyStaging batch and production promotion run historylistStaffReleasesHistoryStaff
GET/staff/releases/journalSealed releases from the GCS release journal with environment truthlistStaffReleasesJournalStaff
GET/staff/releases/journal/{releaseId}Full journal drill-down for one sealed releasegetStaffReleasesJournalDetailStaff
GET/staff/releases/overviewRelease Control Center overview (environments, toggles, live pipeline)getStaffReleasesOverviewStaff
GET/staff/releases/pendingCommits on main since the last sealed releasegetStaffReleasesPendingStaff
GET/staff/releases/prsPull-request feed with Jira keys for the Release Center PR panellistStaffReleasesPrsStaff
GET/staff/releases/review-intelAI review gate verdicts and waiver stats for recent PRsgetStaffReleasesReviewIntelStaff
GET/staff/releases/runs/{runId}/jobsJob and step detail for one workflow run (with child release-run chase)getStaffReleaseRunJobsStaff
GET/staff/releases/runs/{runId}/jobs/{jobId}/logsExtracted log view for one job (errors, tail, or full)getStaffReleaseJobLogsStaff
GET/staff/releases/schedulesProduction deploy schedules from the release journal bucketlistStaffReleasesSchedulesStaff
GET/staff/work/tasksList marketing contact tasks assigned to the current staff adminlistStaffMarketingContactTasksStaff
GET/staff/work/tasks/{id}Get one marketing contact task assigned to the current staff admingetStaffMarketingContactTaskStaff
PATCH/staff/work/tasks/{id}/statusUpdate one assigned marketing contact task statusupdateStaffMarketingContactTaskStatusStaff
GET/sub-accounts/{id}/lead-assignment-policyGet a branch lead-assignment override and effective policygetSubAccountLeadAssignmentPolicyAccounts
PUT/sub-accounts/{id}/lead-assignment-policyCompletely replace a branch lead-assignment overridereplaceSubAccountLeadAssignmentPolicyAccounts
DELETE/sub-accounts/{id}/lead-assignment-policyDelete a branch lead-assignment overridedeleteSubAccountLeadAssignmentPolicyAccounts
GET/sub-accounts/summaryList sub-account roll-up summarieslistSubAccountSummariesAccounts
POST/uploads/imagesUpload a tenant image assetuploadTenantImageUploads
GET/uploads/images/{assetKey}Serve an uploaded tenant image assetgetUploadedTenantImageUploads
GET/void-events/{id}/diffDiff between original contract and replacement payloadgetVoidEventDiffVoidEvents
POST/void-events/{id}/fcra-notice/draftDraft an FCRA Adverse Action Notice (DRAFT ONLY — never auto-sends)createFcraNoticeDraftVoidEvents
POST/void-events/{id}/signSign a void event (rep or homeowner countersign)signVoidEventVoidEvents
GET/webhooksList webhook subscriptions for the current accountlistWebhookSubscriptionsWebhooks
POST/webhooksCreate a webhook subscriptioncreateWebhookSubscriptionWebhooks
GET/webhooks/{id}Get one webhook subscription by ID (secret never returned)getWebhookSubscriptionWebhooks
PATCH/webhooks/{id}Update webhook subscription URL, subscribed events, active state, or descriptionupdateWebhookSubscriptionWebhooks
DELETE/webhooks/{id}Soft-delete a webhook subscriptiondeleteWebhookSubscriptionWebhooks
POST/webhooks/{id}/restoreRestore a soft-deleted webhook subscription within the 30-day windowrestoreWebhookSubscriptionWebhooks
POST/webhooks/{id}/rotate-secretGenerate a new HMAC secret for a subscriptionrotateWebhookSecretWebhooks
GET/webhooks/deliveriesList delivery attempts (history)listWebhookDeliveriesWebhooks
POST/webhooks/deliveries/{id}/replayReplay a single delivery — creates a new delivery rowreplayWebhookDeliveryWebhooks
GET/webhooks/dlqList dead-lettered deliverieslistWebhookDlqWebhooks
POST/webhooks/dlq/replayBatch replay deliveries from the dead-letter queuereplayWebhookDlqBatchWebhooks
POST/webhooks/documensoDocumenso inbound webhook (signature events)documensoWebhookWebhooks
GET/webhooks/eventsList supported webhook event types (public)listWebhookEventTypesWebhooks
POST/webhooks/ghlGoHighLevel marketplace inbound webhookghlWebhookWebhooks
POST/webhooks/goodleapGoodLeap fetch-on-notify ingressreceiveGoodLeapWebhookWebhooks
POST/webhooks/hubspotHubSpot CRM inbound webhook (v3 HMAC-SHA256 verified)hubspotWebhookWebhooks
POST/webhooks/squareSquare webhook for tenants' connected seller accountsreceiveSquareWebhookWebhooks
POST/webhooks/square/platformSquare webhook of Portrex's own Square account (the platform seller)squarePlatformWebhookWebhooks
POST/webhooks/stripeStripe inbound webhookstripeWebhookWebhooks
POST/webhooks/stripe/connectStripe webhook for tenants' connected accountsreceiveStripeConnectWebhookWebhooks