org_documents

Generate Org Document

Generate from the live template and save it on the organization as a new version (earlier versions are kept).

post/api/orgs/organizations/{org_id}/documents

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

org_id, string uuid required

Request body

GenerateIn required
kind, string required
contact_id, string uuid nullable
answers, object
picked, object
deal, DealIn

The pricing panel (spec §1 "Deal inputs"). INTERNAL: stored on the record, never printed.

pricing_mode (Frederick, 2026-09-30): "per_adp" (the spec's original rate x ADP x 12 calculation) or "flat" (a flat annual amount typed directly -- "I can do 35k a year if I want flat rate"). rate_per_adp/ override_annual are read only in "per_adp" mode; flat_annual only in "flat" mode.

rep_principal_id, string uuid nullable
regenerated_from_id, string uuid nullable
deal_id, string uuid nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 251 revisions of this API.