Skip to main content

Traders Room — Sign Up API

The Sign Up API allows external systems to register new clients in the platform.

It supports:

  • Creating a new user

  • Passing marketing / affiliate data

  • Passing business / routing configuration

  • Optional email notification

  • Optional instant login via autologin link


🎯 Use Cases

This endpoint is intended for:

  • Partner platforms

  • Affiliate systems

  • Landing pages / funnels

  • External onboarding flows


🌐 Endpoint

POST /tradersroom/api/auth/signup

🔐 Authentication

ExternalAll external requests must include an API key.

Header

x-api-key: <your-api-key>

Errors

CaseResponse
Missing API key401 — Secret key is required
Invalid API key401 — Invalid secret key

⚙️ Request Format

Headers

Header Required Value
Content-Type application/json
x-api-key Provided by platform
Origin Your domain

📥 Request Body

Required Fields

{
  "email": "[email protected]",
  "phone": "+1234567890",
  "firstName": "Jane"
}

Optional

📊 Fields

Full
{
  "lastName": "Doe",
  "affiliateID": "AFF-123",
  "campaignId": "CMP-456",
  "sourceId": "facebook_ads",
  "externalId": "your-system-id",
  "dateOfBirth": "1990-01-01",
  "sendEmail": true,
  "billing": {
    "country": "US",
    "city": "New York",
    "address": "Wall Street 1"
  }
}

Field Reference

🧑 Basic Information

Field Type Required Description
email string User email
phone string Phone number
firstName string First name
middleNamestringMiddle name
lastName string Last name
sendEmailgender booleanstring Send welcome emailGender
dateOfBirthstringDate of birth (ISO format)
nationalitystringNationality
passportstringPassport

📞 Contact Information

FieldTypeRequiredDescription
additionalPhonestringSecondary phone

📢 Affiliate & Marketing

FieldTypeRequiredDescription
affiliateID string Affiliate identifier
subIDstringAffiliate sub-id
campaignId string MarketingCampaign campaignidentifier
sourceId string Traffic source
metastringAdditional metadata
externalId string YourExternal internalsystem user ID

🏢 Business / Routing Configuration

FieldTypeRequiredDescription
dateOfBirthproject string YYYY-MM-DDProject identifier
billingdesk objectstring AddressDesk informationidentifier
managerstringManager (id / email / name)
statusstringClient status
statestringClient state (active, live, etc.)
typestringClient type
companyFeeGroupstringFee group
processedbooleanUsed in custom flows

🛡️ Verification & Permissions

FieldTypeRequiredDescription
verificationLevelstringVerification level
verificationStatusstringVerification status
allowToCreateAssetbooleanAllow asset creation
agreementsarraySigned agreements

⚙️ Traders Room Options

FieldTypeRequiredDescription
sendEmailbooleanSend registration email

📦 Nested Objects

billing

{
  "billing": {
    "country": "US",
    "region": "NY",
    "city": "New York",
    "postcode": "10001",
    "address": "Wall Street 1"
  }
}
FieldType
countrystring
regionstring
citystring
postcodestring
addressstring

agreements

{
  "agreements": [
    {
      "label": "Terms and Conditions",
      "ip": "127.0.0.1",
      "signedAt": "2026-01-01T12:00:00Z"
    }
  ]
}
FieldTypeDescription
labelstringAgreement name
ipstringSigning IP
signedAtstringISO date

📤 Responses

✅ Success — With Autologin

{
  "id": "user-uuid",
  "url": "https://your-domain/autologin/uuid/"
}
  • urlURL allows automaticinstant login

  • LinkValid isfor a short-livedshort time only and should be used immediately


✅ Success — Without Autologin

{
  "id": "user-uuid"
}

❌ Error Responses

400 — Invalid Request

{
  "message": "Email, phone and first name are required",
  "providerStatus": 400
}

401 — Unauthorized

{
  "message": "Invalid secret key",
  "providerStatus": 401
}

500 — Server Error

{
  "message": "Internal server error",
  "providerStatus": 500
}

📡 Example Requests

Basic Registration

curl -X POST "https://your-domain/tradersroom/api/auth/signup" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "email": "[email protected]",
    "phone": "+1234567890",
    "firstName": "Jane"
  }'

RegistrationFull with Marketing DataExample

curl -X POST "https://your-domain/tradersroom/api/auth/signup" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "email": "[email protected]",
    "phone": "+1234567890",
    "firstName": "Jane",
    "lastName": "Doe",
    "affiliateID": "AFF-123",
    "subID": "SUB-1",
    "campaignId": "CMP-456",
    "sourceId": "facebook_ads",
    "project": "default",
    "desk": "sales",
    "sendEmail": true
  }'

⚠️ Important Notes

  • Each request creates a new user

  • EnsureEmail should be unique email per user

  • Autologin linkslink areis temporary

  • Store returned id forin futureyour referencesystem

  • API key must be kept secure

  • Some system fields are automatically managed and cannot be overridden


  1. Collect user data on your side

  2. Call Sign Up API

  3. ReceiveHandle response:

    • If url exists → redirect user

    • If notOtherwise → show success message

  4. Store user ID in your system