GET
/
documents
/
{id}
Retrieve a Document
curl --request GET \
  --url https://commerce.driv.ly/api/documents/{id}
{
  "data": {
    "id": "doc_5dk39d3j93jd",
    "deal": "Deal ID",
    "data": {
      "key": "value"
    },
    "isSigned": true
  },
  "success": true
}

Path Parameters

id
string
required

Document is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

Document Found

The response is of type object.