Papermark

App · 20 actions

Organize documents and read share link and data room activity.

Actions

ActionWhat it does
Create a folderCreate a folder.
Delete a folderDelete a folder.
Get a data roomGet a data room.
Get a documentGet a document.
Get a folderGet a folder.
Get a share linkGet a share link.
Get data room analyticsGet data room analytics.
Get document analyticsGet document analytics.
Get share link analyticsGet share link analytics.
List data roomsList data rooms.
List document versionsList document versions.
List documentsList documents.
List documents in a data roomList documents in a data room.
List foldersList folders.
List folders in a data roomList folders in a data room.
List share link permissionsList share link permissions.
List share link viewsList share link views.
List share linksList share links.
Rename a folderRename a folder.
Search documentsSearch documents.

Create a folder

Create a folder.

Inputs

NamenametextRequired
Name.
Parentparent_idtext
Optional parent folder id. Omit or pass null to create at the team-library root.
Iconicontext
Allowed folder icon name.One of: folder, folder-open, briefcase, archive, box, file, book, bookmark, star, heart, and 25 more.
Colorcolortext
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

Folderfolder_idtextRequired
Folder id.
Cascadecascadetext
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

Dataroomdataroom_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

Documentdocument_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

Folderfolder_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.

Inputs

Linklink_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

Sincesincedate and time
Start of the analytics window.
Untiluntildate and time
End of the analytics window.
Dataroomdataroom_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

Sincesincedate and time
Start of the analytics window.
Untiluntildate and time
End of the analytics window.
Documentdocument_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.

Inputs

Sincesincedate and time
Start of the analytics window.
Untiluntildate and time
End of the analytics window.
Linklink_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

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Queryquerytext
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

Documentdocument_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

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Folder IDfolder_idtext
Folder id.
Queryquerytext
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

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Folder IDfolder_idtext
Filter to documents inside a specific folder.
Dataroomdataroom_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

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Parentparent_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

Dataroomdataroom_idtextRequired
Dataroom id.
Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Parent IDparent_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.

Inputs

Linklink_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.

Inputs

Linklink_idtextRequired
Link id.
Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
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.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Cursorcursortext
Cursor.
Documentdocument_idtext
Document id.
Dataroom IDdataroom_idtext
Dataroom id.
Group IDgroup_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

Folderfolder_idtextRequired
Folder id.
Namenametext
Name.
Iconicontext
Allowed folder icon name.One of: folder, folder-open, briefcase, archive, box, file, book, bookmark, star, heart, and 25 more.
Colorcolortext
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

QqtextRequired
Q.
Limitlimitnumber
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"
  }
}

On this page