Hello everybody!
I’m trying to filter tickets that were created by e-mail, but in the documentation, it isn’t very clear on how or if it can be done. I know that there is a field in the ticket called “source”, which refers to what channel the ticket was created through, so i tried to used it.
I tried to do the following request:
https://domain.freshdesk.com/api/v2/search/tickets?query="source:1"
As in the documentation, “source:1” should refer to the e-mail.
but the response was:
{
"description": "Validation failed",
"errors": [
{
"field": "source",
"message": "Unexpected/invalid field in request",
"code": "invalid_field"
}
]
}
It looks like the field “source” doesn’t exists, so how can I do this filter? Is there another field that I can use to do this?
Thanks!