Questions on Creating Expenses via API

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


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?)