Get Employee Data in Policy through API

edison
Expensify Customer Posts: 30 Expensify Admirer
I see there's a way to updat employee data through API here: https://integrations.expensify.com/Integration-Server/doc/#employee-updater
Is it possible to pull the same data through get or read?
Best Answer
-
Hi - Yes, you can get employee data via the API by using the Policy Getter API and using "fields": ["employees"] in the inputSettings in your request.
There are a few examples in the API documentation linked above of what the response will look like - this will be on the right side of the page in our API docs.
Answers
-
Thanks @Sasha Kluger ! This is exactly what I was looking for.
-
Great! If there is anything else you need just let us know!