Contract Signing Process
List of valid attributes:
| Attribute | Description | Specifics |
|---|---|---|
| signature_level | One of advanced, qualified, simple | Must be set, currently only simple supported |
| user_id | ID of the user to sign the contract | Must be set |
Create
Example request:
{ "data": { "id": "94dca6e0-5e4d-4d63-8c78-c45b2f3f4321", "type": "contract", "attributes": { "contract_signatures": [ { "user_id": "7b93d5f0-89f6-42d5-824f-3d4d65c2e213", "signature_level": "simple" } ] } }}Example response:
{ "data": { "id": "94dca6e0-5e4d-4d63-8c78-c45b2f3f4321", "type": "contract", "attributes": { ... } }}This endpoint creates a signing process for a contract by specifying the required signatures.
HTTP Request
POST /api/v1/contracts/:contract_id/signing_process
URL Parameters
| Parameter | Description |
|---|---|
| contract_id | ID of the contract for which to create a signing process |
Delete
Example response:
{ "data": { "id": "94dca6e0-5e4d-4d63-8c78-c45b2f3f4321", "type": "contract", "attributes": { ... } }}This endpoint aborts a signing process for a contract.
HTTP Request
DELETE /api/v1/contracts/:contract_id/signing_process
URL Parameters
| Parameter | Description |
|---|---|
| contract_id | ID of the contract for which to abort the signing process |