Introduction

The Grouping API allows you to integrate group dating functionality into your applications. Create groups, manage matches, handle events, and build powerful social experiences.

Base URL: https://api.groupingokon.com/v1

Features

  • Group creation and management
  • Matchmaking algorithms
  • Real-time chat integration
  • Event planning and coordination
  • User authentication and profiles

Authentication

All API requests require authentication using your API key. Include it in the Authorization header:

cURL
curl https://api.groupingokon.com/v1/groups \
  -H "Authorization: Bearer YOUR_API_KEY"
⚠️ Keep your API key secure! Never expose it in client-side code or commit it to version control.

Getting Your API Key

  1. Sign up for a Grouping account
  2. Navigate to your dashboard
  3. Go to API Settings
  4. Generate a new API key

Quick Start

Get started with a simple example in your preferred language:

JavaScript
const response = await fetch('https://api.groupingokon.com/v1/groups', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);
Python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
}

response = requests.get(
    'https://api.groupingokon.com/v1/groups',
    headers=headers
)

data = response.json()
print(data)
cURL
curl https://api.groupingokon.com/v1/groups \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Groups

Manage groups of users for matching and activities.

List Groups

GET /groups

Parameters

Parameter Type Description
limit integer Number of results (default: 20, max: 100)
offset integer Number of results to skip
interest string Filter by interest category

Example Request

cURL
curl https://api.groupingokon.com/v1/groups?limit=10&interest=hiking \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

JSON
{
  "data": [
    {
      "id": "grp_123",
      "name": "Hiking Enthusiasts",
      "members": 8,
      "interests": ["hiking", "outdoors", "adventure"],
      "created_at": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "offset": 0,
    "total": 42
  }
}

Create Group

POST /groups

Request Body

JSON
{
  "name": "Coffee Lovers",
  "description": "Weekly coffee meetups",
  "interests": ["coffee", "social", "food"],
  "member_ids": ["usr_123", "usr_456"]
}

Matches

Retrieve and manage group matches.

Get Matches

GET /matches
cURL
curl https://api.groupingokon.com/v1/matches \
  -H "Authorization: Bearer YOUR_API_KEY"

API Playground

Test API endpoints directly in your browser.

// Click "Run" to test the endpoint

Error Codes

The API uses standard HTTP status codes and returns detailed error messages.

Status Code Error Type Description
400 Bad Request Invalid request parameters
401 Unauthorized Missing or invalid API key
404 Not Found Resource not found
429 Rate Limited Too many requests
500 Server Error Internal server error