Expensify.org is accepting proposals for new campaigns. Submit yours here by April 30th to receive up to $100,000 in funding for campaigns dismantling injustice related to: Climate, Homes, Hunger, Reentry, or Youth.

Questions on Creating Expenses via API

schadhaschadha Expensify Customer Posts: 2 Expensify Newcomer
edited September 2019 in Integrations and API

Hello,


My team is interested in submitting transaction data for expenses via API.

We currently store/capture all transaction data required for the "Expense Creator" and the "Expense" Object.


However, I had a few questions how to actually submit this information for other accounts:

  • Would my User Secret/ID allow me to submit expenses on behalf of other users (i.e. can one UserID & UserSecret be used for multiple email addresses - "employeeEmail" field)? I see that it is a restricted parameter, so just wanted to confirm.
  • How do I validate the Policy ID? (If we're new to using the API, do we have to create a new Policy ID - or is this an optional field? would it prepopulate the policy ID tied to the email address?)
Tagged:

Answers

Sign In or Register to comment.