Microsoft Outlook Me.message API

The me.message API from Microsoft Outlook — 22 operation(s) for me.message.

GitHub OpenAPI

Operations 32

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /me/messages List my messages · Get open extension #
Ask an LLM
“How do I list all the messages in my mailbox?”
“Can I include hidden messages when listing my messages?”
Tell an agent
List my messages.
List my messages including hidden ones.
POST /me/messages Send a new email · Create open extension #
Ask an LLM
“How do I send a new email from my account?”
“Can I set the importance and read receipt request on a new email?”
Tell an agent
Send an email with subject {subject} to {toRecipients}.
Create a new message {subject} from {from} with importance {importance}.
GET /me/messages/{message-id} Get a message · Get eventMessage #
Ask an LLM
“How do I read the full details of one email?”
“Can I expand the event inside an event message?”
Tell an agent
Get message {message_id}.
Show the full details of email {message_id}.
PATCH /me/messages/{message-id} Update a message · Update eventMessage #
Ask an LLM
“How do I change the subject of an existing email?”
“Can I mark an existing message as read or unread?”
Tell an agent
Change the subject of message {message_id} to {subject}.
Mark message {message_id} as read.
DELETE /me/messages/{message-id} Delete a message · Delete eventMessage #
Ask an LLM
“How do I delete an email from my mailbox?”
“Can I delete a message only if its ETag still matches?”
Tell an agent destructive · confirm first
Delete message {message_id}.
Remove email {message_id} from my mailbox.
GET /me/messages/{message-id}/$value Download a message's raw content · Get open extension #
Ask an LLM
“How do I download the raw content of an email?”
“Can I fetch a message's content including hidden messages?”
Tell an agent
Download the raw content of message {message_id}.
Get the raw body of email {message_id} including hidden messages.
PUT /me/messages/{message-id}/$value Replace a message's raw content · Update eventMessage #
Ask an LLM
“How do I overwrite the raw content of an email?”
“Can I replace a message's body in one PUT request?”
Tell an agent
Replace the raw content of message {message_id}.
Overwrite the body of email {message_id}.
DELETE /me/messages/{message-id}/$value Delete a message's raw content · Delete eventMessage #
Ask an LLM
“How do I remove the raw content of an email?”
“Can I delete a message's content only if its ETag matches?”
Tell an agent destructive · confirm first
Delete the raw content of message {message_id}.
Remove the body of email {message_id}.
GET /me/messages/{message-id}/attachments List attachments on a message · List attachments #
Ask an LLM
“How do I list the attachments on an email?”
“Can I filter the attachments on a message?”
Tell an agent
List the attachments on message {message_id}.
Show attachments on email {message_id} matching {filter}.
POST /me/messages/{message-id}/attachments Attach a file to a message · Add attachment #
Ask an LLM
“How do I attach a file to an email?”
“Can I attach a file inline or as an attachment?”
Tell an agent
Attach a file named {name} to message {message_id}.
Add an attachment {name} to email {message_id} with MIME type {contentType}.
GET /me/messages/{message-id}/attachments/{attachment-id} Get an attachment on a message · Get attachment #
Ask an LLM
“How do I download one attachment from an email?”
“Can I read the raw contents of an attachment on a message?”
Tell an agent
Get attachment {attachment_id} on message {message_id}.
Download attachment {attachment_id} from email {message_id}.
DELETE /me/messages/{message-id}/attachments/{attachment-id} Remove an attachment from a message · Delete navigation property attachments for me #
Ask an LLM
“How do I remove an attachment from an email?”
“Can I delete an attachment only if its ETag still matches?”
Tell an agent destructive · confirm first
Delete attachment {attachment_id} from message {message_id}.
Remove attachment {attachment_id} on email {message_id}.
GET /me/messages/{message-id}/attachments/$count Count attachments on a message · Get the number of the resource #
Ask an LLM
“How many attachments does an email have?”
“Can I count only the attachments on a message matching a filter?”
Tell an agent
Count the attachments on message {message_id}.
Count attachments on email {message_id} matching {filter}.
POST /me/messages/{message-id}/attachments/createUploadSession Start an upload session for a message attachment · Invoke action createUploadSession #
Ask an LLM
“How do I upload a large file as an attachment to an email?”
“Can I create an upload session for a file on a message?”
Tell an agent
Create an upload session for a file on message {message_id}.
Start an upload session for a file attached to email {message_id}.
GET /me/messages/{message-id}/extensions List open extensions on a message · Get open extension #
Ask an LLM
“How do I see the custom open extensions on an email?”
“Can I filter the extensions on a message?”
Tell an agent
List the open extensions on message {message_id}.
Show extensions on email {message_id} matching {filter}.
POST /me/messages/{message-id}/extensions Add an open extension to a message · Create open extension #
Ask an LLM
“How do I add custom properties to an email with an open extension?”
“Can I create an open extension on an existing message?”
Tell an agent
Add an open extension to message {message_id}.
Create a custom extension on email {message_id}.
GET /me/messages/{message-id}/extensions/{extension-id} Get an open extension on a message · Get open extension #
Ask an LLM
“How do I read one custom extension on an email?”
“Can I fetch a single extension from a message?”
Tell an agent
Get extension {extension_id} on message {message_id}.
Show custom extension {extension_id} on email {message_id}.
PATCH /me/messages/{message-id}/extensions/{extension-id} Update an open extension on a message · Update the navigation property extensions in me #
Ask an LLM
“How do I change the properties of an existing extension on an email?”
“Can I update a custom extension on a message?”
Tell an agent
Update extension {extension_id} on message {message_id}.
Change the custom extension {extension_id} on email {message_id}.
DELETE /me/messages/{message-id}/extensions/{extension-id} Delete an open extension from a message · Delete open extension #
Ask an LLM
“How do I remove a custom extension from an email?”
“Can I delete an extension from a message only if its ETag still matches?”
Tell an agent destructive · confirm first
Delete extension {extension_id} from message {message_id}.
Remove custom extension {extension_id} on email {message_id}.
GET /me/messages/{message-id}/extensions/$count Count open extensions on a message · Get the number of the resource #
Ask an LLM
“How many open extensions does an email have?”
“Can I count only the extensions on a message matching a filter?”
Tell an agent
Count the open extensions on message {message_id}.
Count extensions on email {message_id} matching {filter}.
POST /me/messages/{message-id}/copy Copy a message to a folder · Invoke action copy #
Ask an LLM
“How do I copy an email into another folder in my mailbox?”
“Can I copy a message to a specific folder by its ID?”
Tell an agent
Copy message {message} to folder {destination}.
Make a copy of email {message} in my inbox.
POST /me/messages/{message-id}/createForward Create a draft forward · Invoke action createForward #
Ask an LLM
“Can I draft a forward of an email to new recipients?”
“What goes into a forward draft besides the message body?”
Tell an agent
Create a forward draft of message {message} to {recipients}.
Draft a forward of email {message} with the comment {comment}.
POST /me/messages/{message-id}/createReply Create a draft reply to the sender · Invoke action createReply #
Ask an LLM
“How do I reply to the sender of an email without replying to everyone?”
“Can I add a comment to a reply draft?”
Tell an agent
Create a reply draft to message {message} saying {comment}.
Draft a reply to the sender of email {message}.
POST /me/messages/{message-id}/createReplyAll Create a draft reply to everyone · Invoke action createReplyAll #
Ask an LLM
“Can I reply to all recipients of an email in one draft?”
“What happens if I reply all to a message with a replyTo address?”
Tell an agent
Create a reply-all draft for message {message} saying {comment}.
Draft a reply to everyone on email {message}.
POST /me/messages/{message-id}/forward Forward an email · Invoke action forward #
Ask an LLM
“How do I forward an email to a new recipient?”
“Can I include a comment when forwarding a message?”
Tell an agent
Forward message {message} to {recipients}.
Forward email {message} with the comment {comment}.
POST /me/messages/{message-id}/move Move a message to another folder · Invoke action move #
Ask an LLM
“How do I move an email to a different folder?”
“Does moving a message leave a copy in the original folder?”
Tell an agent
Move message {message} to folder {destination}.
Move email {message} into the Sent Items folder.
POST /me/messages/{message-id}/permanentDelete Permanently delete a message · Invoke action permanentDelete #
Ask an LLM
“How do I permanently delete an email so it can't be recovered?”
“Is there a way to remove a message from the mailbox for good?”
Tell an agent destructive · confirm first
Permanently delete message {message}.
Remove email {message} from my mailbox for good.
POST /me/messages/{message-id}/reply Reply to the sender of a message · Invoke action reply #
Ask an LLM
“Can I reply to just the sender of an email?”
“What if the original message has a replyTo address?”
Tell an agent
Reply to the sender of message {message} saying {comment}.
Send a reply to the sender of email {message}.
POST /me/messages/{message-id}/replyAll Reply to all recipients of a message · Invoke action replyAll #
Ask an LLM
“How do I reply to everyone who received an email?”
“Can I reply all to a message and include my own comment?”
Tell an agent
Reply all to message {message} saying {comment}.
Send a reply to all recipients of email {message}.
POST /me/messages/{message-id}/send Send a draft message · Invoke action send #
Ask an LLM
“How do I send a draft reply or forward I've written?”
“Where does a sent draft end up after I send it?”
Tell an agent
Send draft message {message}.
Send the reply draft {message} to its recipients.
GET /me/messages/$count Count my messages · Get the number of the resource #
Ask an LLM
“How many messages are in my mailbox?”
“Can I count only the unread messages?”
Tell an agent
Count my messages.
Count messages matching {filter}.
GET /me/messages/delta() Get incremental changes to messages · Invoke function delta #
Ask an LLM
“How do I sync my local message store with the server?”
“Can I fetch only messages that were added, deleted or updated since my last sync?”
Tell an agent
Get the message delta for my mailbox.
Fetch messages changed since my last sync.

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0
📖
Authentication
https://learn.microsoft.com/en-us/graph/auth/
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-mail-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/calendar?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-calendar-concept-overview
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/calendar-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-contacts-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/todo-overview?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/todo-concept-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/people-insights-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/outlook-change-notifications-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks
📖
APIReference
https://learn.microsoft.com/en-us/graph/api/resources/change-notifications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/manage-focused-inbox?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/messagerule?view=graph-rest-1.0
📖
GettingStarted
https://learn.microsoft.com/en-us/graph/outlook-organize-messages
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-outlook:microsoft-outlook-me-message-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-outlook-me-message-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Me.message API
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (221 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-outlook/openapi/microsoft-outlook-me-message-api-openapi.yml