curl --request POST \
--url https://api.tomorro.com/v2/contracts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"contractTypeId": "550e8400-e29b-41d4-a716-446655440002",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"name": "Service Agreement - Acme Corp",
"signatories": {
"internalSignatoryMemberIds": [
"mem_550e8400-e29b-41d4-a716-446655440004"
],
"externalSignatoryEmailList": [
"signatory@example.com"
]
},
"fields": [
{
"fieldId": "550e8400-e29b-41d4-a716-446655440008",
"value": "Technology"
}
],
"contractMembersIds": [
{
"memberId": "550e8400-e29b-41d4-a716-446655440004"
}
],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
}
'import requests
url = "https://api.tomorro.com/v2/contracts"
payload = {
"contractTypeId": "550e8400-e29b-41d4-a716-446655440002",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"name": "Service Agreement - Acme Corp",
"signatories": {
"internalSignatoryMemberIds": ["mem_550e8400-e29b-41d4-a716-446655440004"],
"externalSignatoryEmailList": ["signatory@example.com"]
},
"fields": [
{
"fieldId": "550e8400-e29b-41d4-a716-446655440008",
"value": "Technology"
}
],
"contractMembersIds": [{ "memberId": "550e8400-e29b-41d4-a716-446655440004" }],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contractTypeId: '550e8400-e29b-41d4-a716-446655440002',
counterparty: {id: '550e8400-e29b-41d4-a716-446655440001', name: 'Acme Corporation'},
templateId: '550e8400-e29b-41d4-a716-446655440003',
name: 'Service Agreement - Acme Corp',
signatories: {
internalSignatoryMemberIds: ['mem_550e8400-e29b-41d4-a716-446655440004'],
externalSignatoryEmailList: ['signatory@example.com']
},
fields: [{fieldId: '550e8400-e29b-41d4-a716-446655440008', value: 'Technology'}],
contractMembersIds: [{memberId: '550e8400-e29b-41d4-a716-446655440004'}],
integration: {
type: 'salesforce',
externalId: 'sf-123456',
externalEntity: 'Opportunity',
externalUrl: 'https://my-crm.example.com/opportunities/sf-123456'
}
})
};
fetch('https://api.tomorro.com/v2/contracts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tomorro.com/v2/contracts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contractTypeId' => '550e8400-e29b-41d4-a716-446655440002',
'counterparty' => [
'id' => '550e8400-e29b-41d4-a716-446655440001',
'name' => 'Acme Corporation'
],
'templateId' => '550e8400-e29b-41d4-a716-446655440003',
'name' => 'Service Agreement - Acme Corp',
'signatories' => [
'internalSignatoryMemberIds' => [
'mem_550e8400-e29b-41d4-a716-446655440004'
],
'externalSignatoryEmailList' => [
'signatory@example.com'
]
],
'fields' => [
[
'fieldId' => '550e8400-e29b-41d4-a716-446655440008',
'value' => 'Technology'
]
],
'contractMembersIds' => [
[
'memberId' => '550e8400-e29b-41d4-a716-446655440004'
]
],
'integration' => [
'type' => 'salesforce',
'externalId' => 'sf-123456',
'externalEntity' => 'Opportunity',
'externalUrl' => 'https://my-crm.example.com/opportunities/sf-123456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tomorro.com/v2/contracts"
payload := strings.NewReader("{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tomorro.com/v2/contracts")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tomorro.com/v2/contracts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "ctr_550e8400-e29b-41d4-a716-446655440000",
"name": "Service Agreement - Acme Corp",
"status": "draft",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"contractType": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Service Agreement"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"author": {
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
},
"fields": [
{
"attributeDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Department",
"value": "John Doe"
}
],
"signatories": [
{
"id": "sig_550e8400-e29b-41d4-a716-446655440005",
"name": "John Doe",
"email": "john.doe@example.com",
"type": "member"
}
],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-02-20T14:45:00.000Z",
"contractMembers": [
{
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
}
]
}Create contract
Creates a contract with document from a template.
curl --request POST \
--url https://api.tomorro.com/v2/contracts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"contractTypeId": "550e8400-e29b-41d4-a716-446655440002",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"name": "Service Agreement - Acme Corp",
"signatories": {
"internalSignatoryMemberIds": [
"mem_550e8400-e29b-41d4-a716-446655440004"
],
"externalSignatoryEmailList": [
"signatory@example.com"
]
},
"fields": [
{
"fieldId": "550e8400-e29b-41d4-a716-446655440008",
"value": "Technology"
}
],
"contractMembersIds": [
{
"memberId": "550e8400-e29b-41d4-a716-446655440004"
}
],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
}
'import requests
url = "https://api.tomorro.com/v2/contracts"
payload = {
"contractTypeId": "550e8400-e29b-41d4-a716-446655440002",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"name": "Service Agreement - Acme Corp",
"signatories": {
"internalSignatoryMemberIds": ["mem_550e8400-e29b-41d4-a716-446655440004"],
"externalSignatoryEmailList": ["signatory@example.com"]
},
"fields": [
{
"fieldId": "550e8400-e29b-41d4-a716-446655440008",
"value": "Technology"
}
],
"contractMembersIds": [{ "memberId": "550e8400-e29b-41d4-a716-446655440004" }],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contractTypeId: '550e8400-e29b-41d4-a716-446655440002',
counterparty: {id: '550e8400-e29b-41d4-a716-446655440001', name: 'Acme Corporation'},
templateId: '550e8400-e29b-41d4-a716-446655440003',
name: 'Service Agreement - Acme Corp',
signatories: {
internalSignatoryMemberIds: ['mem_550e8400-e29b-41d4-a716-446655440004'],
externalSignatoryEmailList: ['signatory@example.com']
},
fields: [{fieldId: '550e8400-e29b-41d4-a716-446655440008', value: 'Technology'}],
contractMembersIds: [{memberId: '550e8400-e29b-41d4-a716-446655440004'}],
integration: {
type: 'salesforce',
externalId: 'sf-123456',
externalEntity: 'Opportunity',
externalUrl: 'https://my-crm.example.com/opportunities/sf-123456'
}
})
};
fetch('https://api.tomorro.com/v2/contracts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tomorro.com/v2/contracts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contractTypeId' => '550e8400-e29b-41d4-a716-446655440002',
'counterparty' => [
'id' => '550e8400-e29b-41d4-a716-446655440001',
'name' => 'Acme Corporation'
],
'templateId' => '550e8400-e29b-41d4-a716-446655440003',
'name' => 'Service Agreement - Acme Corp',
'signatories' => [
'internalSignatoryMemberIds' => [
'mem_550e8400-e29b-41d4-a716-446655440004'
],
'externalSignatoryEmailList' => [
'signatory@example.com'
]
],
'fields' => [
[
'fieldId' => '550e8400-e29b-41d4-a716-446655440008',
'value' => 'Technology'
]
],
'contractMembersIds' => [
[
'memberId' => '550e8400-e29b-41d4-a716-446655440004'
]
],
'integration' => [
'type' => 'salesforce',
'externalId' => 'sf-123456',
'externalEntity' => 'Opportunity',
'externalUrl' => 'https://my-crm.example.com/opportunities/sf-123456'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tomorro.com/v2/contracts"
payload := strings.NewReader("{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tomorro.com/v2/contracts")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tomorro.com/v2/contracts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contractTypeId\": \"550e8400-e29b-41d4-a716-446655440002\",\n \"counterparty\": {\n \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n \"name\": \"Acme Corporation\"\n },\n \"templateId\": \"550e8400-e29b-41d4-a716-446655440003\",\n \"name\": \"Service Agreement - Acme Corp\",\n \"signatories\": {\n \"internalSignatoryMemberIds\": [\n \"mem_550e8400-e29b-41d4-a716-446655440004\"\n ],\n \"externalSignatoryEmailList\": [\n \"signatory@example.com\"\n ]\n },\n \"fields\": [\n {\n \"fieldId\": \"550e8400-e29b-41d4-a716-446655440008\",\n \"value\": \"Technology\"\n }\n ],\n \"contractMembersIds\": [\n {\n \"memberId\": \"550e8400-e29b-41d4-a716-446655440004\"\n }\n ],\n \"integration\": {\n \"type\": \"salesforce\",\n \"externalId\": \"sf-123456\",\n \"externalEntity\": \"Opportunity\",\n \"externalUrl\": \"https://my-crm.example.com/opportunities/sf-123456\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "ctr_550e8400-e29b-41d4-a716-446655440000",
"name": "Service Agreement - Acme Corp",
"status": "draft",
"counterparty": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
},
"contractType": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Service Agreement"
},
"templateId": "550e8400-e29b-41d4-a716-446655440003",
"author": {
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
},
"fields": [
{
"attributeDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Department",
"value": "John Doe"
}
],
"signatories": [
{
"id": "sig_550e8400-e29b-41d4-a716-446655440005",
"name": "John Doe",
"email": "john.doe@example.com",
"type": "member"
}
],
"integration": {
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-02-20T14:45:00.000Z",
"contractMembers": [
{
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
}
]
}Authorizations
API key for authentication. Get your key at https://app.tomorro.com/settings/integrations?integration=api-key
Body
ID of the contract type
"550e8400-e29b-41d4-a716-446655440002"
Counterparty for the contract. Can reference an existing counterparty by ID or create a new one.
Show child attributes
Show child attributes
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
}
ID of the template to create the document from
"550e8400-e29b-41d4-a716-446655440003"
Contract name. If omitted, auto-generated from the template name.
"Service Agreement - Acme Corp"
List of internal and external signatories for the contract
Show child attributes
Show child attributes
{
"internalSignatoryMemberIds": ["mem_550e8400-e29b-41d4-a716-446655440004"],
"externalSignatoryEmailList": ["signatory@example.com"]
}
Field values to set on the contract. Use field IDs and values (option labels for select fields).
Show child attributes
Show child attributes
[
{
"fieldId": "550e8400-e29b-41d4-a716-446655440008",
"value": "Technology"
}
]
List of members to add to the contract
[
{
"memberId": "550e8400-e29b-41d4-a716-446655440004"
}
]
Integration parameters to link the contract with an external system.
Show child attributes
Show child attributes
{
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
Response
Contract created successfully Any non-signed status can transition to canceled
Unique identifier for the contract.
"ctr_550e8400-e29b-41d4-a716-446655440000"
The name or title of the contract.
"Service Agreement - Acme Corp"
The current status of the contract.
draft: The contract is being created or edited.negotiating: The contract is being reviewed with counterparties.signing: The contract is in the signature process.signed: All parties have signed the contract.canceled: The contract has been canceled.
"draft"
The counterparty associated with this contract.
Show child attributes
Show child attributes
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Acme Corporation"
}
The type of the contract, it is composed of many templates.
Show child attributes
Show child attributes
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Service Agreement"
}
The template used to create this contract.
"550e8400-e29b-41d4-a716-446655440003"
The member who created this contract.
Show child attributes
Show child attributes
{
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
}
The fields associated with this contract.
Show child attributes
Show child attributes
[
{
"attributeDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Department",
"value": "John Doe"
}
]
The signatories associated with this contract.
Show child attributes
Show child attributes
[
{
"id": "sig_550e8400-e29b-41d4-a716-446655440005",
"name": "John Doe",
"email": "john.doe@example.com",
"type": "member"
}
]
The third-party system this contract is linked to, when it was created via an integration (currently Salesforce or HubSpot). The shape mirrors the integration payload accepted on POST /contracts, so you can use this to look up the originating record in your CRM. null when the contract has no external link or was created from the Tomorro web app.
Show child attributes
Show child attributes
{
"type": "salesforce",
"externalId": "sf-123456",
"externalEntity": "Opportunity",
"externalUrl": "https://my-crm.example.com/opportunities/sf-123456"
}
Time at which the contract was created. Formatted as an ISO 8601 date-time string.
"2024-01-15T10:30:00.000Z"
Time at which the contract was last updated. Formatted as an ISO 8601 date-time string.
"2024-02-20T14:45:00.000Z"
The list of participants with this contract.
Show child attributes
Show child attributes
[
{
"id": "550e8400-e29b-41d4-a716-446655440004",
"email": "john.doe@example.com"
}
]