{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":418,"path":"api-reference/rest-api-explorer/export-openapi-specification.md","title":"Export to OpenAPI specification","bundle":null,"doc_type":null,"release":"australia","body":"\n# Export to OpenAPI specification\n\nExport a REST API as an OpenAPI specification to import it into another web services tool.\n\n## Before you begin\n\nRole required: web\\_service\\_admin, rest\\_api\\_explorer, or admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Web Services** &gt; **REST** &gt; **REST API Explorer**.\n\n2.  Select the API you want to export.\n\n    For example, use these choices to select the Table API for export.\n\n    |Field|Value|\n    |-----|-----|\n    |Namespace|now|\n    |API Name|Table API|\n    |API Version|latest|\n\n3.  Below the list of API methods, select the link for the export format you want to use.\n\n<table id=\"choicetable_un2_fp2_25b\"><tbody><tr><td id=\"d237223e136\">\n\n**Export OpenAPI Specification \\(YAML\\)**\n\n</td><td>\n\nFormat the export in YAML.\n\n</td></tr><tr><td id=\"d237223e145\">\n\n**Export OpenAPI Specification \\(JSON\\)**\n\n</td><td>\n\nFormat the export in JSON.\n\n</td></tr></tbody>\n</table>    The browser displays a window to select a download location.\n\n4.  Select the download location and file name.\n\n5.  Save the file.\n\n\n## Result\n\nThe system downloads the API in the format you selected.\n\n## What to do next\n\nImport the API into a web services tool such as Postman or Insomnia.\n\n**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)\n\n"}}