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 (IDEALX app) to IDEALX API: Invite the firm: portfolios, levels, limits
- Your CRM to IDEALX API: GET /v1/firms/{firmId}/invitations
- IDEALX API to Your CRM: status: sent
- Firm admin (Console) to IDEALX API: Accept (or propose changes)
- Your CRM to IDEALX API: GET /v1/firms/{firmId}/clients
- Your CRM to IDEALX API: GET /v1/firms/{firmId}/clients/{clientId}
- IDEALX API to Your CRM: engagements, mandates, account ids
- Your CRM to IDEALX API: GET /v1/accounts/{id}/detail
- Your CRM: Store client, accounts, mandates
How clients reach a firm
Section titled “How clients reach a firm”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.
1. See new invitations
Section titled “1. See new invitations”/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.
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.
2. Accept in Console
Section titled “2. Accept in Console”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.
3. Find the client
Section titled “3. Find the client”/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" } ]}4. Read the engagements and mandates
Section titled “4. Read the engagements and mandates”/v1/firms/{firmId}/clients/{clientId}A client with the accounts you work on and the applications you made
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.
5. Read the account
Section titled “5. Read the account”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.
- Store the client (
personId,id), each engagement (id,accountId,status) and each mandate (portfolioId,level,limits). - Re-read the client after an invitation turns
activeorended, and nightly, to catch changed mandates. - When an engagement
ended, stop showing new data for that account: the API now answers404for it.