Expensify.org/hunger SNAP campaign status
We’re no longer accepting new participants as our focus is on reimbursing existing claims. While we’re unable to provide a specific timeline on when your report will be reimbursed, we’re doing our best to drive donations and keep reimbursements moving forward. If you know anyone who can donate to this campaign please encourage them to enable Personal or Corporate Karma on their Expensify account.

We're currently experiencing issues with our American Express and Capital One connections. Please visit our status page for more details and to subscribe to updates.

How to get the policyID of a particular user via useremail?

sachin_dalmiasachin_dalmia Expensify Customer Posts: 1

I am trying to use this API doc as the reference.

So, I need to get the policyID of a user using userEmail, but when I do enter the userEmail, it gives me 401 error.

Not authorized to authenticate as user <username>@<domain>.com

url: https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations

request body:

requestJobDescription: {
"type":"get",
"credentials":{
"partnerUserID": "<id>",
"partnerUserSecret": "<secret>"
},
"inputSettings":{
"type":"policyList",
"userEmail":"<username>@<domain>.com"
}
}

FYI: If I remove the userEmail from the requestbody, I can access all the policyID for the domain.

Answers

Sign In or Register to comment.