Skip to content

Onboard a client and accept an engagement

Goal: know when a client invites your firm, and keep your CRM in step with the client, their accounts and the mandate on each portfolio. Scope: read. Accepting an invitation is a decision a person makes in Console; the API shows you everything around it.

Client onboardingClient (IDEALX app)Firm admin (Console)IDEALX APIYour CRM1Invite the firm: portfolios, levels, limits2GET /v1/firms/{firmId}/invitations3status: sent4Accept (or propose changes)5GET /v1/firms/{firmId}/clients6GET /v1/firms/{firmId}/clients/{clientId}7engagements, mandates, account ids8GET /v1/accounts/{id}/detailStore client, accounts, mandates
Client onboarding
  1. Client (IDEALX app) to IDEALX API: Invite the firm: portfolios, levels, limits
  2. Your CRM to IDEALX API: GET /v1/firms/{firmId}/invitations
  3. IDEALX API to Your CRM: status: sent
  4. Firm admin (Console) to IDEALX API: Accept (or propose changes)
  5. Your CRM to IDEALX API: GET /v1/firms/{firmId}/clients
  6. Your CRM to IDEALX API: GET /v1/firms/{firmId}/clients/{clientId}
  7. IDEALX API to Your CRM: engagements, mandates, account ids
  8. Your CRM to IDEALX API: GET /v1/accounts/{id}/detail
  9. Your CRM: Store client, accounts, mandates
Path (client.path) How it starts
invited The firm invites the person from Console; they sign up and invite the firm to an account
existing_user Someone who already uses IDEALX invites the firm from Profile → Professionals you work with
firm_verified The firm verifies the person itself (under reliance) and applies for an account on their behalf

In every case the client decides which portfolios the firm gets and at what level (view, advisory, discretionary) with which limits.

GET /v1/firms/{firmId}/invitationsCustomers' invitations to you (or to the firm, for admins): the customer, account type, portfolios and access

There is no webhook for invitations; poll this a few times a day, or when your team opens the client in your CRM.

Terminal window
curl "$IDEALX_API/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/invitations" -H "Authorization: Bearer $IDEALX_API_KEY"
{
"invitations": [
{
"id": "inv_01937f01a2b3c4d5e6f7a8b9c0d1e2f3",
"accountId": "acc_01937f00f1e2d3c4b5a6978877665544",
"accountName": "Morgan Family Trust",
"accountType": "Trust",
"status": "sent",
"email": "advice@northwind.example",
"target": "firm",
"firm": { "name": "Northwind Advice", "country": "AU", "licence": "000000", "verified": true, "practice": "advice" },
"firmId": "frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b",
"person": null,
"invitedBy": "Alex Morgan",
"items": [
{
"portfolioId": "ptf_01937f00f1e2d3c4b5a69788776655a1",
"portfolioName": "Primary",
"level": "advisory",
"limits": {}
},
{
"portfolioId": "ptf_01937f00f1e2d3c4b5a69788776655a2",
"portfolioName": "Growth",
"level": "discretionary",
"limits": {
"allowedAssetClasses": ["equity", "etf", "cash"],
"maxAmountPerInstruction": { "amount": "50000.00", "currency": "AUD" },
"noWithdrawals": true
}
}
],
"originPortfolioId": null,
"approvals": 1,
"approvalsRequired": 1,
"approvedByMe": false,
"counter": null,
"engagementId": null,
"declineReason": null,
"expiresAt": "2026-12-09T03:00:00.000Z",
"sentAt": "2026-11-25T03:00:00.000Z",
"decidedAt": null,
"createdAt": "2026-11-25T02:58:41.000Z"
}
]
}

Statuses: pending_approval (waiting for the client’s own co-approvers), sent (waiting for the firm), awaiting_registration (sent to someone not yet on IDEALX), changes_proposed (the firm proposed different terms in counter; the client decides), active (accepted; engagementId is set), declined, expired, cancelled and ended.

A firm admin (or the invited professional) opens the invitation in Console and accepts, declines or proposes changes to the portfolios, levels, limits or fee. Accepting creates the engagement and its mandates. (approvals and approvalsRequired on an invitation count the client’s own co-approvers, for accounts that need more than one person to invite a professional.) An invitation stays open for 14 days.

GET /v1/firms/{firmId}/clientsClients you can see

Match on personId (stable) rather than email.

{
"clients": [
{
"id": "crl_01937d0a5b6c7d8e9f0a1b2c3d4e5f60",
"personId": "per_01937d0a5b6c7d8e9f0a1b2c3d4e5f61",
"name": "Alex Morgan",
"email": "alex.morgan@example.com",
"path": "existing_user",
"status": "active",
"verified": true,
"signedIn": true,
"createdAt": "2026-11-25T03:05:12.000Z"
}
]
}
GET /v1/firms/{firmId}/clients/{clientId}A client with the accounts you work on and the applications you made
Terminal window
curl "$IDEALX_API/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/clients/crl_01937d0a5b6c7d8e9f0a1b2c3d4e5f60" \
-H "Authorization: Bearer $IDEALX_API_KEY"
{
"client": {
"id": "crl_01937d0a5b6c7d8e9f0a1b2c3d4e5f60",
"personId": "per_01937d0a5b6c7d8e9f0a1b2c3d4e5f61",
"name": "Alex Morgan",
"email": "alex.morgan@example.com",
"path": "existing_user",
"status": "active",
"verified": true,
"signedIn": true,
"createdAt": "2026-11-25T03:05:12.000Z"
},
"engagements": [
{
"id": "eng_01937f02b3c4d5e6f7a8b9c0d1e2f3a4",
"accountId": "acc_01937f00f1e2d3c4b5a6978877665544",
"firm": { "id": "frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b", "name": "Northwind Advice", "licence": "000000" },
"status": "active",
"acceptedVia": "portal",
"startedAt": "2026-11-25T03:05:12.000Z",
"mandates": [
{ "portfolioId": "ptf_01937f00f1e2d3c4b5a69788776655a1", "level": "advisory", "limits": {} },
{
"portfolioId": "ptf_01937f00f1e2d3c4b5a69788776655a2",
"level": "discretionary",
"limits": {
"allowedAssetClasses": ["equity", "etf", "cash"],
"maxAmountPerInstruction": { "amount": "50000.00", "currency": "AUD" },
"noWithdrawals": true
}
}
],
"accountName": "Morgan Family Trust",
"accountTypeId": "trust"
}
],
"applications": []
}

applications lists accounts your firm applied for on the client’s behalf, with their status and, once open, the accountId. The account.opened webhook tells you when one opens.

GET /v1/accounts/{id}/detailAn account with its portfolios and balances returns only the portfolios under your mandates, each with actions your firm may take there (propose on advisory, trade on discretionary, message, documents, reports…). Use them to decide what your CRM offers.

  1. Store the client (personId, id), each engagement (id, accountId, status) and each mandate (portfolioId, level, limits).
  2. Re-read the client after an invitation turns active or ended, and nightly, to catch changed mandates.
  3. When an engagement ended, stop showing new data for that account: the API now answers 404 for it.