Skip to main content
GET
/
clauses
/
{id}
Get clause
curl --request GET \
  --url https://api.tomorro.com/v2/clauses/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Confidentiality",
  "description": "Standard confidentiality clause",
  "organizationId": "550e8400-e29b-41d4-a716-446655440000",
  "content": [
    {
      "type": "paragraph",
      "children": [
        {
          "text": "Clause content"
        }
      ]
    }
  ],
  "listNumbering": null,
  "translations": [
    {
      "language": "en",
      "content": [
        {
          "type": "paragraph",
          "children": [
            {
              "text": "Clause content"
            }
          ]
        }
      ],
      "order": 0
    }
  ],
  "languages": [
    "en",
    "fr"
  ],
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-02T00:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://alpha.developer.tomorro.com/llms.txt

Use this file to discover all available pages before exploring further.

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 clause

Example:

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

Response

Clause details with content

id
string
required

Unique identifier for the clause.

Example:

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

name
string
required

The name of the clause.

Example:

"Confidentiality"

description
string
required

A short description of the clause.

Example:

"Standard confidentiality clause"

organizationId
string
required

The organization this clause belongs to.

Example:

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

content
string[]
required

The raw JSON content of the clause (Slate editor format).

Example:
[
  {
    "type": "paragraph",
    "children": [{ "text": "Clause content" }]
  }
]
listNumbering
object
required

List numbering configuration, if any.

Example:

null

translations
object[]
required

Per-language translations of the clause.

Example:
[
  {
    "language": "en",
    "content": [
      {
        "type": "paragraph",
        "children": [{ "text": "Clause content" }]
      }
    ],
    "order": 0
  }
]
languages
string[]
required

Languages available for this clause.

Example:
["en", "fr"]
createdAt
string<date-time>
required

Time at which the clause was created. Formatted as an ISO 8601 date-time string.

Example:

"2024-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required

Time at which the clause was last updated. Formatted as an ISO 8601 date-time string.

Example:

"2024-01-02T00:00:00.000Z"