Skip to main content
GET
Get contract types creation form

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://app.tomorro.com/settings/integrations?integration=api-key

Path Parameters

id
string
required

The unique identifier (UUID) of the contract type

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

templateId
string

Optional template id to scope conditions (e.g. template-based mandatory fields).

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Creation form fields and rules

fields
object[]
required

Fields to collect when creating a contract of this type (and optional template).

Example:
fieldsCount
number
required

Number of fields (same as fields.length).

Example:

3

rules
object[]
required

Json-rules-engine rule definitions applied to the creation form.

Example: