How to add Header/Footer to with Google Docs API
I want to add header and footer to an existing Google Docs file using Google Docs API . Looking at the documents.batchUpdate ( link ) we can insert text, replace text, add images and table etc by mentioning them in the JSON payload with objects like replaceAllText , insertText etc but I cannot find any way to insert header and footer. Question 1: How can I add header and footer? Question 2: How can I add different header/footer for the first page of document? If not possible, suggestion to use any other API or method (like using MS Word) will be much appreciated. Thank you in advance. How