How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Microsoft Office 365 Mail API

Access and manage Outlook mail messages, mail folders, and message attachments. Supports reading, creating, sending, replying, forwarding, and organizing email.

Microsoft Office 365 Mail API is one of 12 APIs that Microsoft Office 365 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Mail. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, pricing, authentication docs, rate-limit docs, and 1 JSON Schema.

This API exposes 8 operations across 5 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://graph.microsoft.com/v1.0, https://graph.microsoft.com/beta.

8 operations 5 paths 12 schemas 1 DELETE4 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://graph.microsoft.com
Authentication
OAuth 2.0, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Microsoft Office 365 Mail API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode and clientCredentials flows, exposing 18 scopes. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • oauth2 — Microsoft identity platform OAuth 2.0 authorization. Supports delegated (user) and application-only permissions. Microsoft Graph uses scopes to control access…
  • bearerAuth — Bearer token obtained from the Microsoft identity platform. Use an access token in the Authorization header of each request.

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Mail 8

Access and manage Outlook mail messages, mail folders, and message attachments. Supports reading, creating, sending, replying, forwarding, and organizing email.

GET
/me/messages
Microsoft Office 365 List Messages
listMessages 8 params → 200401403429
POST
/me/messages
Microsoft Office 365 Create Draft Message
createMessage body → 201400401403429
GET
/me/messages/{message-id}
Microsoft Office 365 Get Message
getMessage 3 params → 200401403404429
PATCH
/me/messages/{message-id}
Microsoft Office 365 Update Message
updateMessage 1 param body → 200400401403404429
DELETE
/me/messages/{message-id}
Microsoft Office 365 Delete Message
deleteMessage 1 param → 204401403404429
POST
/me/sendMail
Microsoft Office 365 Send Mail
sendMail body → 202400401403429
GET
/me/mailFolders
Microsoft Office 365 List Mail Folders
listMailFolders 4 params → 200401403429
GET
/me/mailFolders/{mailFolder-id}/messages
Microsoft Office 365 List Messages in Folder
listMailFolderMessages 7 params → 200401403404429

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are Message (28 properties), MessageCreateRequest (10 properties), MessageUpdateRequest (10 properties), MailFolder (7 properties). Each schema is shown below with its type and property counts.

ODataError
object
The error response from the Microsoft Graph API following OData conventions.
1 property
Message
object
A message in a mailFolder. Contains the message subject, body, sender, recipients, and other metadata.
28 properties
ItemBody
object
Represents properties of the body of a message or event.
2 properties
MessageUpdateRequest
object
10 properties
DateTimeTimeZone
object
Describes the date, time, and time zone of a point in time.
2 properties
FollowupFlag
object
Allows setting a flag on an item for the user to follow up on later.
4 properties
MailFolderCollectionResponse
object
3 properties
Recipient
object
Represents information about a user in the sending or receiving end of a message or event.
1 property
MessageCreateRequest
object
10 properties
MailFolder
object
A mail folder in a user's mailbox, such as Inbox and Drafts.
7 properties
EmailAddress
object
The name and email address of a contact or message recipient.
2 properties
MessageCollectionResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

microsoft-office-365-mail-api-openapi.yml Raw ↑

Other APIs Microsoft Office 365 publishes across the network.

Outlook Contacts API
OneNote API
Excel Workbooks and Charts API
Microsoft To Do API
Microsoft Bookings API
Microsoft Graph Security API
Microsoft Graph Communications API
Office Add-ins Platform
Microsoft Office 365 Calendar API
Microsoft Office 365 Groups API
Microsoft Office 365 Users API
Where this information came from

This is an independent, third-party profile of Microsoft Office 365 Mail API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.