Are you receiving SNAP/EBT benefits? The Expensify.org/SNAP-VAX campaign is live and accepting new members. Learn more about receiving $50 for submitting a SNAP receipt and $50 for getting your COVID-19 vaccine here and join today!

Has anyone had any success with uploading PDF reports through SFTP?

miggyesca
miggyesca Expensify Customer Posts: 3 Expensify Newcomer
edited April 6 in Integrations and API

Has anyone had any success with uploading through SFTP? All I get is a successful connection, but it won't upload any file to the SFTP server.

Here's a snippet of my API POST request:

https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations?requestJobDescription={"type": "file","credentials": {"partnerUserID": xxx","partnerUserSecret": xxxx"},"onReceive": {"immediateResponse": ["returnRandomFileName"]},"inputSettings": {"type": "combinedReportData","filters": {"reportIDList": "xxxx"}},"outputSettings": {"fileExtension": "pdf","includeFullPageReceiptsPdf": true},"onFinish":[{"actionName":"sftpUpload","sftpData": {"host":"xxxx.com","login":"xxxx","password":"xxxx","port":22}}]}


SFTP showing it is connecting successfully:

Am I missing something on my API call?