Host a file in a chat message
One step with Microsoft Outlook. We can help you get access.
Get something done
Host a file in a chat message
with Microsoft Outlook
Works with AI assistants
Use Microsoft Outlook: its OData Service for namespace microsoft.graph Users.chat API lets you host a file in a chat message in a single step (POST /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents). 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 do I upload an image into a Teams chat message?
- Can I host a code snippet inside a chat message?
Say it to your AI assistant
- Host a new file in message {message} of chat {chat} for user {user}.
- Add hosted content to chat message {message} in chat {chat} of user {user}.
For your developer
POST /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents in OData Service for namespace microsoft.graph Users.chat API. Full spec on APIs.io.