Count messages in a chat
One step with Microsoft Outlook. We can help you get access.
Look something up
Count messages in a chat
with Microsoft Outlook
Works with AI assistants
Use Microsoft Outlook: its OData Service for namespace microsoft.graph Users.chat API lets you count messages in a chat in a single step (GET /users/{user-id}/chats/{chat-id}/messages/$count). Microsoft Outlook also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How many messages are in a chat?
- Can I count the messages in a chat for a user?
Say it to your AI assistant
- Count the messages in chat {chat} for user {user}.
- Tell me how many messages chat {chat} has for user {user}.
For your developer
GET /users/{user-id}/chats/{chat-id}/messages/$count in OData Service for namespace microsoft.graph Users.chat API. Full spec on APIs.io.