Create a contract
Applications
Create a contract
Attach a new contract to the application.
Required scope contracts:add
post
/applications/{id}/contractsAuthorizations
AuthorizationstringrequiredAuthorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.
Path parameters
idstring<uuid>requiredIdentifier of the application. Must belong to the workspace the key is bound to.
Bodyapplication/json
naturestringrequiredNature of the contract.
startDatestring<date>requiredDate the contract starts.
endDatestring<date>Date the contract ends.
amountPerMonthnumberMonthly amount, in the workspace currency.
enableProjectionbooleanWhether the contract feeds financial projections.
Response201 · application/json
The contract was created.
idstring<uuid>requiredIdentifier of the contract.
naturestringrequiredNature of the contract.
startDatestring<date> | nullDate the contract starts.
endDatestring<date> | nullDate the contract ends.
amountPerMonthnumber | nullMonthly amount, in the workspace currency.
enableProjectionbooleanWhether the contract feeds financial projections.