Questions tagged [outlook-restapi]

The Outlook REST APIs include the Mail, Calendar, and Contacts APIs in Office 365.

Welcome to the outlook-restapi tag! Please use this tag to find answers, ask questions, and answer questions about using the Outlook REST APIs.

The Outlook REST APIs are comprised of three distinct APIs that provide access to users' data in Office 365:

  • Mail API: Used to manipulate mail and mail folders.
  • Calendar API: Used to manipulate events and calendars.
  • Contacts API: Used to manipulate contacts and contact folders.

Getting Started

Want to explore and play with the APIs? Check out the Office 365 OAuth Sandbox. You can quickly issue queries against your own data, or against a sandboxed environment.

The Outlook Dev Center has getting started guides in a number of different languages. Start from scratch and end with a working app that retrieves messages from the inbox.

Looking for code samples? Check out the Office Dev Center's Code Samples page. PHP, Node.js, Rails, and more!

Looking for more information, or just want to keep abreast of updates to the APIs? Follow the Outlook REST APIs team's blog.

966 questions
0
votes
1 answer

Message/Folder permissions

Is there a way to change folder and/or message permissions? I noticed that folders created on root folder of a user, are not visible - is this a bug or a feature? Thank you.
0
votes
1 answer

Error while trying to get token for outlook REST api

I am trying to get outlook mails in my application using Outlook REST APIS I have registered my application in AAD using my outlook account. I have managed to get authorization code…
0
votes
2 answers

How to get folder type using Outlook REST API

I'm using Outook REST API v1, and try to get all folders with https://outlook.office.com/api/v1.0/me/folders. But response I got not has Folder Type or something like that, I can use DisplayName to know type of folder. But DisplayName different when…
0
votes
0 answers

Update Existing Attendees Calendar in outlook Api

How to update existing attendees calendar event by adding new attendee using Outlook Update API? I have created one Recurring event with two attendees (assume A and B).I will update the same event by adding new attendee (C) using Update API.Then…
0
votes
1 answer

Cannot get Contact Notes from Outlook 365 using REST API

I've been trying to import all contacts from Outlook 365 into another Database. I have no issue getting all the names, emails, addresses, etc. But when I want to get the Notes that are located on the second page of contacts in Outlook 365 they come…
user3242224
  • 169
  • 7
0
votes
1 answer

How do you validate Outlook REST API tokens?

This is a duplicate of how to validate token using outlook rest api, but that received no answers so I'm asking again. I have managed to authorise a user and receive an access token. I will use the sandbox as an example. I have decoded the access…
James Fenwick
  • 2,190
  • 1
  • 20
  • 30
0
votes
1 answer

Adding contacts to outlook

I am using outlook rest api and need to add thousands contacts. So I am searching how to add range of contacts except adding each separately. Any idea?
Bor1ss
  • 39
  • 7
0
votes
1 answer

Microsoft Graph API where use token generated by azure?

I'm trying to use Microsoft Graph API or Outlook REST API to create events in user calendar throught ajax / rest calls. But i don't know where i have to call the key generated by Azure when i registered my application in Azure Active Directory...…
Ana Mateus
  • 11
  • 2
0
votes
1 answer

POST and DELETE a booking using OutlookClient and Outlook Calendar API

I'm using Outlook-SDK-Android (MS) to talk with Outlook Calendar REST API. So far I've been able to get the events from my calendar using: import com.microsoft.services.outlook.fetchers.OutlookClient; OutlookClient mClient; …
Gabe
  • 5,997
  • 5
  • 46
  • 92
0
votes
0 answers

Unable to get any Contacts from the Outlook REST API?

Problem I am trying to get all the contacts of the person that logs in. Problem is though that it won't work. I am using a GitHub project which is used as a tutorial by Outlook. When I start up the project and log in, the project returns null. It…
Mike Lammers
  • 542
  • 9
  • 27
0
votes
1 answer

Receiving "Redirect_URI" Is NOT Valid Error With Outlook Contacts REST API?

I integrated the following Outlooks Contacts API with my website this way users with a hotmail.com, outlook.com, msn.com, windows live email address can easily connect to their…
olimits7
  • 555
  • 2
  • 9
  • 26
0
votes
1 answer

Unable to authenticate user via iOS Outlook SDK

I'm trying with iOS Outlook SDK introduced at dev.outlook.com, their source code at https://github.com/OfficeDev/Outlook-SDK-iOS I tried to register an application via Application registration tool with both an Office365 developer account and…
Boy Socola
  • 51
  • 1
0
votes
1 answer

Ignore non IPM.Note message in Outlook REST API

When requesting the Outlook REST API with beta version. I retrieve such kind of message, with type IPM.Activity. Is it possible to ignore all these items when crawling the user's mailbox and retrieve only IPM.Note messages? { "@odata.id":…
Benoit Patra
  • 4,355
  • 5
  • 30
  • 53
0
votes
2 answers

Android App that manages multiple Outlook Meeting Rooms

I'm developing an Android App that will manage bookings for a few Outlook meeting rooms (users). The idea is just to display their availability and book a room for a certain amount of time. So far I have had success getting the events just on my own…
Gabe
  • 5,997
  • 5
  • 46
  • 92
0
votes
1 answer

Searching for contact via contact email returns every contact for user in Outlook API

Using ?$search="foo@bar.com" in the URL query I am attempting to get full contact info for a contact matching that email address and am instead getting every contact for the logged in user. The following query returns every contact for the logged…