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" } } } } }

Documentation Index

Fetch the complete documentation index at: https://docs.simpledocs.com/llms.txt

Use this file to discover all available pages before exploring further.

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