Skip to main content
Get a repository document
curl --request GET \
  --url https://app.simpledocs.com/api/v1/repository_documents/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "0dbhXg",
    "type": "repository_document",
    "attributes": {
      "name": "Employment Agreement.pdf",
      "custom_fields": {},
      "created_at": "2023-11-07T05:31:56Z",
      "agreement_url": "<string>"
    },
    "relationships": {
      "legal_request": {
        "data": {
          "id": "<string>",
          "type": "legal_request"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Obtain a Bearer token via the Create access token endpoint using the OAuth2 client credentials flow.

Path Parameters

id
string
required

The resource's hash ID.

Example:

"0dbhXg"

Response

The repository document.

data
object