List library documents
curl --request GET \
--url https://my.flowsign.app/api/v1/library/documents \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.flowsign.app/api/v1/library/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.flowsign.app/api/v1/library/documents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/library/documents");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"data": {
"documents": [
{
"id": "<string>",
"title": "<string>",
"pageCount": 123,
"fileSize": 123,
"kind": "STANDARD",
"fieldCount": 1,
"roles": [
{
"id": "<string>",
"name": "<string>",
"order": 123
}
],
"thumbnailUrl": "<string>"
}
]
}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}Library
List library documents
Lists up to 50 library documents that can be attached to a package, pinned first and then most recently updated. query filters by title. Each document lists its roles, whose ids are the keys of roleMap when attaching. thumbnailUrl is signed and expires after an hour. Requires canSendPackages.
GET
/
api
/
v1
/
library
/
documents
List library documents
curl --request GET \
--url https://my.flowsign.app/api/v1/library/documents \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.flowsign.app/api/v1/library/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.flowsign.app/api/v1/library/documents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://my.flowsign.app/api/v1/library/documents");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"data": {
"documents": [
{
"id": "<string>",
"title": "<string>",
"pageCount": 123,
"fileSize": 123,
"kind": "STANDARD",
"fieldCount": 1,
"roles": [
{
"id": "<string>",
"name": "<string>",
"order": 123
}
],
"thumbnailUrl": "<string>"
}
]
}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}{
"error": "<string>",
"details": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The workspace to act in, from GET /api/v1/workspaces. Omit to act in the organisation's default workspace. A workspace the key's user cannot act in is treated as omitted.
Query Parameters
Minimum string length:
1Response
Success
Show child attributes
Show child attributes
Was this page helpful?

