Email a contract to its recipients

Queues contract PDFs for the selected contract's parents, optionally using selected payers or a test email address.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
contract_idintegerRequired>=1
send_emailbooleanRequired
include_previous_years_balanceboolean or nullOptional
previous_years_balance_typeenum or nullOptional
Allowed values:
payerslist of stringsOptional
send_test_emailstringOptionalformat: "email"
document_layoutenumOptionalDefaults to combined
Allowed values:

Response

Email jobs queued for one or more recipients.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error