AMS Docs
Platform v1.0 ยท Live

AMS Platform Documentation

The complete reference for the Association Management System โ€” a modern, multi-tenant platform built to run associations, professional bodies, and membership organisations of any scale.

โšก Quick Start ๐ŸŒ Live Platform ๐Ÿ” API Docs

What is AMS Platform?

The AMS Platform (Association Management System) is a comprehensive, cloud-based solution designed to streamline operations for associations, professional bodies, trade organisations, and membership-based groups. It consolidates member management, event scheduling, job boards, communications, finance tracking, and AI-assisted workflows into a single unified interface.

Unlike generic CRMs, AMS is purpose-built for associations. Every feature is designed around the concept of membership โ€” with granular role-based access, multi-tenant isolation, and a WhatsApp-style chat platform that keeps your community connected in real time.

Key Concepts

Tenants & Organisations

Every association on AMS is a Tenant. A tenant has its own database schema, admin team, and complete data isolation from all other tenants. Your users log in at yourdomain.ams.hkus1.s4s.host and never see data from other organisations.

Roles & Permissions

AMS uses a hierarchical RBAC (Role-Based Access Control) model. Permissions cascade downward โ€” a Super Admin has all permissions, a basic Member has access only to their own profile and public-facing features.

RoleScopeKey Capabilities
๐Ÿ‘‘ Super AdminPlatform-wideManage all tenants, system config, billing
๐Ÿ›ก๏ธ AdminTenant-wideFull control of one organisation
๐Ÿ‘” ManagerModule-levelManage specific modules (events, jobs, etc.)
๐Ÿ‘ท StaffOperationalDay-to-day ops, member support, data entry
๐Ÿ‘ค MemberSelf-serviceProfile, events, jobs, chat, directory

Modules

AMS is modular. Each functional area is a Module that can be enabled or disabled per tenant:

๐Ÿ’ฌ
Chat & Messaging
Real-time channels & DMs
๐Ÿ‘ฅ
Member Directory
Searchable profiles
๐Ÿ“…
Events & Calendar
Conferences, webinars
๐Ÿ’ผ
Job Board
Industry careers
๐Ÿ’ณ
Finance & Billing
Dues, invoices, Stripe
๐Ÿค–
AI Copilot
Smart automation

Architecture Overview

AMS is built on a modern, cloud-native stack designed for high availability and horizontal scalability.

๐ŸŒ Next.js Frontend
React / Tailwind CSS
๐Ÿ“ฑ Mobile Apps
React Native / Expo
๐Ÿ”Œ Third-party
Zapier / Webhooks
โ†• HTTPS / REST + WebSocket
๐Ÿ” API Gateway + Auth Layer (JWT + RBAC)
โ†•
Members API
Events API
Finance API
Chat API
โ†•
๐Ÿ˜ PostgreSQL
Multi-tenant DB
โšก Redis
Cache + Sessions
๐Ÿ“ S3 Storage
Files & Media

Technology Stack

LayerTechnologyPurpose
FrontendNext.js 14, React, Tailwind CSSSPA + SSR web application
APINode.js, Express/FastifyREST API + WebSocket server
DatabasePostgreSQL 15 (row-level security)Primary multi-tenant data store
CacheRedis 7Sessions, real-time pub/sub, job queues
StorageAWS S3 / MinIOFiles, avatars, event media
AuthJWT + Refresh TokensStateless authentication
PaymentsStripeSubscriptions, dues, ticket sales
EmailSendGrid / AWS SESTransactional + bulk email
AIOpenAI GPT-4oCopilot & smart automation

Important Notes

โ„น๏ธ Demo EnvironmentThe live demo runs at ams.hkus1.s4s.host. Use admin@pasha.org / Demo@2024! to explore the admin panel. Demo data resets nightly.
โœ… Production ReadyAMS v1.0 is production-hardened with automated backups, 99.9% uptime SLA, SOC2-aligned security practices, and encrypted data at rest and in transit.
โš ๏ธ Multi-tenancy WarningNever share API tokens across tenants. Each API key is scoped to a single tenant. Cross-tenant API requests return 403 Forbidden.
๐Ÿšจ Destructive ActionsMember deletions and tenant removals are irreversible. Always export a backup before bulk deletes. A 30-day soft-delete window exists for accidental removals.

API Quick Start

All API requests require a Bearer token obtained from the authentication endpoint. Get started in 60 seconds:

Step 1 โ€” Authenticate

bash
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"admin@pasha.org","password":"Demo@2024!"}'

Step 2 โ€” Use the Token

json โ€” response
{
  "success": true,
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refreshToken": "rt_abc123def456...",
  "user": {
    "id": "usr_01HXYZ",
    "email": "admin@pasha.org",
    "role": "admin",
    "tenantId": "ten_pasha"
  }
}

Step 3 โ€” Make Authenticated Requests

bash
# List all members
curl -X GET https://yourdomain.ams.hkus1.s4s.host/api/v1/members \
  -H "Authorization: Bearer $TOKEN"

# Create a new member
curl -X POST https://yourdomain.ams.hkus1.s4s.host/api/v1/members \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Sarah",
    "lastName": "Ahmed",
    "email": "sarah.ahmed@example.com",
    "membershipType": "full",
    "chapter": "hong-kong"
  }'

JavaScript SDK

javascript
import { AMSClient } from '@ams/sdk';

const client = new AMSClient({
  baseURL: 'https://yourdomain.ams.hkus1.s4s.host/api/v1',
  apiKey: process.env.AMS_API_KEY
});

// Get all active members
const members = await client.members.list({ status: 'active' });

// Create an event
const event = await client.events.create({
  title: 'Annual Conference 2026',
  date: '2026-09-15T09:00:00Z',
  capacity: 500
});

Next Steps

Choose your path based on your role:

๐Ÿ‘‘
I'm a Super Admin
Platform setup, tenant management, and system configuration.
๐Ÿ›ก๏ธ
I'm an Admin
Manage your association, members, events, and settings.
๐Ÿ‘ค
I'm a Member
Your profile, membership benefits, events, jobs, and chat.
๐Ÿ”Œ
I'm a Developer
API reference, webhooks, SDK docs, and integration guides.