Skip to end of metadata
Go to start of metadata
Contents Summary


This REST API allows you to add Header or Footer to a document. The API returns the added object's data in XML/JSON format.

The request body should contain a type of header/footer, and the allowed values of headerFooterType are:

HeaderEvenThe header for even-numbered pages.
HeaderPrimaryPrimary header, also used for odd-numbered pages
FooterEvenFooter for even-numbered pages.
FooterPrimaryPrimary footer, also used for odd-numbered pages.
HeaderFirstThe header for the first page of the section.
FooterFirstFooter for the first page of the section.

Resource URI

Swagger UI lets you call this REST API directly from the browser.  

cURL Example



Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

  • No labels