Skip to main content
GET
/
contract-types
List contract types
curl --request GET \
  --url https://api.tomorro.com/v2/contract-types \
  --header 'x-api-key: <api-key>'
{
  "contractTypes": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Service Agreement",
      "templates": [
        {
          "id": "550e8400-e29b-41d4-a716-446655440000",
          "language": "FR",
          "smartFields": []
        }
      ]
    }
  ],
  "hasNext": true,
  "hasPrevious": false
}

Authorizations

x-api-key
string
header
required

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

Query Parameters

limit
number
default:20

Number of items per page (1-50)

Required range: 1 <= x <= 50
Example:

20

after
string

Cursor for forward pagination. Use the next_cursor value from a previous response.

Example:

"eyJpZCI6IjEyMyJ9"

before
string

Cursor for backward pagination. Use the prev_cursor value from a previous response.

Example:

"eyJpZCI6IjEwMCJ9"

isPublished
string

Filter by published status. true returns only published types, false returns only drafts.

Example:

"true"

Response

List of contract types

contractTypes
object[]
required

An array of Contract Type objects.

Example:
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Service Agreement",
    "templates": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "language": "FR",
        "smartFields": []
      }
    ]
  }
]
hasNext
boolean
required

Whether there are more results available after this page. If true, you can use the after cursor to fetch the next page.

Example:

true

hasPrevious
boolean
required

Whether there are results available before this page. If true, you can use the before cursor to fetch the previous page.

Example:

false