This article provides step by step process to generate MSW API Key.

CAUTION: You cannot view or copy the API key once you close the GENERATE API KEY pop-up window. Make sure that the API key is copied and saved to use in the Swagger or any other API platform.
NOTE: Admin of the account can view the API key generated for the user. If required, admin can revoke the API key.Your API access is determined based on the access level in MySonicWall.API Documentation
SonicWall provides many API functions with MySonicWall. A full list of the API functions can be found here: https://api.mysonicwall.com/mssp.html
Support
MySonicWall API support is available via SonicWall Community here.
Feature Availability
Now, all MySonicWall users can generate API key to use in Swagger or any other API platform. Most of the MSW API workflows primarily revolve around Monthly Billing operations, but others can utilize MSW API key to generate NSM token and access NSM APIs. Create a Customer Service Requests in case you are not able to view “Generate My API Key” option on your MSW Account.