{ "opencollection": "1.0.0", "info": { "name": "SpotDraft V1 Contract APIs V2.1 Contract Invitations API", "version": "v1" }, "items": [ { "info": { "name": "V2.1 Contract Invitations", "type": "folder" }, "items": [ { "info": { "name": "Invite Users & Roles", "type": "http" }, "http": { "method": "POST", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contracts/:contract_id/invite/", "params": [ { "name": "contract_id", "value": "", "type": "path", "description": "ID of the Contract." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "\nInvites specific users or roles to collaborate on the contract.\nThis grants contract-level access in addition to any access already inherited from the contract type.\n" }, { "info": { "name": "Un-invite a User or Role", "type": "http" }, "http": { "method": "POST", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contracts/:contract_id/uninvite/", "params": [ { "name": "contract_id", "value": "", "type": "path", "description": "ID of the Contract." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Un-Invite a specific user or roles to this contract who have been invited. This does not change contract type based access, this will also not remove read access given to sign recipients." }, { "info": { "name": "Un-invite All Users & Roles", "type": "http" }, "http": { "method": "POST", "url": "https://api.eu.spotdraft.com/api/v2.1/public/contracts/:contract_id/uninvite_all/", "params": [ { "name": "contract_id", "value": "", "type": "path", "description": "ID of the Contract." } ], "auth": { "type": "apikey", "key": "client-id", "value": "{{client-id}}", "placement": "header" } }, "docs": "Un-Invite all the users and roles who have been invited to this contract. This does not change contract type based access. this will also not remove read access given to sign recipients." } ] } ], "bundled": true }