What are the different file types supported in Create File API

Anonymous
Not applicable

What are the different file types supported in Create File API

Hi,

We are trying to upload the files in Marekto through Create File API. To work on this we would like to know the

  • what are the supported file types (currently we are able to create file with text and html type)
  • If docx, ppt, png, jpeg etc is supported then what should be the type i.e text or binary

Reference API Link: Create a File » Marketo Developers

Note: From Marketo UI, we are able to upload all types of files even proper file content is also displaye

Any pointers on the supported file types through API will be helpful

Tags (1)
1 REPLY 1
Kenny_Elkington
Marketo Employee

Re: What are the different file types supported in Create File API

Marketo is agnostic to file types(unless you have file type filtering enabled).  Regarding content-type, you should use a method which derives content-type by the file extension.  These are available in practically every language used commonly for web development and are far more reliable than doing it yourself.