ComoFX Back Office

Webhooks

View webhook logs and test endpoints

Available Endpoints
Configure your CRM to send webhooks to these endpoints
Webhook NameEndpointStatusDescription
Live Account Created/api/webhooks/live-account-createdNo logsTriggered when a new live trading account is created
Lead Created/api/webhooks/lead-createdNo logsTriggered when a new lead is created
IB Created/api/webhooks/ib-createdNo logsTriggered when a new IB is created
Login/api/webhooks/loginNo logsTriggered when a user logs in
Deposit/api/webhooks/depositNo logsTriggered when a deposit is made
First Time Deposit/api/webhooks/first-time-depositNo logsTriggered on a user's first deposit
Withdrawal/api/webhooks/withdrawalNo logsTriggered when a withdrawal is requested
Demo Account Created/api/webhooks/demo-account-createdNo logsTriggered when a demo account is created
Documents Verified/api/webhooks/documents-verifiedNo logsTriggered when documents are verified
First Time Traded/api/webhooks/first-time-tradedNo logsTriggered on a user's first trade
Tickets/api/webhooks/ticketsNo logsTriggered when a support ticket is created or updated
Accounts/api/webhooks/accountsNo logsTriggered when account information is updated
Test Webhooks
Example curl commands to test webhook endpoints

Example: Test Live Account Created

curl -X POST http://localhost:3000/api/webhooks/live-account-created \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "12345",
    "user_id": "67890",
    "email": "user@example.com",
    "account_type": "standard",
    "created_at": "2025-12-26T13:16:31.428Z"
  }'

Example: Test Deposit

curl -X POST http://localhost:3000/api/webhooks/deposit \
  -H "Content-Type: application/json" \
  -d '{
    "deposit_id": "dep_12345",
    "account_id": "12345",
    "amount": 1000,
    "currency": "USD",
    "method": "credit_card",
    "status": "completed",
    "timestamp": "2025-12-26T13:16:31.428Z"
  }'

Replace localhost:3000 with your actual domain when deploying to production. Add authentication headers as required by your CRM integration.