Skip to main content

Create Your First Drop

Learn how to use DropKit’s GraphQL API to launch drops, process payments, and manage the entire customer experience.

Authentication Setup

To start using DropKit’s GraphQL API, you’ll need an API key:
  1. Sign up at app.dropkit.co
  2. Navigate to your dashboard
  3. Go to Settings > API Keys
  4. Generate a new API key and keep it secure
All GraphQL requests require authentication using Bearer tokens in the header:

Create Your First Token

Before creating drops, you’ll need to create a token:
Create a fungible token that will be used in your drops:
Response:

Launch Your First Drop

Create a token drop using your newly created token:
Response:
Create an NFT drop:

View Your Drops

Get all your drops:
Response:
Get detailed statistics for a specific drop:

Process Payments

Handle purchases with multiple payment methods including crypto.
Process a purchase with payment intents:
Response:
Confirm a payment after completion:

Claiming Drops

Enable users to claim tokens or NFTs from your drops.
Process a token claim:
For drops with random amounts:

Access Control & Gating

Create eligibility requirements for your drops.
Verify if a wallet meets requirements:
Response:
Set up gating rules for a drop:
Get available gating templates:

Track Activity

Monitor events and analytics across your drops.
Get platform events for monitoring:
Register webhooks for real-time notifications:

Advanced Features

User Management

Get your user profile:
Update your profile information:

File Management

Upload images and other files:

Next Steps

Now that you’ve created your first drop, explore:

GraphQL Benefits

Powerful Queries

  • Fetch exactly the data you need
  • Get related data in a single request
  • Real-time computed fields

Type Safety

  • Strongly typed schema
  • Built-in validation
  • Auto-completion support

Flexibility

  • Multiple operations in one request
  • Aliases for complex queries
  • Fragments for reusable selections

Performance

  • Efficient data fetching
  • Reduced over-fetching
  • Optimized for mobile apps