How do I GET an expense(s) using API export?
The API provides a clearly documented way to create expenses: https://integrations.expensify.com/Integration-Server/doc/#expense-creator
Is there an equivalent API for getting expenses? In particular, I'd love to GET the/all expense(s) that have a given externalID I used when creating the expense.
If the API were consistent GETing information about policyList's, I would expect this to look something like:
curl -X POST 'https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations' \ -d 'requestJobDescription={ "type":"get", "credentials":{ "partnerUserID": "_REPLACE_", "partnerUserSecret": "_REPLACE_" }, "inputSettings":{ "type":"expenseList", "externalID":"my_id_123" } }'
Answers
-
Sheena Trepanier Expensify Team, Approved! Accountant, Expensify Student Ambassador Posts: 1,362 Expensify TeamOptions
Hi @alex_brex, thanks for posting and welcome to the Community! It sounds like you're looking to export information from Expensify using our API, is that correct?
If so, we offer a great Export API that you can learn more about here. If I'm off-base, my apologies!