Skip to main content
GET
/
contracts
/
v1
/
{id}
Get contract
curl --request GET \
  --url https://api.spacebring.com/contracts/v1/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "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.

Response

OK

contract
object