API to export data

Hi, I am system admin but not part of any policy group. can i still export the data for all policy groups using API? thanks.
Answers
-
Hi @benxie -
Thanks for reaching out! Expensify's API is a self-serve tool. You can review the export options via API here.
Let me know if you have other questions!
-
it gave me the error, what can be wrong? thanks.
{"responseMessage":"No Template Submitted","responseCode":410}
-
it gave me the error, what can be wrong? thanks.
{"responseMessage":"No Template Submitted","responseCode":410}
-
A few points to clarify, is the account you are using to export the data via the API a policy admin. Also, can you please check if you input a template in your API call? Thanks for checking!
-
no, the account i am using is not policy admin.
-
Got it, I'd suggest asking your admin to make that account a Policy Admin to ensure that it can export the Approved data from the Policy. Thanks!