This section describes how to accomplish common tasks using the API for Workflow for Office 365 and Forms for Office 365. You can export and publish your workflows and forms using the API.
For an overview of the information in a request, see Elements of the API.
Collect your prerequisite information, and then you can construct the API URI, generate an authorization token, and then execute a request with your REST client.
To use the Office 365 API for Workflows and Forms
Nintex Workflow for Office 365 REST API