1. User Registration
Game Loom
  • Game Loom
    • 👋 Welcome to Game Loom
  • Getting started
    • Introduction
    • 👤 Authentication
  • User Registration
    • Introduction
    • Get Countries
      GET
    • Get Cities
      GET
    • Single user registration
      POST
    • Bulk Register Users
      POST
  • Notifications
    • Overview
    • Receiving Event Notifications via Webhooks
    • Get All notifications for specific user
      GET
  • Rewards
    • Overview
    • Points
      • Record user point event
      • Get user points
      • Get Specific user point
    • Levels
      • Record user level event
      • Get user levels
      • Get Specific user level
    • Badges
      • Award badge to user
      • Get user badges
      • Get Specific user badge
  • Challenges (Gamification elements)
    • Introduction
    • Leaderboard
      • Get available leaderboards for user
      • Submit score to a leaderboard
      • Get user's leaderboard participation history
      • Get leaderboard details
      • Get leaderboard ranking
      • Get user's record for a leaderboard
      • Get user's entry history for a leaderboard
    • Survey
      • Overview
      • Get available surveys for user
      • Start a new survey participation
      • Get detailed user participation
      • Get user's survey participation history
      • Abandon survey participation
      • Save individual answer to survey question
      • Submit completed survey
      • Submit Survey with answers (One-Step Submission)
    • Quiz
      • Get available quizzes for user
      • Submit complete quiz answers
      • Get comprehensive user quiz history
      • Get comprehensive quiz attempt details
    • Open Challenge
      • Overview
      • Get available open challenges for user
      • Complete an open challenge
      • Get user's open challenge participation history
      • Get user open challenge by ID
    • Schemas
      • Survey Schame
  1. User Registration

Introduction

Adding your users to Game Loom is simple — you only need to call a single endpoint.
Game Loom does not require any sensitive user data. The only required field is userKey, which serves as a unique identifier for the user within Game Loom.
You may also provide an optional name property to improve readability within the Game Loom dashboard. Additionally, you can attach any custom data to the user, which can be helpful for future targeting and data analysis.
{
  "userKey": "string",
  "name": "string",
  "nameAr": "string",
  "userProperties": {
    "gender": 0,
    "birthDate": "2026-03-17T01:51:09.297Z",
    "country": "string",
    "city": "string",
    "segment": "string"
  }
}
Country & City
The country and city fields use standardized lookup IDs to ensure consistent data across all clients.
For country, use the ISO 3166-1 alpha-2 country code (e.g. "SA" for Saudi Arabia, "EG" for Egypt). For city, use the composite slug ID which combines the country code with the city name (e.g. "SA-riyadh", "EG-cairo").
You can retrieve the full list of supported values from these endpoints:
Countries: GET /api/lookups/countries
Cities by country: GET /api/lookups/cities/{countryId}
Example request:
{
  "userKey": "user-123",
  "name": "Mohammed",
  "nameAr": "محمد",
  "userProperties": {
    "gender": 0,
    "birthDate": "1995-06-15T00:00:00.000Z",
    "country": "SA",
    "city": "SA-riyadh",
    "segment": "premium"
  }
}
Modified at 2026-03-17 04:08:18
Previous
👤 Authentication
Next
Get Countries
Built with