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
-1
votes
1 answer

How to whitelist outlook junk mail using Java

I have to whitelist emails in outlook using java. Is there any option to whitelist emails Id's using java code
-1
votes
1 answer

Is there a way to receive all wild card emails programatically?

For example, I have a domain named foo.com. I created the following email addresses: sales@foo.com hr@foo.com I need to listen to all email addresses created from the foo.com domain. Also, I am the owner of the foo.com domain. Can I create an Imap…
Khalil
  • 1,047
  • 4
  • 17
  • 34
-1
votes
1 answer

How to get email content (inclusing attachment if any) from a thread using conversation ID in Microsoft Graph?

I am working with Microsoft Graph API to read and reply in a thread which is working fine. Now my requirement is to read individual mail from a thread using conversation id. Suppose we have a thread which contains 10 mails with some of them having…
Rajnish Kumar
  • 2,828
  • 5
  • 25
  • 39
-1
votes
1 answer

rest api - how to send body parameters of postman in rest api call

Hi I am able to call a rest api through postman . I have added the following in body part of postman. client_id - xxxx , client_secret - *** etc. Now i want to make rest api call through java. How do i add these body parameters to request being…
simba
  • 277
  • 4
  • 19
-1
votes
1 answer

Disable an exchange mailbox using C#

I am trying to disable an exchange mailbox from C# code. Is there any way or API to do so by C#. I have tried with Powershell.
-1
votes
1 answer

is there any API's is exists for uploading a file into the share point (office 365)?

Is there any API's there to upload a file to the share point location (office 365) ? I have already tried with graph Api but which have only get method so please assist me on this, I have already gone through below…
-1
votes
1 answer

How to access a person's outlook calender's meeting details through rest

I need to access a particular person's outlook calendar's meeting details for a particular day and fetch required attendees of all his meetings on that day so that emails can be triggered to required attendees. I…
saumya bhargava
  • 105
  • 1
  • 1
  • 9
-1
votes
1 answer

Need all members outlook calender events of my groups using Microsoft Graph API

Can anyone know how can I retrieve My group's all members outlook calendar events using Microsoft Graph API? Consider me as admin of that group.
Renish Patel
  • 262
  • 2
  • 11
-1
votes
1 answer

create subscription for a shared mailbox

I would like to create a subscription for incoming mails on a shared mailbox with Microsoft graph. Background: I have an app created with delegated user rights: Read all webhook subscriptions (preview) Read and write user mailbox settings Read and…
AWC
  • 9
  • 1
-1
votes
1 answer

How to send mail using Office365 REST API?

I am working with Office365 REST API. I am facing problem in sending email. I can't find any help in core php. I am able to access mails and attachments but unable to send a mail. Here is what I have tried so far. // SEND MAIL…
Zeeshan Ch
  • 51
  • 6
-1
votes
1 answer

Subscription not created despite 201 message with correct body

I used to received the notification after receiving a new mail after making a subscription. However, since I accidently spammed my own mail box (create an event that make it so that each time there is a new message, a new draft message was created…
Ant
  • 277
  • 3
  • 10
-1
votes
1 answer

How can I create a new category in Office 365 calendar using the REST API?

The application I am currently working on adds new events in the user's Office 365 calendar. I would like to display the events in different colors based on some criteria. I think I can achieve that using categories but I didn't find a way to add a…
chris770
  • 15
  • 4
-1
votes
1 answer

Outlook API - Get shared event

I use outlook API v2. I get the list of events from a shared calendar. I use this API call: /users('{EMAIL}')/CalendarView I would like to be able to get a specific event with its ID. I can make a call on my own calendar but the call "get events" on…
Zozor
  • 23
  • 3
-1
votes
1 answer

Configure Apache2.4 as "secure scheme"

I have a java web application which I am trying to host on a home computer running windows server 2012. I have configured it so that Apache and Tomcat communicate with each other and I am able to access the website fine. The issue arrises when the…
-1
votes
1 answer

Q: How to handle all inbound and outbound mails in Office365/Exchange online?

What are alternatives to Exchange Transport Agents if you’d need to implement the logic to handle all mails coming into or out of the organization in Office365/Exchange online? Is MS Graph or Outlook notification REST API are reliable and fast…
1 2 3
64
65