Skip to content
Select language:English

/api/v1/locations/{id}/paperless/documents

GET
/api/v1/locations/{id}/paperless/documents
curl --request GET \
--url 'https://example.com/api/v1/locations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/paperless/documents?page=1'
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
q
string
<= 200 characters
page
integer
default: 1 >= 1 <= 500
thingId
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
placeId
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/

Default Response

Media typeapplication/json
object
count
required
integer
>= -9007199254740991 <= 9007199254740991
page
required
integer
>= -9007199254740991 <= 9007199254740991
pageSize
required
integer
>= -9007199254740991 <= 9007199254740991
items
required
Array<object>
object
documentId
required
integer
>= -9007199254740991 <= 9007199254740991
title
required
string
kind
required
string
Allowed values: receipt invoice manual warranty_doc document
typeName
required
string | null
correspondent
required
string | null
createdOn
required
string | null
tags
required
Array<string>
linked
required
boolean
openUrl
required
string
Example
{
"items": [
{
"kind": "receipt"
}
]
}