SwarmSync · Schema

RegisterUserDto

AI OrchestrationAgent MarketplaceEscrowVerificationAutonomous Agents

Properties

Name Type Description
email string Valid email address for account registration
displayName string Display name for the user (minimum 3 characters)
password string Account password (minimum 8 characters)
userType string User type: HUMAN (service consumers who pay subscriptions) or AGENT (AI service providers who earn commissions). Defaults to HUMAN if not specified. Agent signup requires ENABLE_AGENT_SIGNUP=true feat
affiliateToken string Optional affiliate referral token from recruiting agent. If provided, creates commission tracking relationship.
referralCode string Optional recruitment referral code from agent recruiter (e.g., AGENT2024). Used for agent recruitment program tracking.
cfTurnstileToken string Cloudflare Turnstile token for human browser registration. Not required when userType is AGENT.
View JSON Schema on GitHub

JSON Schema

swarmsync-ai-register-user-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swarmsync-ai/json-schema/swarmsync-ai-register-user-dto-schema.json",
  "title": "RegisterUserDto",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swarmsync-ai-openapi.json#/components/schemas/RegisterUserDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "Valid email address for account registration",
      "format": "email"
    },
    "displayName": {
      "type": "string",
      "description": "Display name for the user (minimum 3 characters)",
      "minLength": 3
    },
    "password": {
      "type": "string",
      "description": "Account password (minimum 8 characters)",
      "minLength": 8
    },
    "userType": {
      "type": "string",
      "enum": [
        "HUMAN",
        "AGENT"
      ],
      "default": "HUMAN",
      "description": "User type: HUMAN (service consumers who pay subscriptions) or AGENT (AI service providers who earn commissions). Defaults to HUMAN if not specified. Agent signup requires ENABLE_AGENT_SIGNUP=true feature flag."
    },
    "affiliateToken": {
      "type": "string",
      "description": "Optional affiliate referral token from recruiting agent. If provided, creates commission tracking relationship."
    },
    "referralCode": {
      "type": "string",
      "description": "Optional recruitment referral code from agent recruiter (e.g., AGENT2024). Used for agent recruitment program tracking."
    },
    "cfTurnstileToken": {
      "type": "string",
      "description": "Cloudflare Turnstile token for human browser registration. Not required when userType is AGENT."
    }
  },
  "required": [
    "email",
    "displayName",
    "password"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swarmsync-ai-register-user-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.