Files

Create a remote file and link it to an item

Changed on

Creates a new empty file in the remote location (googledrive) that will be linked to the item you supply. For more information, see the tutorial for <a href="https://pipedrive.readme.io/docs/adding-a-remote-file" target="_blank" rel="noopener noreferrer">adding a remote file</a>.

post/files/remote

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: deals:full, activities:full, contacts:full

Request body application/x-www-form-urlencoded

file_type'gdoc' | 'gslides' | 'gsheet' | 'gform' | 'gdraw' required

The file type

titlestring required

The title of the file

item_type'deal' | 'organization' | 'person' required

The item type

item_idinteger required

The ID of the item to associate the file with

remote_location'googledrive' required

The location type to send the file to. Only googledrive is supported at the moment.

Response

Creates a new empty file in the remote location (googledrive) that will be linked to the item you supply - deal, person or organization

successboolean

If the request was successful or not

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status