I’m trying to retrieve all the open and pending issues with the freshdesk rest api. I have accomplished this with the following endpoint:
https://domain.freshdesk.com/api/v2/search/tickets?query=“status:2%20OR%20status:3”
I also want to show 100 issues per_page but if I add
&per_page=100&page=1
https://compasity.freshdesk.com/api/v2/search/tickets?query=“status:2%20OR%20status:3”&per_page=100&page=1
to the query it gives me this error:
{
"description": "Validation failed",
"errors": [
{
"field": "per_page",
"message": "Unexpected/invalid field in request",
"code": "invalid_field"
}
]
}