API Integration
In addition, we have two different environments in order to allow you integrate the Merso Protocol safely in your system.
You will have to use one of these URLs depending on the integration phase:
Development: https://api3.solana.dev.merso.io
Production: https://api3.solana.merso.io
β οΈ We're using the DEVELOPMENT URL on the following examples. Please, use the PRODUCTION URL if you need.
0. Auth
Endpoint: POST /auth
Purpose: Verify API connectivity and status
Request:
curl -X POST https://api3.dev.merso.io/auth \
-H "Content-Type: application/json" \
-d '{
"game_id": "YOUR_GAME_ID",
"api_key": "YOUR_API_KEY"
}'Response:
Example Request Body:
π Authentication
JWT Token Setup
During onboarding, you'll receive a custom Game ID token for API access:
Request Headers
All API requests require these headers:
Last updated