Papermark
App · 20 actions
Organize documents and read share link and data room activity.
Actions
| Action | What it does |
|---|---|
| Create a folder | Create a folder. |
| Delete a folder | Delete a folder. |
| Get a data room | Get a data room. |
| Get a document | Get a document. |
| Get a folder | Get a folder. |
| Get a share link | Get a share link. |
| Get data room analytics | Get data room analytics. |
| Get document analytics | Get document analytics. |
| Get share link analytics | Get share link analytics. |
| List data rooms | List data rooms. |
| List document versions | List document versions. |
| List documents | List documents. |
| List documents in a data room | List documents in a data room. |
| List folders | List folders. |
| List folders in a data room | List folders in a data room. |
| List share link permissions | List share link permissions. |
| List share link views | List share link views. |
| List share links | List share links. |
| Rename a folder | Rename a folder. |
| Search documents | Search documents. |
Create a folder
Create a folder.
Inputs
- Name
nametextRequired - Name.
- Parent
parent_idtext - Optional parent folder id. Omit or pass null to create at the team-library root.
- Icon
icontext - Allowed folder icon name.One of:
folder,folder-open,briefcase,archive,box,file,book,bookmark,star,heart, and 25 more. - Color
colortext - Allowed folder color token.One of:
gray,red,orange,yellow,green,blue,black.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"child_folder_count": 1,
"color": "example",
"created": "example",
"document_count": 1,
"icon": "example",
"id": "example",
"name": "example",
"object": "folder",
"parent_id": "example",
"path": "example",
"updated_at": "example"
}
}Delete a folder
Delete a folder.
Inputs
- Folder
folder_idtextRequired - Folder id.
- Cascade
cascadetext - When `true`, deletes the folder and every nested folder + document inside it. Without `cascade=true` a non-empty folder returns 409.One of:
true,false.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"deleted": true,
"id": "example",
"object": "document"
}
}Get a data room
Get a data room.
Inputs
- Dataroom
dataroom_idtextRequired - The record ID.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"agents_enabled": true,
"allow_bulk_download": true,
"conversations_enabled": true,
"created": "example",
"description": "example",
"document_count": 1,
"folder_count": 1,
"id": "example",
"internal_name": "example",
"is_frozen": true,
"name": "example",
"object": "dataroom",
"pid": "example",
"updated_at": "example"
}
}Get a document
Get a document.
Inputs
- Document
document_idtextRequired - Document id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"content_type": "example",
"created": "example",
"folder_id": "example",
"id": "example",
"name": "example",
"num_pages": 1,
"object": "document",
"type": "example",
"updated_at": "example",
"url": "example"
}
}Get a folder
Get a folder.
Inputs
- Folder
folder_idtextRequired - Folder id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"child_folder_count": 1,
"color": "example",
"created": "example",
"document_count": 1,
"icon": "example",
"id": "example",
"name": "example",
"object": "folder",
"parent_id": "example",
"path": "example",
"updated_at": "example"
}
}Get a share link
Get a share link.
Inputs
- Link
link_idtextRequired - Link id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"agreement_id": "example",
"allow_download": true,
"allow_list": [
"example"
],
"audience_type": "general",
"created": "example",
"custom_fields": [
{
"disabled": true,
"identifier": "example",
"label": "example",
"order_index": 1,
"placeholder": "example",
"required": true,
"type": "example"
}
],
"dataroom_id": "example",
"deny_list": [
"example"
],
"document_id": "example",
"domain": "example",
"email_authenticated": true,
"email_protected": true,
"enable_agreement": true,
"enable_confidential_view": true,
"enable_feedback": true,
"enable_notification": true,
"enable_screenshot_protection": true,
"enable_watermark": true,
"expires_at": "example",
"group_id": "example",
"id": "example",
"is_password_protected": true,
"name": "example",
"object": "link",
"show_banner": true,
"slug": "example",
"target_type": "document",
"updated_at": "example",
"url": "example",
"watermark_config": {
"color": "example",
"font_size": 1,
"is_tiled": true,
"opacity": 1,
"position": "top-left",
"rotation": {},
"text": "example"
},
"welcome_message": "example"
}
}Get data room analytics
Get data room analytics.
Inputs
- Since
sincedate and time - Start of the analytics window.
- Until
untildate and time - End of the analytics window.
- Dataroom
dataroom_idtextRequired - The record ID.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"dataroom_id": "example",
"since": "example",
"total_duration_seconds": 1,
"total_views": 1,
"unique_viewers": 1,
"until": "example"
}
}Get document analytics
Get document analytics.
Inputs
- Since
sincedate and time - Start of the analytics window.
- Until
untildate and time - End of the analytics window.
- Document
document_idtextRequired - The record ID.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"avg_page_duration_seconds": [
{
"avg_duration_seconds": 1,
"page_number": 1
}
],
"document_id": "example",
"since": "example",
"total_duration_seconds": 1,
"total_views": 1,
"unique_viewers": 1,
"until": "example"
}
}Get share link analytics
Get share link analytics.
Inputs
- Since
sincedate and time - Start of the analytics window.
- Until
untildate and time - End of the analytics window.
- Link
link_idtextRequired - The record ID.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"link_id": "example",
"since": "example",
"total_duration_seconds": 1,
"total_views": 1,
"unique_viewers": 1,
"until": "example"
}
}List data rooms
List data rooms.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Query
querytext - Query.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"agents_enabled": true,
"allow_bulk_download": true,
"conversations_enabled": true,
"created": "example",
"description": "example",
"document_count": 1,
"folder_count": 1,
"id": "example",
"internal_name": "example",
"is_frozen": true,
"name": "example",
"object": "dataroom",
"pid": "example",
"updated_at": "example"
}
],
"next_cursor": "example"
}
}List document versions
List document versions.
Inputs
- Document
document_idtextRequired - Document id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"content_type": "example",
"created": "example",
"file_size": 1,
"id": "example",
"is_primary": true,
"num_pages": 1,
"object": "document_version",
"type": "example",
"updated_at": "example",
"version_number": 1
}
]
}
}List documents
List documents.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Folder ID
folder_idtext - Folder id.
- Query
querytext - Query.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"content_type": "example",
"created": "example",
"folder_id": "example",
"id": "example",
"name": "example",
"num_pages": 1,
"object": "document",
"type": "example",
"updated_at": "example",
"url": "example"
}
],
"next_cursor": "example"
}
}List documents in a data room
List documents in a data room.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Folder ID
folder_idtext - Filter to documents inside a specific folder.
- Dataroom
dataroom_idtextRequired - The record ID.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"content_type": "example",
"created": "example",
"document_id": "example",
"document_name": "example",
"folder_id": "example",
"folder_path": "example",
"id": "example",
"num_pages": 1,
"object": "dataroom_document",
"order_index": 1,
"type": "example",
"url": "example"
}
],
"next_cursor": "example"
}
}List folders
List folders.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Parent
parent_idtext - When provided, returns only direct children of this folder. Use the literal string `root` to list top-level folders.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"child_folder_count": 1,
"color": "example",
"created": "example",
"document_count": 1,
"icon": "example",
"id": "example",
"name": "example",
"object": "folder",
"parent_id": "example",
"path": "example",
"updated_at": "example"
}
],
"next_cursor": "example"
}
}List folders in a data room
List folders in a data room.
Inputs
- Dataroom
dataroom_idtextRequired - Dataroom id.
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Parent ID
parent_idtext - When provided, returns only direct children of this folder. Use the literal `root` to list top-level folders. Without `parent_id`, returns every folder in the dataroom.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"child_folder_count": 1,
"color": "example",
"created": "example",
"document_count": 1,
"icon": "example",
"id": "example",
"name": "example",
"object": "dataroom_folder",
"order_index": 1,
"parent_id": "example",
"path": "example",
"updated_at": "example"
}
],
"next_cursor": "example"
}
}List share link permissions
List share link permissions.
Inputs
- Link
link_idtextRequired - Link id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"can_download": true,
"can_download_original": true,
"can_view": true,
"item_id": "example",
"item_type": "dataroom_document",
"object": "link_permission",
"updated_at": "example"
}
]
}
}List share link views
List share link views.
Inputs
- Link
link_idtextRequired - Link id.
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"dataroom_id": "example",
"document_id": "example",
"download_type": "example",
"downloaded_at": "example",
"id": "example",
"link_id": "example",
"object": "view",
"view_type": "example",
"viewed_at": "example",
"viewer_email": "example"
}
],
"next_cursor": "example"
}
}List share links
List share links.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Document
document_idtext - Document id.
- Dataroom ID
dataroom_idtext - Dataroom id.
- Group ID
group_idtext - Group id.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"agreement_id": "example",
"allow_download": true,
"allow_list": [
"example"
],
"audience_type": "general",
"created": "example",
"custom_fields": [
{}
],
"dataroom_id": "example",
"deny_list": [
"example"
],
"document_id": "example",
"domain": "example",
"email_authenticated": true,
"email_protected": true,
"enable_agreement": true,
"enable_confidential_view": true,
"enable_feedback": true,
"enable_notification": true,
"enable_screenshot_protection": true,
"enable_watermark": true,
"expires_at": "example",
"group_id": "example",
"id": "example",
"is_password_protected": true,
"name": "example",
"object": "link",
"show_banner": true,
"slug": "example",
"target_type": "document",
"updated_at": "example",
"url": "example",
"watermark_config": {},
"welcome_message": "example"
}
],
"next_cursor": "example"
}
}Rename a folder
Rename a folder.
Inputs
- Folder
folder_idtextRequired - Folder id.
- Name
nametext - Name.
- Icon
icontext - Allowed folder icon name.One of:
folder,folder-open,briefcase,archive,box,file,book,bookmark,star,heart, and 25 more. - Color
colortext - Allowed folder color token.One of:
gray,red,orange,yellow,green,blue,black.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"child_folder_count": 1,
"color": "example",
"created": "example",
"document_count": 1,
"icon": "example",
"id": "example",
"name": "example",
"object": "folder",
"parent_id": "example",
"path": "example",
"updated_at": "example"
}
}Search documents
Search documents.
Inputs
- Q
qtextRequired - Q.
- Limit
limitnumber - Limit.From 1 to 100.
Outputs
dataobject- The response from Papermark.
Example output
{
"data": {
"data": [
{
"content_type": "example",
"created": "example",
"folder_id": "example",
"id": "example",
"name": "example",
"num_pages": 1,
"object": "document",
"type": "example",
"updated_at": "example",
"url": "example"
}
],
"next_cursor": "example"
}
}