Skip to main content

Peliqan

Intercom V2

Tickets by company

SQL query for Intercom V2

Get the count of tickets for each company.

SELECT companies.name, COUNT(tickets.id) AS ticket_count FROM companies LEFT JOIN tickets ON companies.id = tickets.company_id GROUP BY companies.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.