Get all the terms of the selected contract type.

Fetch the contract parameters of a contract type

A Contract Type will have contract terms which are connected to a Contract Type Template version of the Contract type. By default the the contract terms of the most up-to-date Contract Type Template will be fetched. In order to set the terms of a contract, you first need to fetch the available terms.

How to fetch the contract terms of a contract type?

To fetch the contract terms of a contract type you'll need to first specify the template version. The template version ID can requested with the GET contract templates endpoint.

curl --request GET \
     --url{{Team Id}}/contract-types/{{Contract Type Id}}/templates \
     --header 'Accept: application/json'
     --header 'Authorization: Bearer {{API Key}}'\

You can then fetch the contract terms of the template version using the Get contract fields endpoint.

curl --request GET \
     --url{{template ID}}/terms \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {{API Key}}'


Contract terms

Contract terms will contain options which are exclusive which means they won't be able to be selected at the same time.

Once you've fetched the possible contract fields of a contract type, you can set values to create a Contract.