Skip to main content
GET
Get project contract

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

projectId
integer
required

The id of the project.

contractId
integer
required

The id of the contract.

Query Parameters

include
string

Comma-separated related resources to embed. Allowed: company, project, claim, rep, contract_type, financial_class.

Response

The requested project contract.

A contract recorded on a project. Its financial fields fall into three groups that are each omitted from the response entirely for users who lack the matching visibility in your organization. The 17 invoice and payment fields from financials_pending_amount through financials_balance_amount are hidden from users without financial visibility or without access to invoices and payments. The 5 expense fields (expenses_pending_amount through expenses_total_amount) are hidden from users without financial visibility. The 4 payout fields (payouts_amount, overhead_amount, is_payouts_locked, and payouts_locked_at) are hidden from users without financial visibility or without access to payouts.

id
integer

The contract's unique identifier.

Example:

3390

tenant_id
integer

The id of your organization's account.

Example:

12

company_id
integer | null

The id of the company this contract belongs to. Null if not set.

Example:

6

project_id
integer

The id of the project this contract belongs to.

Example:

9103

claim_id
integer | null

The id of the claim linked to this contract. Null if not linked to a claim. See Claim.

Example:

3305

rep_id
integer | null

The id of the user assigned as this contract's rep. Null if unassigned.

Example:

1159

financial_class_id
integer | null

The id of the contract's financial class. Null if not set. There's currently no endpoint to list financial classes.

contract_type_id
integer | null

The id of the contract's type. Null if not set. There's currently no endpoint to list contract types.

Example:

2

name
string | null

The contract's name. Null if not set.

Example:

"Roof Replacement Agreement"

overhead_rule
integer

The overhead calculation rule applied to this contract.

Example:

0

is_approved
boolean

Whether the contract has been approved.

Example:

true

is_payouts_locked
boolean

Whether payouts on this contract are locked from further changes.

Example:

false

expenses_pending_amount
string

The total amount of pending (unapproved) expenses on this contract, formatted as a decimal string.

Example:

"0.00"

expenses_approved_amount
string

The total amount of approved expenses on this contract.

Example:

"0.00"

expenses_paid_amount
string

The total amount of expenses paid on this contract.

Example:

"0.00"

expenses_denied_amount
string

The total amount of expenses denied on this contract.

Example:

"0.00"

expenses_total_amount
string

The total amount of all expenses recorded on this contract.

Example:

"0.00"

overhead_amount
string

The total overhead amount allocated to this contract.

Example:

"0.00"

payouts_amount
string

The total amount paid out on this contract (for example, to reps).

Example:

"0.00"

certificate_of_completion_comment
string | null

Notes recorded with the certificate of completion. Null if not set.

certificate_of_completion_insurance_comment
string | null

Notes recorded with the insurance certificate of completion. Null if not set.

certificate_of_completion_insurance_closing_comment
string | null

Closing notes recorded for the insurance certificate of completion. Null if not set.

certificate_of_completion_insurance_completed_at
string | null

Timestamp when the insurance certificate of completion was completed, formatted as YYYY-MM-DD HH:MM:SS. Null if not yet completed.

financials_pending_amount
string

The total pending financial amount on this contract.

Example:

"0.00"

financials_approved_amount
string

The total approved financial amount on this contract.

Example:

"9250.00"

financials_billable_amount
string

The total billable amount on this contract.

Example:

"9250.00"

financials_sold_amount
string

The total sold amount on this contract.

Example:

"18500.00"

financials_total_amount
string

The total financial amount recorded on this contract.

Example:

"18500.00"

financials_down_payment_amount
string

The total down payment amount recorded on this contract.

Example:

"5000.00"

financials_progress_payment_amount
string

The total progress payment amount recorded on this contract.

Example:

"4250.00"

financials_final_paid_amount
string

The total final payment amount recorded on this contract.

Example:

"0.00"

financials_deductible_paid_amount
string

The total deductible payment amount recorded on this contract.

Example:

"0.00"

financials_all_paid_amount
string

The total amount paid across all payment types on this contract.

Example:

"9250.00"

financials_total_paid_amount
string

The total amount paid on this contract.

Example:

"9250.00"

financials_credit_memo_amount
string

The total credit memo amount applied to this contract.

Example:

"0.00"

financials_refund_amount
string

The total amount refunded on this contract.

Example:

"0.00"

financials_revenue_amount
string

The total revenue recognized on this contract.

Example:

"9250.00"

financials_revenue_approved_amount
string

The total approved revenue recognized on this contract.

Example:

"9250.00"

financials_received_amount
string

The total amount received on this contract.

Example:

"9250.00"

financials_balance_amount
string

The outstanding balance remaining on this contract.

Example:

"9250.00"

transactions_total
integer

The number of financial transactions recorded on this contract.

Example:

4

approved_at
string | null

Timestamp when the contract was approved, formatted as YYYY-MM-DD HH:MM:SS. Null if not yet approved.

Example:

"2025-02-12 16:00:00"

payouts_locked_at
string | null

Timestamp when payouts were locked on this contract. Null if payouts aren't locked.

warranty_starts_at
string | null

Timestamp when the contract's warranty period starts. Null if not set.

created_at
string | null

Timestamp when the contract was created, formatted as YYYY-MM-DD HH:MM:SS. Null on some older records.

Example:

"2025-02-11 09:30:00"