Code Samples

REST APIs Outlook Add-ins Actionable Messages

  • Office 365 Connect Sample for iOS Using the Microsoft Graph SDK (Objective-C)

    Keywords: ios, objective-c, mail


    Microsoft Graph is a unified endpoint for accessing data, relationships and insights that come from the Microsoft Cloud. This sample shows how to connect and authenticate to it, and then call mail and user APIs through the Microsoft Graph SDK for iOS.

  • Office 365 Connect Sample for iOS Using the Microsoft Graph SDK (Swift)

    Keywords: ios, swift, mail


    Microsoft Graph is a unified endpoint for accessing data, relationships and insights that come from the Microsoft Cloud. This sample shows how to connect and authenticate to it, and then call mail and user APIs through the Microsoft Graph SDK for iOS.

  • Email Peek

    Keywords: ios, objective-c, mail


    Email Peek is a cool mail app built using the Office 365 APIs on the iOS platform. This app allows you to peek at just the email conversations you truly care about when you are away, such as when you are on vacation. Email Peek also makes it easy for you to send quick replies to messages without typing. This app uses many of the features of the Office 365 Mail API such as read/write, server-side filtering, and categories.

  • Office 365 Code Snippets for Windows

    Keywords: windows, c#, mail, calendar, contacts


    The Office 365 Windows Snippets project shows you how to do basic operations against the Users and Groups, Calendar, Contacts, Mail, and Files service endpoints in Office 365.

  • Office 365 Code Snippets for Android

    Keywords: android, java, mail, calendar, contacts


    A repository of code snippets that wrap the Microsoft Office 365 SDK for Android.

  • Office 365 Connect Sample for Android

    Keywords: android, java, mail


    Connecting to Office 365 is the first step every Android app must take to start working with Office 365 services and data. This sample shows how to connect and then call one API.

  • Populate Office 365 Developer Tenant with Sample Data

    Keywords: windows, c#, mail, calendar, contacts


    A Windows Store App that will populate data for Office 365 API services such as mail, calendar, contact and files.

  • Python Contacts Sample

    Keywords: web, python, django, contacts


    A sample illustrating using the Office 365 APIs from Python/Django.

  • Python Client Credentials Sample

    Keywords: web, python, django, mail, client credentials


    A basic sample of the client credential OAuth flow and Mail API using Python/Django.

  • Office 365 code snippets for iOS

    Keywords: ios, objective-c, mail, calendar, contacts


    The Office 365 code snippets for iOS is a repository of code snippets that demonstrate how to work with Office 365 objects like mail, calendar, contacts, and files.

  • Create an Angular app with Office 365 APIs

    Keywords: web, javascript, angularjs, mail


    A simple Angular app, SimpleMailApp that uses the Active Directory Authentication Library (ADAL) for JavaScript to authenticate a user and REST calls to the Office 365 APIs to retrieve that user's email using cross-origin resource sharing (CORS).

  • O365 iOS Art Curator

    Keywords: ios, objective-c, mail


    This sample demonstrates how to use the Outlook Mail API to get emails and attachments from Office 365. It's built for iOS, Android, Web (Angular web app), and Windows Phone.

  • Art Curator for Angular

    Keywords: web, javascript, angularjs, mail


    This sample demonstrates how to use the Outlook Mail API to get emails and attachments from Office 365. It's built for iOS, Android, Web (Angular web app), and Windows Phone.

  • O365-Android-Art-Curator

    Keywords: android, java, mail


    This sample demonstrates how to use the Outlook Mail API to get emails and attachments from Office 365. It's built for iOS, Android, Web (Angular web app), and Windows Phone.

  • Art Curator for Windows Phone

    Keywords: windows phone, c#, mail


    This sample demonstrates how to use the Outlook Mail API to get emails and attachments from Office 365. It's built for iOS, Android, Web (Angular web app), and Windows Phone.

  • PHP Calendar API Sample

    Keywords: web, php, calendar


    A PHP sample using the Calendar API for Office 365.

  • Node.js Sample for Calendar Sync with Office 365

    Keywords: web, node.js, calendar, sync


    This is a sample Node.js app that connects to Office 365 to do calendar sync.

  • Office 365 VCF Import/Export Sample

    Keywords: web, ruby, rails, contacts


    A Ruby on Rails sample that uses the ruby_outlook gem to call the Contacts API.


* The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.