{ "opencollection": "1.0.0", "info": { "name": "SpotDraft V1 Contract APIs V2.1 Contract Types API", "version": "v1" }, "items": [ { "info": { "name": "V2.1 Contract Types", "type": "folder" }, "items": [ { "info": { "name": "Get Contract Type List", "type": "http" }, "http": { "method": "GET", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contract_types/", "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Returns the contract types available to the authenticated workspace. Use these ids when creating contracts, uploading third-party paper, or querying intake-form requirements." }, { "info": { "name": "Get Access Control List for Contract Type", "type": "http" }, "http": { "method": "POST", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contract_types/:contract_type_id/access_control", "params": [ { "name": "contract_type_id", "value": "", "type": "path", "description": "ID of the Contract Type." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Returns the contract-type access rules for the requested permission filters. Use this to understand which users and roles receive access automatically for contracts created from this contract type." }, { "info": { "name": "List Contract Type Entities", "type": "http" }, "http": { "method": "GET", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contract_types/:contract_type_id/entities", "params": [ { "name": "contract_type_id", "value": "", "type": "path", "description": "ID of the Contract Type." } ], "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Returns the organization entities that can be used with this contract type. Use these ids when the workflow requires a creator-side legal entity." }, { "info": { "name": "Get Intake Form Questionnaire Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contract_types/:contract_type_id/intake_form/questionnaire/", "params": [ { "name": "contract_type_id", "value": "", "type": "path", "description": "ID of the Contract Type." } ], "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Returns the intake-form questions configured for the contract type. Use the response to build a valid questionnaire payload before you create or upload a contract for this workflow." } ] } ], "bundled": true }