Trying to use postman to test API calls to Pardot but keep getting this error from the title.
Full Error:
{
"@attributes": {
"stat": "fail",
"version": 1,
"err_code": 49
},
"err": "Access Denied"
}
I am able to successfully get an API key from a post call in Postman, but cannot query the data.
URL:
https://pi.pardot.com/api/list/version/3/do/query?user_key=<user_key>&api_key=<api_key>&format=json&fields=created_at,id,name,updated_at&id_greater_than=0&sort_by=id&sort_order=ascending