SpotDraft · Capability
SpotDraft Public API — Counterparties
SpotDraft Counterparties capability. 24 operations across versions v1/v2/v2.1.
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: SpotDraft Public API — Counterparties
description: SpotDraft Counterparties capability. 24 operations across versions v1/v2/v2.1.
tags:
- SpotDraft
- CLM
- Contracts
- Counterparties
created: '2026-05-25'
modified: '2026-05-25'
binds:
- namespace: env
keys:
SPOTDRAFT_CLIENT_ID: SPOTDRAFT_CLIENT_ID
SPOTDRAFT_CLIENT_SECRET: SPOTDRAFT_CLIENT_SECRET
capability:
consumes:
- type: http
namespace: counterparties
baseUri: https://api.us.spotdraft.com
description: SpotDraft Counterparties endpoints.
headers: {}
resources:
- name: v2-1-public-counter-parties
path: /api/v2.1/public/counter_parties/
operations:
- name: v2-1-public-counter-parties-list
method: GET
description: List Counterparties
outputRawFormat: json
inputParameters:
- name: filter__client_email_address
in: query
type: string
required: false
- name: filter_custom__<custom_field_name>
in: query
type: string
required: false
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-1-public-counter-parties-create
method: POST
description: Create Counter Party
outputRawFormat: json
inputParameters:
- name: body
in: body
type: object
required: true
- name: v2-1-public-counter-parties-counterparty-id
path: /api/v2.1/public/counter_parties/{counterparty_id}
operations:
- name: v2-1-public-counter-parties-retrieve-by-id
method: GET
description: Get Counterparty
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: v2-1-public-counter-parties-partial-update
method: PATCH
description: Update Counterparty
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-1-public-counter-parties-counterparty-id-addresses
path: /api/v2.1/public/counter_parties/{counterparty_id}/addresses/
operations:
- name: v2-1-public-counter-parties-addresses-retrieve
method: GET
description: List Counterparty Addresses
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-1-public-counter-parties-addresses-create
method: POST
description: Create Counterparty Address
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-1-public-counter-parties-counterparty-id-addresses-addres
path: /api/v2.1/public/counter_parties/{counterparty_id}/addresses/{address_id}/
operations:
- name: v2-1-public-counter-parties-addresses-partial-up
method: PATCH
description: Update Counterparty Address
outputRawFormat: json
inputParameters:
- name: address_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-1-public-counter-parties-counterparty-id-contacts
path: /api/v2.1/public/counter_parties/{counterparty_id}/contacts
operations:
- name: v2-1-public-counter-parties-contacts-retrieve
method: GET
description: List Counterparty Contacts
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-1-public-counter-parties-contacts-create
method: POST
description: Create Counterparty Contact
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-1-public-counter-parties-counterparty-id-contacts-bulk
path: /api/v2.1/public/counter_parties/{counterparty_id}/contacts/bulk/
operations:
- name: v2-1-public-counter-parties-contacts-bulk-partia
method: PATCH
description: Bulk Update Counterparty Contacts
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-1-public-counter-parties-counterparty-id-contacts-contact
path: /api/v2.1/public/counter_parties/{counterparty_id}/contacts/{contact_id}/
operations:
- name: v2-1-public-counter-parties-contacts-partial-upd
method: PATCH
description: Update Counterparty Contact
outputRawFormat: json
inputParameters:
- name: contact_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-1-public-counter-parties-contacts-destroy
method: DELETE
description: Delete Counterparty Contact
outputRawFormat: json
inputParameters:
- name: contact_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true
- name: v2-public-counter-parties
path: /api/v2/public/counter_parties/
operations:
- name: v2-public-counter-parties-list
method: GET
description: List Counterparties
outputRawFormat: json
inputParameters:
- name: filter__client_email_address
in: query
type: string
required: false
- name: filter_custom__<custom_field_name>
in: query
type: string
required: false
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-public-counter-parties-create
method: POST
description: Create Counterparty
outputRawFormat: json
inputParameters:
- name: body
in: body
type: object
required: true
- name: v2-public-counter-parties-counterparty-id
path: /api/v2/public/counter_parties/{counterparty_id}
operations:
- name: v2-public-counter-parties-retrieve-by-id
method: GET
description: Get Counterparty
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: v2-public-counter-parties-partial-update
method: PATCH
description: Update Counterparty
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-public-counter-parties-counterparty-id-addresses
path: /api/v2/public/counter_parties/{counterparty_id}/addresses/
operations:
- name: v2-public-counter-parties-addresses-retrieve
method: GET
description: List Counterparty Addresses
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-public-counter-parties-addresses-create
method: POST
description: Create Counterparty Address
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-public-counter-parties-counterparty-id-addresses-address-
path: /api/v2/public/counter_parties/{counterparty_id}/addresses/{address_id}/
operations:
- name: v2-public-counter-parties-addresses-partial-upda
method: PATCH
description: Update Counterparty Address
outputRawFormat: json
inputParameters:
- name: address_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-public-counter-parties-counterparty-id-contacts
path: /api/v2/public/counter_parties/{counterparty_id}/contacts
operations:
- name: v2-public-counter-parties-contacts-retrieve
method: GET
description: List Counterparty Contacts
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: limit
in: query
type: integer
required: false
- name: page
in: query
type: integer
required: false
- name: v2-public-counter-parties-contacts-create
method: POST
description: Create Counterparty Contact
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-public-counter-parties-counterparty-id-contacts-bulk
path: /api/v2/public/counter_parties/{counterparty_id}/contacts/bulk/
operations:
- name: v2-public-counter-parties-contacts-bulk-partial-
method: PATCH
description: Bulk Update Counterparty Contacts
outputRawFormat: json
inputParameters:
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: true
- name: v2-public-counter-parties-counterparty-id-contacts-contact-i
path: /api/v2/public/counter_parties/{counterparty_id}/contacts/{contact_id}/
operations:
- name: v2-public-counter-parties-contacts-partial-updat
method: PATCH
description: Update Counterparty Contact
outputRawFormat: json
inputParameters:
- name: contact_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true
- name: body
in: body
type: object
required: false
- name: v2-public-counter-parties-contacts-destroy
method: DELETE
description: Delete Counterparty Contact
outputRawFormat: json
inputParameters:
- name: contact_id
in: path
type: integer
required: true
- name: counterparty_id
in: path
type: integer
required: true