Search for issues by a given filter
Changed onFilterable fields and their allowed operators:
| Field | Allowed operators |
|---|---|
| created_at | time_is_after, time_is_before, time_range |
| account_id | equals, in, not_in, is_set, is_unset |
| customer_portal_visible | equals, in, not_in |
| ticket_form_id | equals, in, not_in, is_set, is_unset |
| requester_id | equals, in, not_in, is_set, is_unset |
| follower_user_id | equals, in, not_in |
| follower_contact_id | equals, in, not_in |
| state | equals, in, not_in |
| tags | contains, does_not_contain, in, not_in |
| title | string_contains, string_does_not_contain |
| body_html | string_contains, string_does_not_contain |
| assignee_id | equals, in, not_in, is_set, is_unset |
| team_id | equals, in, not_in |
| issue_type | equals, in, not_in, is_set, is_unset |
| issue_is_issue_group | equals, in, not_in |
| resolved_at | time_is_after, time_is_before, time_range |
| latest_message_activity_at | time_is_after, time_is_before, time_range |
| updated_at | time_is_after, time_is_before, time_range |
| slack_channel_id | equals, in, not_in |
| workspace_email | equals, in, not_in, is_set, is_unset |
| reopened | equals, in, not_in |
Timestamp values use RFC3339 format. Standard state values are new, waiting_on_you, waiting_on_customer, on_hold, and closed; custom status slugs are also supported. issue_type values are conversation and ticket.
For tag filters, pass the tag name. For custom fields, pass the field slug as field. slack_channel_id identifies the Slack channel where the issue was created. workspace_email identifies the email address connected to the Pylon workspace through which the issue's email conversation is routed. customer_portal_visible values are true and false; issue groups are never visible in the customer portal, so they always match false. reopened values are true and false; it is a sticky flag set the first time an issue is reopened after being resolved, and it records no timestamp.
Rate limit: 120 requests per minute
Request
- Base URLhttps://api.usepylon.com
- URLhttps://api.usepylon.com/issues/search
- AuthHTTP bearer
Request body
Example request
{
"filter": {
"subfilters": [
{
"field": "state",
"operator": "equals",
"value": "new"
}
]
}
}Response
Example response
{
"data": [
{
"business_hours_time_in_status_seconds": {
"new": 120,
"waiting_on_customer": 1800
},
"custom_fields": {
"priority": {
"value": "high"
}
},
"state": "new",
"time_in_status_seconds": {
"new": 120,
"waiting_on_customer": 3600
},
"workspace_phone_number": "+14155551234"
}
]
}Changes
- info
added the new optional request property
- info
- info
added the new
notenum value to the request property/ - info
added the new
time_is_in_lastenum value to the request property/ - info
added the new
time_is_in_nextenum value to the request property/ - info
added the new
time_is_not_in_lastenum value to the request property/ - info
added the new
time_is_not_in_nextenum value to the request property/
- info