GET issues returning a 405

trying to do a get via postman: https://api.yext.com/v2/accounts/me/analytics/reports?api_key=MYAPIKEY&v=20220501

I get the follwoing results: 405 method not allowed
{
“meta”: {
“uuid”: “018181a2-12a2-2192-4369-0506668b9b5b”,
“errors”: [
{
“code”: 46,
“type”: “FATAL_ERROR”,
“message”: “HTTP method not allowed for this resource.”
}
]
},
“response”: {}
}

Thoughts

i was able to retrieve if I did POST instead of GET.

Hi David,

Yes! If you are looking to use the Reports API the call expects the POST method and not GET. :slight_smile: Let us know if you have any other questions on the API.

Thanks!
Dana