API Guide
Version 1.2.0 • Last Updated: April 2026
Welcome to the Ilmfun API Documentation. This guide explains how to integrate with the Ilmfun platform, specifically for Godot game frontends and custom client implementations.
1. Base URL
All API endpoints are served over HTTPS and use a standard RESTful interface.
2. Authentication
The API uses JWT-based authentication. Most endpoints require an Authorization: Bearer <token> header.
2.1 Google Login
Exchange a Google ID Token for an Ilmfun Access Token and Refresh Token.
2.2 Refresh Token
Get a new access token using your refresh token to maintain your session.
3. Models (VRM)
Models in Ilmfun are standard VRM files. The game frontend is responsible for loading these assets at runtime.
3.1 List Models
Retrieve a list of available 3D models or filter by a specific user ID.
3.2 Model Response
The API returns model metadata along with direct URLs to the stored assets:
4. Rooms
Rooms enable real-time interaction between users via LiveKit.
4.1 Join a Room
Request a connection token to join a specific room.
4.2 Connection Details
The response includes the credentials needed for the LiveKit SDK:
5. Godot Integration
To use these services in a Godot project:
- Asset Loading: Use a VRM loader plugin to download and display
file_urlassets. - Networking: Use the LiveKit Godot SDK for voice and data synchronization.
- Security: Store your JWT tokens securely in the local application state.
For technical support or further inquiries, please contact us at hello@ilmfun.com.