SpotDraft
App · 25 actions
Create, upload, send and void contracts in SpotDraft, read their status, approvals, signers and metadata, manage obligations and counterparties, and follow contracts as they move to signature and execution.
Actions
| Action | What it does |
|---|---|
| Add contract comment | Add a comment to a contract's activity log. |
| Archive counterparty | Archive a counterparty so it is no longer offered for new contracts. |
| Create contract from template | Create a contract from one of your SpotDraft templates, filled in with your values, for one counterparty. |
| Create counterparty | Add an organization or a person your workspace has contracts with. |
| Create obligation | Record an obligation on a contract, such as a payment, a renewal notice or a delivery, with its due date. |
| Delete obligation | Delete an obligation from a contract. |
| Get contract approvals | Get a contract's approvals, who each is with, its status and what approvers did. |
| Get contract download link | Get a short-lived link to download the contract's current version. |
| Get contract metadata | Get the values of a contract's metadata fields, such as its dates, amounts and terms. |
| Get contract recipients | Get a contract's signatories, approvers and receivers, and whether each has finished. |
| Get contract status | Get a contract's name and where it is: draft, redlining, out for signature, executed, on hold or voided. |
| Get counterparty | Get a counterparty with its contacts and address. |
| List contract comments | List the comments on a contract's activity log, newest first, with their replies. |
| List contract types | List the workspace's contract types, such as NDA or MSA. |
| List contracts | List or search the workspace's contracts, newest first unless you choose another order. |
| List counterparties | List the organizations and people your workspace has contracts with. |
| List obligation types | List the kinds of obligation the workspace uses, such as payment or renewal. |
| List obligations | List a contract's obligations: what each side has to do, by when, and its status. |
| List templates | List the templates contracts can be created from. |
| List users | List the people in your SpotDraft workspace, with their roles. |
| Send contract to counterparties | Email a contract to its counterparties for review, as Word, PDF or both. |
| Update counterparty | Rename a counterparty or change its brand name or custom fields. |
| Update obligation | Change an obligation's title, dates, priority or status, such as marking it completed. |
| Upload executed contract | Add a contract that is already signed to SpotDraft's repository, from its PDF. |
| Void contract | Void a contract so nobody can sign or change it, with a note saying why. |
Add contract comment
Add a comment to a contract's activity log.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Comment
commenttextRequired - The comment.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"author": {
"email": "example",
"id": 1,
"name": "example"
},
"comment": "example",
"contract_id": 1,
"created": "example",
"id": 1,
"modified": "example",
"replies": [
{
"author": {
"email": "example",
"id": 1,
"name": "example"
},
"comment": "example",
"created": "example",
"id": 1,
"modified": "example"
}
]
}
}Archive counterparty
Archive a counterparty so it is no longer offered for new contracts. Its contracts stay.
Inputs
- Counterparty
counterparty_idnumberRequired - The counterparty.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"brand_name": "example",
"contacts": [
{
"email": "example",
"id": 1,
"name": "example"
}
],
"custom_fields": {},
"id": 1,
"is_individual": true,
"name": "example",
"primary_address": {
"city_name": "example",
"country_name": "example",
"email": "example",
"id": 1,
"line_one": "example",
"phone": "example",
"state_name": "example",
"zipcode": "example"
},
"status": "example"
}
}Create contract from template
Create a contract from one of your SpotDraft templates, filled in with your values, for one counterparty.
Inputs
- Template
template_idnumberRequired - The template to create the contract from.
- Contract data
contract_dataobjectRequired - The template's fields and their values, by field name, such as {"customer_name": "Acme Inc.", "agreement_date": "2026-03-28"}. Dates are YYYY-MM-DD; amounts are {"type": "USD", "value": 12000}.
- Contract name
contract_nametext - A name for the contract. Leave empty for SpotDraft's default name.
- Counterparty is a person
counterparty_is_individualtrue/false - On when the counterparty is a person rather than an organization.
- Counterparty organization
counterparty_organization_nametext - The counterparty organization's name. Needed unless the counterparty is a person.
- Contact first name
contact_first_nametextRequired - The first name of the counterparty's contact (or of the person).
- Contact last name
contact_last_nametext - The contact's last name.
- Contact email
contact_emailtextRequired - The contact's email.
- Send to counterparty
send_to_counterpartytrue/false - On sends the contract to the counterparty as soon as it is created.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"contract_id": 1,
"contract_link": "example",
"contract_name": "example",
"contract_status": "example",
"contract_type_id": 1,
"contract_type_name": "example",
"counter_party_name": "example",
"created": "example",
"created_by": "example",
"created_by_user_email": "example",
"created_by_user_name": "example",
"external_metadata": {
"id": "example",
"integration_name": "example",
"record_data": {},
"record_type": "example"
},
"id": "example",
"reference_id": "example"
}
}Create counterparty
Add an organization or a person your workspace has contracts with.
Inputs
- Is a person
is_individualtrue/falseRequired - On when the counterparty is a person rather than an organization.
- Organization name
organization_nametext - The organization's name. Needed unless it is a person.
- Contact name
contact_nametext - The contact's full name (or the person's).
- Contact email
contact_emailtext - The contact's email (or the person's).
- Brand name
brand_nametext - The name it trades under, if it differs.
- Street address
address_linetext - The street address.
- City
citytext - The city. Needed with a street address.
- State
statetext - The state or province.
- Postal code
zipcodetext - The postal code.
- Country code
country_codetext - The country's two-letter code, such as US or GB.
- Custom fields
custom_fieldsobject - Your workspace's own counterparty fields and their values, such as {"vendor_id": "1234"}.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"brand_name": "example",
"contacts": [
{
"email": "example",
"id": 1,
"name": "example"
}
],
"custom_fields": {},
"id": 1,
"is_individual": true,
"name": "example",
"primary_address": {
"city_name": "example",
"country_name": "example",
"email": "example",
"id": 1,
"line_one": "example",
"phone": "example",
"state_name": "example",
"zipcode": "example"
},
"status": "example"
}
}Create obligation
Record an obligation on a contract, such as a payment, a renewal notice or a delivery, with its due date.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Obligation type
obligation_type_idnumberRequired - The kind of obligation.
- Title
titletextRequired - A short title.
- Due
end_datedate and timeRequired - When it is due.
- Priority
prioritytextRequired - How important it is.One of:
LOW,MEDIUM,HIGH. - Description
descriptiontext - What has to be done.
- Starts
start_datedate and time - When it starts.
- Status
statustext - Its status. Leave empty for pending.One of:
PENDING,COMPLETED,FAILED,VERIFIED.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"custom_fields": {},
"description": "example",
"end_date": "example",
"entity_id": 1,
"id": 1,
"obligation_type_id": 1,
"start_date": "example",
"status": "example",
"title": "example"
}
}Delete obligation
Delete an obligation from a contract.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Obligation
obligation_idnumberRequired - The obligation.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"deleted": true,
"obligation_id": 1
}
}Get contract approvals
Get a contract's approvals, who each is with, its status and what approvers did.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"results": [
{
"approval": {
"approval_name": "example",
"approval_type": "example",
"contract_id": 1,
"created_by_org_user": {
"email": "example",
"id": 1,
"name": "example"
},
"id": 1,
"last_sent_at": "example",
"notes": "example",
"org_user": {
"email": "example",
"id": 1,
"name": "example"
},
"sent_for_approval": true,
"status": "example"
},
"approval_actions": [
{
"created": "example",
"latest": true,
"notes": "example",
"status": "example"
}
]
}
]
}
}Get contract download link
Get a short-lived link to download the contract's current version.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Format
formattext - The file format. Leave empty for SpotDraft's default.One of:
PDF,DOCX(Word (DOCX)),DOCX_WITH_FALLBACK_TO_PDF(Word, or PDF when there is no Word file).
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"current_version_id": 1,
"file_name": "example",
"url": "example"
}
}Get contract metadata
Get the values of a contract's metadata fields, such as its dates, amounts and terms.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
Outputs
datalist- The response from SpotDraft.
Example output
{
"data": [
{
"data_type": "example",
"field_name": "example",
"id": 1,
"label": "example",
"value": "example"
}
]
}Get contract recipients
Get a contract's signatories, approvers and receivers, and whether each has finished.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"items": [
{
"recipient": {
"created": "example",
"id": 1,
"is_sent_for_signature": true,
"last_sent_for_signature_at": "example",
"note": "example",
"recipient_order": 1,
"recipient_type": "example",
"title": "example",
"user": {
"designation": "example",
"email": "example",
"id": 1,
"name": "example"
}
},
"recipient_action": {
"action_notes": "example",
"is_success": true,
"timestamp": "example"
},
"status": "example"
}
]
}
}Get contract status
Get a contract's name and where it is: draft, redlining, out for signature, executed, on hold or voided.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"contract_name": "example",
"contract_status": "example"
}
}Get counterparty
Get a counterparty with its contacts and address.
Inputs
- Counterparty
counterparty_idnumberRequired - The counterparty.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"brand_name": "example",
"contacts": [
{
"email": "example",
"id": 1,
"name": "example"
}
],
"custom_fields": {},
"id": 1,
"is_individual": true,
"name": "example",
"primary_address": {
"city_name": "example",
"country_name": "example",
"email": "example",
"id": 1,
"line_one": "example",
"phone": "example",
"state_name": "example",
"zipcode": "example"
},
"status": "example"
}
}List contract comments
List the comments on a contract's activity log, newest first, with their replies.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Results per page
limitnumber - How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
- Page
pagenumber - The page to return, starting at 1. Leave empty for the first.At least 1.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"limit": 1,
"page": 1,
"results": [
{
"author": {
"email": "example",
"id": 1,
"name": "example"
},
"comment": "example",
"contract_id": 1,
"created": "example",
"id": 1,
"modified": "example",
"replies": [
{
"author": {
"email": "example",
"id": 1,
"name": "example"
},
"comment": "example",
"created": "example",
"id": 1,
"modified": "example"
}
]
}
],
"total_results": 1
}
}List contract types
List the workspace's contract types, such as NDA or MSA.
Inputs
None.
Outputs
datalist- The response from SpotDraft.
Example output
{
"data": [
{
"id": 1,
"name": "example"
}
]
}List contracts
List or search the workspace's contracts, newest first unless you choose another order.
Inputs
- Search
querytext - Words to find in the contract name, entity, counterparty name or counterparty email.
- Status
statustext - Only contracts in this status.One of:
DRAFT,REDLINING(Redlining (with the counterparty)),SIGN(Out for signature),EXECUTED,ON_HOLD(On hold),VOIDED. - Contract type
contract_type_idnumber - Only contracts of this type.
- Counterparty name
counterparty_nametext - Only contracts with this counterparty name, exactly.
- Created after
created_afterdate and time - Only contracts created at or after this time.
- Created before
created_beforedate and time - Only contracts created at or before this time.
- Order
sorttext - The order to list them in. Leave empty for newest first.One of:
-filter__created_at(Newest first),filter__created_at(Oldest first),-filter__last_updated_on(Most recently changed first),filter__expiring_at(Expiring soonest first),-filter__execution_date(Most recently executed first). - Results per page
limitnumber - How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
- Page
pagenumber - The page to return, starting at 1. Leave empty for the first.At least 1.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"limit": 1,
"page": 1,
"results": [
{
"contract_link": "example",
"contract_name": "example",
"contract_status": "example",
"contract_type_id": 1,
"contract_type_name": "example",
"counter_party_name": "example",
"created": "example",
"created_by": "example",
"created_by_user_email": "example",
"created_by_user_name": "example",
"external_metadata": {
"id": "example",
"integration_name": "example",
"record_data": {},
"record_type": "example"
},
"id": "example",
"reference_id": "example"
}
],
"total_results": 1
}
}List counterparties
List the organizations and people your workspace has contracts with.
Inputs
- Name
nametext - Only the counterparty with this name, exactly.
- Contact email
emailtext - Only counterparties with this contact email.
- Status
statustext - Only active or only archived counterparties. Leave empty for both.One of:
ACTIVE,ARCHIVED. - Results per page
limitnumber - How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
- Page
pagenumber - The page to return, starting at 1. Leave empty for the first.At least 1.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"limit": 1,
"page": 1,
"results": [
{
"brand_name": "example",
"contacts": [
{
"email": "example",
"id": 1,
"name": "example"
}
],
"custom_fields": {},
"id": 1,
"is_individual": true,
"name": "example",
"primary_address": {
"city_name": "example",
"country_name": "example",
"email": "example",
"id": 1,
"line_one": "example",
"phone": "example",
"state_name": "example",
"zipcode": "example"
},
"status": "example"
}
],
"total_results": 1
}
}List obligation types
List the kinds of obligation the workspace uses, such as payment or renewal.
Inputs
None.
Outputs
datalist- The response from SpotDraft.
Example output
{
"data": [
{
"description": "example",
"id": 1,
"name": "example"
}
]
}List obligations
List a contract's obligations: what each side has to do, by when, and its status.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
Outputs
datalist- The response from SpotDraft.
Example output
{
"data": [
{
"custom_fields": {},
"description": "example",
"end_date": "example",
"entity_id": 1,
"id": 1,
"obligation_type_id": 1,
"start_date": "example",
"status": "example",
"title": "example"
}
]
}List templates
List the templates contracts can be created from.
Inputs
- Counterparty kind
counterparty_typetext - Only templates for this kind of counterparty.One of:
Organisation(Organization),Individual. - Include archived
include_archivedtrue/false - On includes archived templates.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"items": [
{
"contract_type_id": 1,
"id": 1,
"name": "example"
}
]
}
}List users
List the people in your SpotDraft workspace, with their roles.
Inputs
- Email
emailtext - Only the user with this email.
- Name starts with
nametext - Only users whose full name starts with this.
- Results per page
limitnumber - How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
- Page
pagenumber - The page to return, starting at 1. Leave empty for the first.At least 1.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"limit": 1,
"page": 1,
"results": [
{
"designation": "example",
"email": "example",
"id": 1,
"is_active": true,
"name": "example",
"roles": [
{
"description": "example",
"id": 1,
"name": "example"
}
]
}
],
"total_results": 1
}
}Send contract to counterparties
Email a contract to its counterparties for review, as Word, PDF or both.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Attach as
attachment_formatslistRequired - The formats to attach the contract in.One or more of:
PDF,DOCX(Word (DOCX)),TEMPLATE. - To
to_emailslist - Who to send it to. Leave empty for the counterparty contacts on the contract.
- Cc
cc_emailslist - Who to copy.
- Bcc
bcc_emailslist - Who to blind copy.
- Subject
subjecttext - The email's subject.
- Message
custom_messagetext - A message for the counterparty.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"contract_id": "example",
"sent": true
}
}Update counterparty
Rename a counterparty or change its brand name or custom fields. Fields left empty stay as they are.
Inputs
- Counterparty
counterparty_idnumberRequired - The counterparty.
- Name
nametext - The new name.
- Brand name
brand_nametext - The new brand name.
- Custom fields
custom_fieldsobject - Custom fields to set, by name.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"brand_name": "example",
"contacts": [
{
"email": "example",
"id": 1,
"name": "example"
}
],
"custom_fields": {},
"id": 1,
"is_individual": true,
"name": "example",
"primary_address": {
"city_name": "example",
"country_name": "example",
"email": "example",
"id": 1,
"line_one": "example",
"phone": "example",
"state_name": "example",
"zipcode": "example"
},
"status": "example"
}
}Update obligation
Change an obligation's title, dates, priority or status, such as marking it completed. Fields left empty stay as they are.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Obligation
obligation_idnumberRequired - The obligation.
- Title
titletext - The new title.
- Status
statustext - The new status.One of:
PENDING,COMPLETED,FAILED,VERIFIED. - Due
end_datedate and time - The new due date.
- Starts
start_datedate and time - The new start date.
- Priority
prioritytext - The new priority.One of:
LOW,MEDIUM,HIGH. - Description
descriptiontext - The new description.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"custom_fields": {},
"description": "example",
"end_date": "example",
"entity_id": 1,
"id": 1,
"obligation_type_id": 1,
"start_date": "example",
"status": "example",
"title": "example"
}
}Upload executed contract
Add a contract that is already signed to SpotDraft's repository, from its PDF.
Inputs
- PDF file
filetextRequired - The signed contract, a PDF of up to 25 MB.
- Contract name
contract_nametextRequired - The name people see for the contract in SpotDraft.
- Contract type
contract_type_idnumberRequired - The contract type.
- File name
file_nametext - The file's name in SpotDraft, ending .pdf. Leave empty to keep the uploaded file's name.
- Your entity
entity_idnumber - Your organization entity that signed it. Leave empty for your primary entity.
- Counterparty is a person
counterparty_is_individualtrue/false - On when the counterparty is a person rather than an organization.
- Counterparty organization
counterparty_organization_nametext - The counterparty organization's name. Needed unless the counterparty is a person.
- Contact first name
contact_first_nametext - The first name of the counterparty's contact (or of the person).
- Contact last name
contact_last_nametext - The contact's last name.
- Contact email
contact_emailtext - The contact's email.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"contract_link": "example",
"contract_name": "example",
"contract_status": "example",
"contract_type_id": 1,
"contract_type_name": "example",
"counter_party_name": "example",
"created": "example",
"created_by": "example",
"created_by_user_email": "example",
"created_by_user_name": "example",
"external_metadata": {
"id": "example",
"integration_name": "example",
"record_data": {},
"record_type": "example"
},
"id": "example",
"reference_id": "example"
}
}Void contract
Void a contract so nobody can sign or change it, with a note saying why.
Inputs
- Contract
contract_idtextRequired - The contract, by its SpotDraft ID such as T-123.
- Note
notetextRequired - Why the contract is voided. It is kept with the contract.
Outputs
dataobject- The response from SpotDraft.
Example output
{
"data": {
"contract_id": "example",
"voided": true
}
}