curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ZENDESK_SEARCH_TICKETS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "ZENDESK_SEARCH_TICKETS",
"parameters": {
"ticketSubject": "<string>",
"ticketDescription": "<string>",
"ticketStatus": "new",
"ticketType": "problem",
"createdDate-left": "EQUALS",
"createdDate-right": "<string>",
"updatedDate-left": "EQUALS",
"updatedDate-right": "<string>",
"dueDate-left": "EQUALS",
"dueDate-right": "<string>",
"requesterId": "<string>",
"assigneeId": "<string>",
"recipientEmail": "<string>",
"ticketPriority": "urgent",
"ticketTags": "<string>",
"ticketExternalId": "<string>",
"sort_by": "created_at",
"sort_order": "asc",
"dueDate": {
"operator": "EQUALS",
"value": "2023-12-25"
},
"createdDate": {
"operator": "EQUALS",
"value": "2023-12-25"
},
"updatedDate": {
"operator": "EQUALS",
"value": "2023-12-25"
}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ZENDESK_SEARCH_TICKETS' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "ZENDESK_SEARCH_TICKETS",
"parameters": {
"ticketSubject": "<string>",
"ticketDescription": "<string>",
"ticketStatus": "new",
"ticketType": "problem",
"createdDate-left": "EQUALS",
"createdDate-right": "<string>",
"updatedDate-left": "EQUALS",
"updatedDate-right": "<string>",
"dueDate-left": "EQUALS",
"dueDate-right": "<string>",
"requesterId": "<string>",
"assigneeId": "<string>",
"recipientEmail": "<string>",
"ticketPriority": "urgent",
"ticketTags": "<string>",
"ticketExternalId": "<string>",
"sort_by": "created_at",
"sort_order": "asc",
"dueDate": {
"operator": "EQUALS",
"value": "2023-12-25"
},
"createdDate": {
"operator": "EQUALS",
"value": "2023-12-25"
},
"updatedDate": {
"operator": "EQUALS",
"value": "2023-12-25"
}
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Subject : Filter results by the text in the ticket’s subject.
Description : Filter results by the text in the ticket's description and comments.
Status
new, open, pending, hold, solved, closed Type
problem, incident, question, task, no_type Created Date : Filter tickets by their created date. (example: "YYYY-MM-DD")
EQUALS, LESS_THAN_EQUALS, GREATER_THAN_EQUALS Created Date Value : Filter tickets by their created date. (example: "YYYY-MM-DD")
Updated Date : Filter tickets by their updated date. (example: "YYYY-MM-DD")
EQUALS, LESS_THAN_EQUALS, GREATER_THAN_EQUALS Updated Date Value : Filter tickets by their updated date. (example: "YYYY-MM-DD")
Due Date : Filter tickets by their due date. (example: "YYYY-MM-DD")
EQUALS, LESS_THAN_EQUALS, GREATER_THAN_EQUALS Due Date Value : Filter tickets by their due date. (example: "YYYY-MM-DD")
Requester ID : Filter by the user who requested this ticket.
Assignee ID : Filter by the agent assigned to the ticket.
Recipient : Filter by the original recipient e-mail address of the ticket. (example: "[email protected]")
Priority
urgent, high, normal, low, no_priority Tags : Filter tickets by their tag.
External ID : Filter by tickets by their external ID.
Sort By
created_at, updated_at, priority, status, ticket_type Sort Order
asc, desc Success
Was this page helpful?