--- title: Export to OpenAPI specification description: Export a REST API as an OpenAPI specification to import it into another web services tool. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-api-explorer/export-openapi-specification.html release: australia product: REST API Explorer classification: rest-api-explorer topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Use the REST API Explorer, REST APIs, Web services, API implementation, API implementation and reference] --- # Export to OpenAPI specification Export a REST API as an OpenAPI specification to import it into another web services tool. ## Before you begin Role required: web\_service\_admin, rest\_api\_explorer, or admin ## Procedure 1. Navigate to **All** > **System Web Services** > **REST** > **REST API Explorer**. 2. Select the API you want to export. For example, use these choices to select the Table API for export. |Field|Value| |-----|-----| |Namespace|now| |API Name|Table API| |API Version|latest| 3. Below the list of API methods, select the link for the export format you want to use.
**Export OpenAPI Specification \(YAML\)** Format the export in YAML.
**Export OpenAPI Specification \(JSON\)** Format the export in JSON.
The browser displays a window to select a download location. 4. Select the download location and file name. 5. Save the file. ## Result The system downloads the API in the format you selected. ## What to do next Import the API into a web services tool such as Postman or Insomnia. **Parent Topic:**[Use the REST API Explorer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/use-REST-API-Explorer.md)