Intralinks Developer Portal

This API creates a new document in a workspace.


Resource Location

POST /v1/services/workspaces/documents


Authorization Type

HTTP Cookie ssoGlobalSessionID


Request Parameters

Name Description Required Example
method Intralinks call method. Must be set to CREATE Yes method=CREATE
xml XML Document that contains the parameters for the call Yes
workspaceId Integer identifier of the target exchange Yes &workspaceId=123789
documentFile File data to be uploaded. Depending on the tool you use the format of this parameter will be slightly different. Yes "documentFile=@/Users/Joe/foobar.pdf"


Example Request

curl -k -X POST
-b "ssoGlobalSessionID=YOUR_SESSION_ID"
–F "documentFile=@/Users/JoeShmoe/foobar.pdf"
–F "xml=XML_REQUEST" 
"https://test-api.intralinks.com/services/workspaces/documents?client=YOUR_CLIENT_ID&workspaceId=123&method=CREATE"


Example XML

Information about the document you are creating needs to be submitted in an XML document with the following structure.

<documentCreateRequest>
    <documentCreate>
        <document>
        <name></name>
          <parentId></parentId>
       </document>
       <document>
          ...
       </document>
    </documentCreate>
</documentCreateRequest>
Name Description Required Example
name Name of the document Yes <name>foo bar baz</name>
parentId The folderId of the parent folder in which the document should be uploaded. Yes <parentId>987654</parentId>


Example Response

<documentCreateResponse>
    <documentPartial>
        <id>1234</id>
        <name>Test Document -1</name>
        <indexNumber>1.1</indexNumber>
        <orderNumber>1</orderNumber>
    </documentPartial>
    <documentPartial>
       ...
    </documentPartial>
</documentCreateResponse>