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

ActionWhat it does
Add contract commentAdd a comment to a contract's activity log.
Archive counterpartyArchive a counterparty so it is no longer offered for new contracts.
Create contract from templateCreate a contract from one of your SpotDraft templates, filled in with your values, for one counterparty.
Create counterpartyAdd an organization or a person your workspace has contracts with.
Create obligationRecord an obligation on a contract, such as a payment, a renewal notice or a delivery, with its due date.
Delete obligationDelete an obligation from a contract.
Get contract approvalsGet a contract's approvals, who each is with, its status and what approvers did.
Get contract download linkGet a short-lived link to download the contract's current version.
Get contract metadataGet the values of a contract's metadata fields, such as its dates, amounts and terms.
Get contract recipientsGet a contract's signatories, approvers and receivers, and whether each has finished.
Get contract statusGet a contract's name and where it is: draft, redlining, out for signature, executed, on hold or voided.
Get counterpartyGet a counterparty with its contacts and address.
List contract commentsList the comments on a contract's activity log, newest first, with their replies.
List contract typesList the workspace's contract types, such as NDA or MSA.
List contractsList or search the workspace's contracts, newest first unless you choose another order.
List counterpartiesList the organizations and people your workspace has contracts with.
List obligation typesList the kinds of obligation the workspace uses, such as payment or renewal.
List obligationsList a contract's obligations: what each side has to do, by when, and its status.
List templatesList the templates contracts can be created from.
List usersList the people in your SpotDraft workspace, with their roles.
Send contract to counterpartiesEmail a contract to its counterparties for review, as Word, PDF or both.
Update counterpartyRename a counterparty or change its brand name or custom fields.
Update obligationChange an obligation's title, dates, priority or status, such as marking it completed.
Upload executed contractAdd a contract that is already signed to SpotDraft's repository, from its PDF.
Void contractVoid 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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
CommentcommenttextRequired
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

Counterpartycounterparty_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

Templatetemplate_idnumberRequired
The template to create the contract from.
Contract datacontract_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 namecontract_nametext
A name for the contract. Leave empty for SpotDraft's default name.
Counterparty is a personcounterparty_is_individualtrue/false
On when the counterparty is a person rather than an organization.
Counterparty organizationcounterparty_organization_nametext
The counterparty organization's name. Needed unless the counterparty is a person.
Contact first namecontact_first_nametextRequired
The first name of the counterparty's contact (or of the person).
Contact last namecontact_last_nametext
The contact's last name.
Contact emailcontact_emailtextRequired
The contact's email.
Send to counterpartysend_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 personis_individualtrue/falseRequired
On when the counterparty is a person rather than an organization.
Organization nameorganization_nametext
The organization's name. Needed unless it is a person.
Contact namecontact_nametext
The contact's full name (or the person's).
Contact emailcontact_emailtext
The contact's email (or the person's).
Brand namebrand_nametext
The name it trades under, if it differs.
Street addressaddress_linetext
The street address.
Citycitytext
The city. Needed with a street address.
Statestatetext
The state or province.
Postal codezipcodetext
The postal code.
Country codecountry_codetext
The country's two-letter code, such as US or GB.
Custom fieldscustom_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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Obligation typeobligation_type_idnumberRequired
The kind of obligation.
TitletitletextRequired
A short title.
Dueend_datedate and timeRequired
When it is due.
PriorityprioritytextRequired
How important it is.One of: LOW, MEDIUM, HIGH.
Descriptiondescriptiontext
What has to be done.
Startsstart_datedate and time
When it starts.
Statusstatustext
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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Obligationobligation_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

Contractcontract_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 a short-lived link to download the contract's current version.

Inputs

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Formatformattext
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

Contractcontract_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

Contractcontract_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

Contractcontract_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

Counterpartycounterparty_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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Results per pagelimitnumber
How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
Pagepagenumber
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

Searchquerytext
Words to find in the contract name, entity, counterparty name or counterparty email.
Statusstatustext
Only contracts in this status.One of: DRAFT, REDLINING (Redlining (with the counterparty)), SIGN (Out for signature), EXECUTED, ON_HOLD (On hold), VOIDED.
Contract typecontract_type_idnumber
Only contracts of this type.
Counterparty namecounterparty_nametext
Only contracts with this counterparty name, exactly.
Created aftercreated_afterdate and time
Only contracts created at or after this time.
Created beforecreated_beforedate and time
Only contracts created at or before this time.
Ordersorttext
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 pagelimitnumber
How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
Pagepagenumber
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

Namenametext
Only the counterparty with this name, exactly.
Contact emailemailtext
Only counterparties with this contact email.
Statusstatustext
Only active or only archived counterparties. Leave empty for both.One of: ACTIVE, ARCHIVED.
Results per pagelimitnumber
How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
Pagepagenumber
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

Contractcontract_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 kindcounterparty_typetext
Only templates for this kind of counterparty.One of: Organisation (Organization), Individual.
Include archivedinclude_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

Emailemailtext
Only the user with this email.
Name starts withnametext
Only users whose full name starts with this.
Results per pagelimitnumber
How many to return on a page, up to 100. Leave empty for SpotDraft's default of 10.From 1 to 100.
Pagepagenumber
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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Attach asattachment_formatslistRequired
The formats to attach the contract in.One or more of: PDF, DOCX (Word (DOCX)), TEMPLATE.
Toto_emailslist
Who to send it to. Leave empty for the counterparty contacts on the contract.
Cccc_emailslist
Who to copy.
Bccbcc_emailslist
Who to blind copy.
Subjectsubjecttext
The email's subject.
Messagecustom_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

Counterpartycounterparty_idnumberRequired
The counterparty.
Namenametext
The new name.
Brand namebrand_nametext
The new brand name.
Custom fieldscustom_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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
Obligationobligation_idnumberRequired
The obligation.
Titletitletext
The new title.
Statusstatustext
The new status.One of: PENDING, COMPLETED, FAILED, VERIFIED.
Dueend_datedate and time
The new due date.
Startsstart_datedate and time
The new start date.
Priorityprioritytext
The new priority.One of: LOW, MEDIUM, HIGH.
Descriptiondescriptiontext
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 filefiletextRequired
The signed contract, a PDF of up to 25 MB.
Contract namecontract_nametextRequired
The name people see for the contract in SpotDraft.
Contract typecontract_type_idnumberRequired
The contract type.
File namefile_nametext
The file's name in SpotDraft, ending .pdf. Leave empty to keep the uploaded file's name.
Your entityentity_idnumber
Your organization entity that signed it. Leave empty for your primary entity.
Counterparty is a personcounterparty_is_individualtrue/false
On when the counterparty is a person rather than an organization.
Counterparty organizationcounterparty_organization_nametext
The counterparty organization's name. Needed unless the counterparty is a person.
Contact first namecontact_first_nametext
The first name of the counterparty's contact (or of the person).
Contact last namecontact_last_nametext
The contact's last name.
Contact emailcontact_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

Contractcontract_idtextRequired
The contract, by its SpotDraft ID such as T-123.
NotenotetextRequired
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
  }
}

On this page