Skip to main content

Peliqan

Intercom V2

Tickets by type

SQL query for Intercom V2

Get the count of tickets for each ticket type.

SELECT ticket_types.name, COUNT(tickets.id) AS ticket_count FROM ticket_types LEFT JOIN tickets ON ticket_types.id = tickets.type_id GROUP BY ticket_types.name

Intercom V2 data model

Intercom V2
Admins

Intercom V2
Companies

Intercom V2
Contacts

Intercom V2
Conversations

Intercom V2
Conversation Parts

Intercom V2
Subscription Types

Intercom V2
Tags

Intercom V2
Teams

Intercom V2
Ticket Types

Intercom V2
Ticket States

Intercom V2
Tickets

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.