Skip to main content
POST
/
api
/
v2
/
integrations
/
salesforce
/
{slug}
/
load-file
Download a Salesforce ContentVersion into Sample
curl --request POST \
  --url https://api.example.com/api/v2/integrations/salesforce/{slug}/load-file \
  --header 'Content-Type: application/json' \
  --data '
{
  "contentVersionId": "<string>"
}
'
{
  "fileMetadataId": "<string>",
  "fileName": "<string>",
  "mimeType": "<string>"
}

Path Parameters

slug
string
required

Body

application/json
contentVersionId
string
required

Salesforce ContentVersion Id (15- or 18-char, typically prefixed 068) whose binary should be downloaded.

Minimum string length: 1

Response

The Sample fileMetadata record created from the downloaded Salesforce ContentVersion.

The Sample fileMetadata record created from the downloaded Salesforce ContentVersion.

fileMetadataId
string
required

Sample fileMetadata id (FMD) for the downloaded file.

fileName
string
required

Salesforce ContentVersion.Title + extension.

mimeType
string
required

MIME type assigned to the stored file.