Get Started with the Swagger
How to get started with the Swagger
How to get started with the Swagger
Set up API Key first
Before you get started with the API Swagger you have to create your Authentication Token or API Key first in NMKR Studio. Depending on the network you are going to use, you need to in either the , or the .
The first action before you can try it out, is to add your API key in the global page authorisation panel. If you do not do this, you will ALWAYS receive a 401 Error when using Swagger UI.
To do this, navigate to the top right of the page and select the 'Authorize' Button. You will then be greeted by a pop up, where you should copy and paste your mentioned previously.
Click on the Endpoint to expand more details and to test the Endpoint
Click "Try it out" to activate the panel.
The NMKR Studio API will respond a) with the Curl and b) with the Request URL
B) valid and executed.
If the Authorization is requested, please make sure that it is the same as you specified as and then click on "Execute".
And it will also respond with some Codes. Please read the to understand what they mean. The following is a response that says that the call is A) invalid; Reason: "Wallet address already exists".
Please keep in mind that if you upload the metadata in a payload, the metadata must be escaped.