curl --request POST \
--url https://api.spacebring.com/contracts/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"contract": {
"actionable": true,
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"endDate": "<string>",
"expirationDate": "<string>",
"items": "<array>",
"signers": "<array>",
"startDate": "<string>",
"templateRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"contract": {
"contract": {
"createDate": "2023-11-07T05:31:56Z",
"customer": {},
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"issueDate": "2023-11-07T05:31:56Z",
"items": "<array>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"unsignedDocument": {
"key": "<string>",
"url": "<string>"
},
"signedDocument": {
"key": "<string>",
"url": "<string>"
},
"endDate": "2023-11-07T05:31:56Z",
"expirationDate": "2023-11-07T05:31:56Z",
"signers": "<array>",
"startDate": "2023-11-07T05:31:56Z",
"status": "draft",
"templateRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}
}Create a contract.
communitycurl --request POST \
--url https://api.spacebring.com/contracts/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"contract": {
"actionable": true,
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"endDate": "<string>",
"expirationDate": "<string>",
"items": "<array>",
"signers": "<array>",
"startDate": "<string>",
"templateRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"contract": {
"contract": {
"createDate": "2023-11-07T05:31:56Z",
"customer": {},
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"issueDate": "2023-11-07T05:31:56Z",
"items": "<array>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"unsignedDocument": {
"key": "<string>",
"url": "<string>"
},
"signedDocument": {
"key": "<string>",
"url": "<string>"
},
"endDate": "2023-11-07T05:31:56Z",
"expirationDate": "2023-11-07T05:31:56Z",
"signers": "<array>",
"startDate": "2023-11-07T05:31:56Z",
"status": "draft",
"templateRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
Whether the contract is actionable.
The id of the customer.
The end date of the contract.
The expiration date of the contract.
The items of the contract.
The signers of the contract.
The start date of the contract.
The id of the template.
Created
Show child attributes
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
draft, issued, signed, declined