Is there a simply way to search multiple specific properties to get specific tickets ie search all tickets with the status of open, hs-pipeline 1, and ticket owner is john doe via the api and python?
Hi @AMontano
Hi Please consider the following CURL:
curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/tickets/search \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'content-type: application/json' \
--data '{
"limit": 100,
"properties": [
"property1",
"property2",
"property3"
],
"filterGroups": [
{
"filters": [
{
"propertyName": "hs_status",
"value": "OPEN",
"operator": "EQ"
},
{
"propertyName": "hs_pipeline",
"value": "1",
"operator": "EQ"
},
{
"propertyName": "hubspot_owner_id",
"value": "123456",
"operator": "EQ"
},
]
}
]
}'
āI hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!ā