- Omni
- Document APIs
- Storage
- Category
- Document
- Sharing
List Shared Documents
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/documents/{document_id}/shares/
Last modified:2025-05-23 06:55:06
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
document_id
string
required
Example:
01JVVJNAVTB19FN3F7W1NHBPT6
Query Params
expires_at_gte
string
optional
expires_at_lte
string
optional
expires_at
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/documents/01JVVJNAVTB19FN3F7W1NHBPT6/shares/'
Responses
🟢200Success
application/json
Body
count
integer
required
total_pages
integer
required
current_page
integer
required
has_previous
boolean
required
has_next
boolean
required
previous_page
null
required
next_page
null
required
results
array [object {9}]
required
id
string
required
tenant_id
string
required
created_by
string
required
updated_by
string
required
created_at
string
required
updated_at
string
required
expires_at
string
required
token
string
required
document
string
required
Example
{
"count": 2,
"total_pages": 1,
"current_page": 1,
"has_previous": false,
"has_next": false,
"previous_page": null,
"next_page": null,
"results": [
{
"id": "01JQ8NZY29A8XYWQ1ZAQR4KRJD",
"tenant_id": "23067dbc-6c62-4203-9014-7100e4ffe811",
"created_by": "6da08401-b1f7-46ec-9013-2a9d7bc6185c",
"updated_by": "",
"created_at": "2025-03-26T13:04:42.515885Z",
"updated_at": "2025-03-26T13:04:42.515912Z",
"expires_at": "2025-04-01T11:08:35.000000Z",
"token": "eyJkb2NfaWQiOiIwMUpROE1aMFA5NEhSNkhTSDFER1k1Vk5IOSIsImV4cCI6MTc0MzQ4NTkxNX0:1txLHe:HgE71qPbk4BdkernCAL_S0tDCV7gjuT2QdibFZ29NZA",
"document": "01JQ8MZ0P94HR6HSH1DGY5VNH9"
},
{
"id": "01JQ8N4PXMJ9182MVJXVEWXMXN",
"tenant_id": "23067dbc-6c62-4203-9014-7100e4ffe811",
"created_by": "6da08401-b1f7-46ec-9013-2a9d7bc6185c",
"updated_by": "",
"created_at": "2025-03-26T12:49:50.459749Z",
"updated_at": "2025-03-26T12:49:50.459770Z",
"expires_at": "2025-04-01T11:08:35.000000Z",
"token": "eyJkb2NfaWQiOiIwMUpROE1aMFA5NEhSNkhTSDFER1k1Vk5IOSIsImV4cCI6MTc0MzQ4NTkxNX0:1txL3G:uN58FAx4cjKGUuWDlwAFvxxfB_jhPKPbXSPgmsd3ihA",
"document": "01JQ8MZ0P94HR6HSH1DGY5VNH9"
}
]
}