This REST API adds a Header or a Footer to a document.

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

Value Description
HeaderEven The header for even-numbered pages.
HeaderPrimary Primary header, also used for odd-numbered pages
FooterEven Footer for even-numbered pages.
FooterPrimary Primary footer, also used for odd-numbered pages.
HeaderFirst The header for the first page of the section.
FooterFirst Footer for the first page of the section.


The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Words Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: