Microsoft Graph API for Word365

APIPointNewbie 146 Reputation points
2021-07-15T10:06:27.647+00:00

Hi,

Is there an API for Office365 with which you can also address Word services like docx to pdf etc.?

I can't find a clue about it on the Microsoft Graph page, unfortunately.

Link: https://learn.microsoft.com/en-us/graph/overview

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Danstan Onyango 3,906 Reputation points Microsoft Employee
    2021-07-16T06:28:56.77+00:00

    For this, check Working with files in Microsoft Graph which has documentation on how to create, update, upload, download files etc through MS Graph.

    For example, to convert a word document to PDF, you would use Download a file in another format with the format variable = pdf and the driveItem-id is the id of a word document on your drive.

    GET /me/drive/items/{item-id}/content?format=pdf  
    
    1 person found this answer helpful.

  2. APIPointNewbie 146 Reputation points
    2021-07-16T08:54:11.86+00:00

    I find Excel and co. in the listing but no Word.
    See: https://learn.microsoft.com/en-us/graph/overview

    Is there an API to Word365 like there is to Sharepoint365 ? If so what can I do with the Word API ?

    Unfortunately I can't find any details

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.