Niftory Docs
  • What is Niftory?
  • Get your API Keys
  • 👩‍💻API
    • Niftory Web3 API
    • SDK QuickStart
      • Using the SDK in React
      • Using the SDK from the Server
    • API Quickstart
      • Create your first Wallet
      • API calls with Sample Content
      • Mint your first NFT
    • API Cheat Sheet
    • Niftory Sample App
      • Explore the Sample App
      • Anatomy of a Niftory App
        • Getting Authenticated
        • GraphQL Client Setup
        • API Usage
        • Transfer an NFT
    • 💡Core Concepts
      • Niftory Data Model
      • Authentication
        • Using Your API Key
        • Configuring Your App
        • Privileged Authentication
      • App and AppUser
      • NFTs
        • Creating NFTs
        • Querying NFTs
        • Transferring NFTs
        • Minting NFTs
      • Wallets
        • Create a Niftory Wallet
        • Register External Wallets
        • Query Wallets
      • Contract
      • User Auth (Client-Side)
    • Your Niftory Account
  • 🧑‍💼Admin Portal
    • Niftory Admin Portal
    • 🚀Guides
      • Setting Up Your Org
      • Create Your First NFT
    • 🗺️Explore
      • Org and Apps
      • NFT Collection
        • Sets
        • Collectibles
        • NFTs
    • 💼Use Cases
      • For Engineers
      • For Designers
      • For Business Users
  • 📖Reference
    • GraphQL & Auth Endpoints
    • API Reference
    • SDK API Reference
Powered by GitBook
On this page
  • API Endpoints
  • Auth Service Endpoints

Was this helpful?

  1. Reference

GraphQL & Auth Endpoints

PreviousFor Business Users

Last updated 1 year ago

Was this helpful?

The Niftory API is built in .

POST https://graphql.api.staging.niftory.com/

Perform any GraphQL commands and actions.

Headers

Name
Type
Description

X-Niftory-API-Key*

String

Application's API Key

Authorization*

String

Bearer token containing the user's JWT. See

.

{
  "data": {
    "wallet": {
      "id": "14",
      "address": "0xf253fc2ca37c078436d07fb75e5a76a649892172",
      "state": "UNVERIFIED",
      "verificationCode": "xyz789",
      "nfts": [NFT],
    }
  }
}

API Endpoints

Always test your application against the Staging environment. The production endpoint will affect the blockchain for real, so that should only be used when you are ready to ship your app.

Staging (targets blockchain testnet)

https://graphql.api.staging.niftory.com

Production (targets blockchain prod)

https://graphql.api.niftory.com

Auth Service Endpoints

Production

NIFTORY_AUTH_SERVICE=https://auth.niftory.com

Staging

NIFTORY_AUTH_SERVICE=https://auth.staging.niftory.com

📖
GraphQL
Authenticating the User