iManage Work
App · 25 actions
File, find and manage legal documents in iManage Work: search and upload documents, add versions, check them out, read their history, organise matter workspaces and folders, and start workflows when a document is filed, changed or checked out.
Actions
| Action | What it does |
|---|---|
| Add document version | Add a new version of a document with a new file. |
| Check out document | Check a document out to the user, so nobody else changes it until it is released. |
| Create subfolder | Add a folder inside a folder. |
| Create workspace | Create a workspace in a library, such as one for a new matter. |
| Create workspace folder | Add a folder at the top of a workspace. |
| Delete document | Delete a document version from iManage. |
| Delete workspace | Delete a workspace and its folders. |
| Download document | Get a document's file, for later steps to attach, read or send. |
| Get document | Get a document's profile: name, number, version, class, author, client, matter and dates. |
| Get document history | Get a document's history: who opened, changed, printed or moved it, and when. |
| Get workspace | Get a workspace's profile: name, description, client, matter and owner. |
| List checked-out documents | List the documents checked out in a library. |
| List document versions | List the versions of a document the user can see, with each one's profile. |
| List folder documents | List the documents in a folder. |
| List libraries | List the iManage libraries (databases) the user can open. |
| List subfolders | List the folders inside a folder. |
| List users | List the users of a library, with their user IDs and email addresses. |
| List workspace folders | List the folders at the top of a workspace. |
| Release document check-out | Take the check-out lock off a document, keeping the file it has, so others can change it again. |
| Search documents | Find documents in a library by name, document number, client or matter. |
| Search workspaces | Find workspaces in a library by name, client or matter, or list them all. |
| Update document profile | Change a document's name, comments, class, author, client or matter. |
| Update folder | Rename a folder or change its description. |
| Update workspace | Change a workspace's name, description, client, matter or owner. |
| Upload document | File a new document into a folder, with its profile. |
Add document version
Add a new version of a document with a new file. Give a file, or text to store as a text file.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- File
filetext - The file: upload one or pick one from an earlier step.
- Text
contenttext - Text to store as the file, when no file is given.
- File name
file_nametext - The file's name with its extension, such as letter.docx. Its extension is the document's file type.
- Comments
commenttext - Comments on the new version.
Outputs
documentobject- An iManage document's profile
document_idtext- The new version's ID
file_nametext- The name the file was sent as
Example output
{
"document": {
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.2",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 2
},
"document_id": "ACTIVE_US!453.2",
"file_name": "Engagement letter.docx"
}Check out document
Check a document out to the user, so nobody else changes it until it is released.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Comments
commentstext - Why it is checked out.
- Due back
due_datedate and time - When it should be checked back in.
Outputs
checked_outtrue/false- True once it is checked out
documentobject- An iManage document's profile
document_idtext- The document
Example output
{
"checked_out": true,
"document": {
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": true,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
},
"document_id": "ACTIVE_US!453.1"
}Create subfolder
Add a folder inside a folder.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as ACTIVE_US!108, from 'List workspace folders', a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Name
nametextRequired - The new folder's name.
- Description
descriptiontext - A description.
- Default security
default_securitytext - Who can see it by default. Leave empty to inherit the parent's.One of:
inherit(Inherit from where it is),private,view(View only),public.
Outputs
folderobject- An iManage folder
folder_idtext- The new folder's ID
Example output
{
"folder": {
"database": "ACTIVE_US",
"default_security": "inherit",
"description": "Letters to and from the client",
"id": "ACTIVE_US!109",
"name": "Drafts",
"wstype": "folder"
},
"folder_id": "ACTIVE_US!109"
}Create workspace
Create a workspace in a library, such as one for a new matter.
Inputs
- Library
librarytextRequired - The iManage library (database) to work in, such as ACTIVE_US.
- Name
nametextRequired - The workspace's name.
- Description
descriptiontext - A description.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
- Owner
ownertext - The owner's user ID, such as JSMITH. Defaults to the connected user.
- Default security
default_securitytext - Who can see it by default. Leave empty for the library's default.One of:
private,view(View only),public.
Outputs
workspaceobject- An iManage workspace (usually one per matter)
workspace_idtext- The new workspace's ID
Example output
{
"workspace": {
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"default_security": "private",
"description": "2026 lease renewal for the Main Street office",
"id": "ACTIVE_US!427",
"name": "Acme Corp - Lease renewal",
"owner": "JSMITH"
},
"workspace_id": "ACTIVE_US!427"
}Create workspace folder
Add a folder at the top of a workspace.
Inputs
- Workspace
workspace_idtextRequired - The workspace. Pick one, or give its ID, such as ACTIVE_US!427.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Name
nametextRequired - The new folder's name.
- Description
descriptiontext - A description.
- Default security
default_securitytext - Who can see it by default. Leave empty to inherit the workspace's.One of:
inherit(Inherit from where it is),private,view(View only),public.
Outputs
folderobject- An iManage folder
folder_idtext- The new folder's ID
Example output
{
"folder": {
"database": "ACTIVE_US",
"default_security": "inherit",
"description": "Letters to and from the client",
"id": "ACTIVE_US!108",
"name": "Correspondence",
"wstype": "folder"
},
"folder_id": "ACTIVE_US!108"
}Delete document
Delete a document version from iManage. The user needs rights to delete it.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
deletedtrue/false- True once it is deleted
document_idtext- The deleted document
Example output
{
"deleted": true,
"document_id": "ACTIVE_US!453.1"
}Delete workspace
Delete a workspace and its folders. The user needs rights to delete it.
Inputs
- Workspace
workspace_idtextRequired - The workspace. Pick one, or give its ID, such as ACTIVE_US!427.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
deletedtrue/false- True once it is deleted
workspace_idtext- The deleted workspace
Example output
{
"deleted": true,
"workspace_id": "ACTIVE_US!427"
}Download document
Get a document's file, for later steps to attach, read or send.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
content_typetext- The file's type, such as application/pdf
document_idtext- The document
document_reftext- The file, for later steps to use
file_nametext- The file's name
sizenumber- The file's size in bytes
Example output
{
"content_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"document_id": "ACTIVE_US!453.1",
"document_ref": "doc_0123456789abcdef0123456789abcdef",
"file_name": "Engagement letter.docx",
"size": 48213
}Get document
Get a document's profile: name, number, version, class, author, client, matter and dates.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
documentobject- An iManage document's profile
Example output
{
"document": {
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
}
}Get document history
Get a document's history: who opened, changed, printed or moved it, and when.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
countnumber- How many there are
document_idtext- The document
entrieslist- The history entries
Example output
{
"count": 1,
"document_id": "ACTIVE_US!453.1",
"entries": [
{
"activity": "Edit",
"activity_date": "2026-10-29T09:12:40Z",
"user": "JSMITH"
}
]
}Get workspace
Get a workspace's profile: name, description, client, matter and owner.
Inputs
- Workspace
workspace_idtextRequired - The workspace. Pick one, or give its ID, such as ACTIVE_US!427.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
workspaceobject- An iManage workspace (usually one per matter)
Example output
{
"workspace": {
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"default_security": "private",
"description": "2026 lease renewal for the Main Street office",
"id": "ACTIVE_US!427",
"name": "Acme Corp - Lease renewal",
"owner": "JSMITH"
}
}List checked-out documents
List the documents checked out in a library.
Inputs
- Library
librarytextRequired - The iManage library (database) to work in, such as ACTIVE_US.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
documentslist- The documents
librarytext- The library
Example output
{
"count": 1,
"documents": [
{
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": true,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
}
],
"library": "ACTIVE_US"
}List document versions
List the versions of a document the user can see, with each one's profile.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
countnumber- How many there are
document_idtext- The document
versionslist- The versions
Example output
{
"count": 1,
"document_id": "ACTIVE_US!453.1",
"versions": [
{
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
}
]
}List folder documents
List the documents in a folder.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as ACTIVE_US!108, from 'List workspace folders', a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
documentslist- The documents
folder_idtext- The folder
Example output
{
"count": 1,
"documents": [
{
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
}
],
"folder_id": "ACTIVE_US!108"
}List libraries
List the iManage libraries (databases) the user can open.
Inputs
None.
Outputs
countnumber- How many there are
librarieslist- The libraries
Example output
{
"count": 1,
"libraries": [
{
"id": "ACTIVE_US",
"type": "worksite"
}
]
}List subfolders
List the folders inside a folder.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as ACTIVE_US!108, from 'List workspace folders', a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
folder_idtext- The parent folder
folderslist- The folders
Example output
{
"count": 1,
"folder_id": "ACTIVE_US!108",
"folders": [
{
"database": "ACTIVE_US",
"default_security": "inherit",
"description": "Letters to and from the client",
"id": "ACTIVE_US!109",
"name": "Drafts",
"wstype": "folder"
}
]
}List users
List the users of a library, with their user IDs and email addresses.
Inputs
- Library
librarytextRequired - The iManage library (database) to work in, such as ACTIVE_US.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
librarytext- The library
userslist- The users
Example output
{
"count": 1,
"library": "ACTIVE_US",
"users": [
{
"email": "jsmith@example.com",
"full_name": "Jane Smith",
"id": "JSMITH",
"preferred_library": "ACTIVE_US"
}
]
}List workspace folders
List the folders at the top of a workspace.
Inputs
- Workspace
workspace_idtextRequired - The workspace. Pick one, or give its ID, such as ACTIVE_US!427.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
folderslist- The folders
workspace_idtext- The workspace
Example output
{
"count": 1,
"folders": [
{
"database": "ACTIVE_US",
"default_security": "inherit",
"description": "Letters to and from the client",
"id": "ACTIVE_US!108",
"name": "Correspondence",
"wstype": "folder"
}
],
"workspace_id": "ACTIVE_US!427"
}Release document check-out
Take the check-out lock off a document, keeping the file it has, so others can change it again.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
Outputs
document_idtext- The document
releasedtrue/false- True once the lock is off
Example output
{
"document_id": "ACTIVE_US!453.1",
"released": true
}Search documents
Find documents in a library by name, document number, client or matter. Give at least one.
Inputs
- Library
librarytextRequired - The iManage library (database) to work in, such as ACTIVE_US.
- Name
nametext - Text in the document's name (its description in iManage).
- Document number
document_numbertext - The document number, such as 453.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
- Leave out emails
exclude_emailstrue/false - Only documents, not filed emails.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
Outputs
countnumber- How many there are
documentslist- The documents
librarytext- The library
Example output
{
"count": 1,
"documents": [
{
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
}
],
"library": "ACTIVE_US"
}Search workspaces
Find workspaces in a library by name, client or matter, or list them all.
Inputs
- Library
librarytextRequired - The iManage library (database) to work in, such as ACTIVE_US.
- Name
nametext - Text in the workspace's name.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
- Page size
limitnumber - How many to return at most, 1 to 500. Defaults to 100.From 1 to 500.
- Skip
offsetnumber - How many to skip, to get the next page. Defaults to 0.At least 0.
Outputs
countnumber- How many there are
librarytext- The library
workspaceslist- The workspaces
Example output
{
"count": 1,
"library": "ACTIVE_US",
"workspaces": [
{
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"default_security": "private",
"description": "2026 lease renewal for the Main Street office",
"id": "ACTIVE_US!427",
"name": "Acme Corp - Lease renewal",
"owner": "JSMITH"
}
]
}Update document profile
Change a document's name, comments, class, author, client or matter. Fields left empty keep their values.
Inputs
- Document ID
document_idtextRequired - The document's ID, such as ACTIVE_US!453.1 (library!number.version), from a search, a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Name
nametext - The document's new name.
- Comments
commenttext - New comments.
- Class
document_classtext - The new document class, such as DOC.
- Author
authortext - The user ID of the new author, such as JSMITH.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
Outputs
documentobject- An iManage document's profile
updated_fieldslist- The fields that were sent
Example output
{
"document": {
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
},
"updated_fields": [
"name"
]
}Update folder
Rename a folder or change its description.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as ACTIVE_US!108, from 'List workspace folders', a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Name
nametext - The folder's new name.
- Description
descriptiontext - A description.
Outputs
folderobject- An iManage folder
folder_idtext- The folder
updated_fieldslist- The fields that were sent
Example output
{
"folder": {
"database": "ACTIVE_US",
"default_security": "inherit",
"description": "Letters to and from the client",
"id": "ACTIVE_US!108",
"name": "Correspondence",
"wstype": "folder"
},
"folder_id": "ACTIVE_US!108",
"updated_fields": [
"name"
]
}Update workspace
Change a workspace's name, description, client, matter or owner. Fields left empty keep their values.
Inputs
- Workspace
workspace_idtextRequired - The workspace. Pick one, or give its ID, such as ACTIVE_US!427.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- Name
nametext - The workspace's new name.
- Description
descriptiontext - A description.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
- Owner
ownertext - The new owner's user ID, such as JSMITH.
Outputs
updated_fieldslist- The fields that were sent
workspaceobject- An iManage workspace (usually one per matter)
Example output
{
"updated_fields": [
"name"
],
"workspace": {
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"default_security": "private",
"description": "2026 lease renewal for the Main Street office",
"id": "ACTIVE_US!427",
"name": "Acme Corp - Lease renewal",
"owner": "JSMITH"
}
}Upload document
File a new document into a folder, with its profile. Give a file, or text to store as a text file.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as ACTIVE_US!108, from 'List workspace folders', a trigger or an earlier step.
- Library
librarytext - The library the item is in. Only needed when the ID is a bare number: IDs from iManage, such as ACTIVE_US!453.1, already name it.
- File
filetext - The file: upload one or pick one from an earlier step.
- Text
contenttext - Text to store as the file, when no file is given.
- File name
file_nametext - The file's name with its extension, such as letter.docx. Its extension is the document's file type.
- Name
nametext - The document's name in iManage. Defaults to the file name without its extension.
- Class
document_classtext - The document class, such as DOC (used when left empty) or MEMO. Your library's classes are in iManage's profile form.
- Comments
commenttext - Comments on the document.
- Client (custom1)
custom1text - The client number, kept in iManage's custom1 field, such as 1077.
- Matter (custom2)
custom2text - The matter number, kept in iManage's custom2 field, such as 0004.
Outputs
documentobject- An iManage document's profile
document_idtext- The new document's ID
file_nametext- The name the file was sent as
Example output
{
"document": {
"author": "JSMITH",
"class": "DOC",
"comment": "Signed copy to follow",
"create_date": "2026-10-28T15:04:11Z",
"custom1": "1077",
"custom2": "0004",
"database": "ACTIVE_US",
"document_number": 453,
"edit_date": "2026-10-29T09:12:40Z",
"extension": "docx",
"id": "ACTIVE_US!453.1",
"is_checked_out": false,
"last_user": "JSMITH",
"name": "Engagement letter",
"size": 48213,
"type": "WORDX",
"version": 1
},
"document_id": "ACTIVE_US!453.1",
"file_name": "Engagement letter.docx"
}