Skip to content

API Integration

All API endpoints require authentication using API keys. You can generate API keys in the API Key Management section.

Generate API key via GUI

You can generate API keys from the NFT Platform app, check out Generate API keys from the NFT Platform section.

To use the API endpoints, you need to make authenticated requests with your API key in the api-key header.

sh
curl -X POST \
  https://nft-platform.azurewebsites.net/api/v1/endpoint \
  -H 'Content-Type: application/json' \
  -H 'api-key: your-api-key-here' \
  -d '{...}'
http
POST https://nft-platform.azurewebsites.net/api/v1/endpoint HTTP/1.1
api-key: your-api-key-here
Content-Type: application/json
{...}
js
await fetch('https://nft-platform.azurewebsites.net/api/v1/endpoint', {
  method: 'POST',
  headers: {
    'api-key': 'your-api-key-here',
  },
  // ...
});
js
await axios.post('https://nft-platform.azurewebsites.net/api/v1/endpoint ', {...}, {
  headers: {
    'api-key': 'your-api-key-here',
  },
});

Generating API key from the NFT Platform

  1. Log into the NFT Platform.
  2. Navigate to Settings in the bottom navigation bar.
  3. Click on the API Keys tab from side menu.
  4. Click Create New API Key button.
API Keys Section
  1. Copy your API key and store it securely.
Copy API Key

CAUTION!

Maintain the confidentiality of your API key by keeping it private. If it is compromised, promptly delete the key and create a new one.

API Documentation created with ❤️ by TrackGenesis