create_contract
Create a contract. counterparty (the other party's name) is required. Optionally link organization_id, set category/status, dates (YYYY-MM-DD): effective_date/expiration_date/signed_date/renewal_date, point_of_contact_name/email, notes, is_baa/contains_baa. Attach a PDF by passing pdf_base64 (base64 file bytes) + filename — e.g. bytes from get_email_attachment.
Parameters
- counterparty (string, required)
- organization_id (string)
- category (string)
- status (string, default "active")
- effective_date (string)
- expiration_date (string)
- signed_date (string)
- renewal_date (string)
- point_of_contact_name (string)
- point_of_contact_email (string)
- notes (string)
- is_baa (boolean, default false)
- contains_baa (boolean, default false)
- pdf_base64 (string)
- filename (string)