/
"Invalid API key" Error

"Invalid API key" Error

If the account exists in EU region, request URI should have “app.euw1.phonism.com” as the target.

An example below of pulling tenant whitelist report:

phmoss@Adams-MacBook-Pro ~ % curl --location --request GET 'https://app.euw1.phonism.com/api/v3//reports?report=tenant_whitelist_report' \ --header 'x-api-key: REDACTED:USEDAPIKEYCALLEDPYTHON' { "data": false, "errors": [], "messages": [ "Generated report served: tenant_whitelist_report-2021-03-08 15:27:00.csv" ], "result_count": null, "total_count": null, "next": null, "previous": null }%