Menu
Search Tickets
Search tickets
POST
/tickets/searchUse it in a workflow
- Add a step and choose the Intercom connector.
- Pick the Search Tickets action (under Tickets).
- Fill in the fields below, then reference the result from later steps as
{{searchTickets.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"query": null,
"pagination": {
"per_page": 2,
"starting_after": "your-cursor-from-response"
}
}
Response
Returns 200 with an object. Read it in later steps with {{searchTickets.response.data.<field>}}.
{
"type": "ticket.list",
"tickets": [
{
"type": "ticket",
"id": "1295",
"ticket_id": "1390",
"category": "Customer",
"ticket_attributes": {
"_default_title_": "Found a bug",
"_default_description_": "The button's not working"
},
"ticket_state": {
"type": "ticket_state",
"id": "12",
"category": "in_progress",
"internal_label": "With Dev Team",
"external_label": "In Progress"
},
"ticket_type": {
"type": "ticket_type",
"id": "1295",
"category": "Customer",
"name": "Bug",
"description": "A bug that has been reported.",
"icon": "🐞",
"workspace_id": "ecahpwf5",
"ticket_type_attributes": {
"type": "string",
"ticket_type_attributes": [
{
"type": null,
"id": null,
"workspace_id": null,
"name": null,
"description": null,
"data_type": null,
"input_options": null,
"order": null,
"required_to_create": null,
"required_to_create_for_contacts": null,
"visible_on_create": null,
"visible_to_contacts": null
}
]
},
"ticket_states": {
"type": "list",
"data": [
{
"type": null,
"id": null,
"category": null,
"internal_label": null,
"external_label": null
}
]
},
"archived": false,
"created_at": 0,
"updated_at": 0
},
"contacts": {
"type": "contact.list",
"contacts": [
{
"type": "contact",
"id": "5ba682d23d7cf92bef87bfd4",
"external_id": "70"
}
]
},
"admin_assignee_id": 1295,
"team_assignee_id": 1295,
"created_at": 1663597223,
"updated_at": 1663597260
}
],
"total_count": 12345,
"pages": {
"type": "pages",
"page": 1,
"next": {
"per_page": 2,
"starting_after": "your-cursor-from-response"
},
"per_page": 2,
"total_pages": 13
}
}
Need more? See the Intercom guide for connection setup and behaviour shared by every action.
Was this page helpful?