Skip to main content
POST
/
contracts
/
v1
/
{id}
/
issue
Issue contract
curl --request POST \
  --url https://api.spacebring.com/contracts/v1/{id}/issue \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signatureMethod": "eSignature"
}
'
{
  "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>"
    }
  }
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Path Parameters

id
string<uuid>
required

The id of the contract.

Body

application/json
signatureMethod
enum<string>
required

The method to use to sign the contract.

Available options:
eSignature,
manual

Response

OK

contract
object