Creates a new mini app with support for different types including the new ‘onboarding’ type.
Supported Types:
For ‘onboarding’ type mini-apps, special validation logic is applied:
Required Fields: twitter_handle and id_x are mandatory
Sequential Process (ALWAYS both steps):
STEP 1 - beta_whitelist table:
STEP 2 - users_onboarded table:
Database Updates (ALWAYS both tables):
Use this format: ApiKey <your_api_key>
Mini app creation payload
UUID of the user
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Description of the mini app
"My awesome swap mini-app"
Wallet address
"0x123abc456def789012345678901234567890abcd"
JSON metadata object
{
"name": "My Mini App",
"version": "1.0.0",
"settings": { "slippage": 0.5, "gas_limit": 300000 }
}Contract address
"0x456def789abc012345678901234567890123cdef"
Blockchain network ID (43114 for Avalanche mainnet)
43114
Is the mini app active?
true
Type of the mini app
Swap, Stake, Transfer Native, Tips, Native Cross-Chain, onboarding "Swap"
Protocol used for the mini app
"traderjoe"
Transaction hash
"0xabc123def456789abc123def456789abc123def456789abc123def456789abcd"
Destination blockchain network ID (for cross-chain operations)
1
Twitter handle (REQUIRED when type = "onboarding")
"johndoe"
Twitter ID (REQUIRED when type = "onboarding")
"123456789"