On this page

Introduction

The Riafront API lets your own systems read your firm's data (clients, accounts, positions, transactions, daily values, money in and out, and notes) and add or change clients, accounts, households, goals, follow-ups, documents, and more. Use it to feed a data warehouse, keep a CRM in step, or log calls from a phone system.

Every request goes to one address, over HTTPS, and sends and receives JSON:

https://www.riafront.com/api/v1

If you'd rather receive files on a schedule, the same data can be sent as CSV files to your SFTP server. A firm admin sets that up under Settings → Data exports.

Quick start

  1. A firm admin signs in to Riafront, goes to Settings → API and makes a key. Tick only what it needs. The key is shown once, so copy it into your password manager or your system's secret store.
  2. Check the key works. This says which firm it belongs to and what it can do:
    curl https://www.riafront.com/api/v1/me -H "Authorization: Bearer $RIAFRONT_API_KEY"
  3. Read something:
    curl "https://www.riafront.com/api/v1/clients?limit=50" -H "Authorization: Bearer $RIAFRONT_API_KEY"

Keys and scopes

Send the key on every request as Authorization: Bearer riafront_live_…. A key belongs to the firm, not a person, and reads the whole firm unless it's limited. We keep only a hash of it, so a lost key can't be shown again: turn it off and make a new one. Making, rotating, and turning off keys goes on the firm's activity log.

Each key can do only what was ticked when it was made:

ScopeLets the key
clients:readRead clients: GET /clients and /clients/{id}
accounts:readRead accounts: GET /accounts and /accounts/{id}
positions:readRead positions: GET /positions
transactions:readRead transactions: GET /transactions
daily_values:readRead daily values: GET /daily-values
flows:readRead money in and out: GET /flows
notes:readRead notes: GET /notes and /notes/{id}
households:readRead households: GET /households and /households/{id}. Read household members: GET /household-members and /household-members/{id}
documents:readRead documents: GET /documents and /documents/{id}
held_away:readRead held-away assets: GET /held-away and /held-away/{id}
liabilities:readRead liabilities: GET /liabilities and /liabilities/{id}. Read liability balances: GET /liability-balances and /liability-balances/{id}
orders:readRead orders: GET /orders and /orders/{id}
invoices:readRead invoices: GET /invoices and /invoices/{id}
payments:readRead invoice payments: GET /invoice-payments and /invoice-payments/{id}
signatures:readRead signature requests: GET /signature-requests and /signature-requests/{id}
goals:readRead goals: GET /goals and /goals/{id}
risk_scores:readRead risk scores: GET /risk-scores and /risk-scores/{id}
securities:readRead securities: GET /securities and /securities/{id}
follow_ups:readRead follow-ups: GET /follow-ups and /follow-ups/{id}
documents:filesDownload a document's file: GET /documents/{id}/file
clients:writeAdd a client: POST /clients, /clients/bulk, change one: PATCH /clients/{id}, add or change by your own id: PUT /clients/external/{external_id}
accounts:writeAdd an account: POST /accounts, /accounts/bulk, change one: PATCH /accounts/{id}, add or change by your own id: PUT /accounts/external/{external_id}
notes:writeLog a note: POST /notes, /notes/bulk
households:writeAdd a household: POST /households, /households/bulk, change one: PATCH /households/{id}, add or change by your own id: PUT /households/external/{external_id}
held_away:writeAdd a held-away asset: POST /held-away, /held-away/bulk, change one: PATCH /held-away/{id}
liabilities:writeAdd a liability: POST /liabilities, /liabilities/bulk, change one: PATCH /liabilities/{id}. Add a liability balance: POST /liability-balances, /liability-balances/bulk
goals:writeAdd a goal: POST /goals, /goals/bulk, change one: PATCH /goals/{id}
follow_ups:writeAdd a follow-up: POST /follow-ups, /follow-ups/bulk, mark a follow-up done: POST /follow-ups/{id}/done
transactions:writeSend a transaction for review: POST /transactions, /transactions/bulk
positions:writeSet a starting holding or cash: POST /positions, /positions/bulk
daily_values:writeSet an account value for a day: POST /daily-values, /daily-values/bulk
prices:writeSet a security price: POST /prices, /prices/bulk
period_returns:writeSet a return for a period: POST /period-returns, /period-returns/bulk
invoices:writeAdd or change an invoice: POST /invoices, /invoices/bulk
documents:writeAdd a document: POST /documents, get a link to upload a file: POST /documents/upload-link, confirm an upload: POST /documents/{id}/confirm

A key can also be limited when it's made:

  • Whose clients. Only some advisors' clients. The key can't see anyone else, even by id, and clients it adds go to its advisor.
  • Where from. Only some IP addresses or ranges, like 203.0.113.0/24. Anything else gets a 403.
  • How fast. From 30 to 1,200 requests a minute. 120 is standard.
  • How long. An expiry date.

Rotating a key gives you a new one with the same settings, and keeps the old one working for a grace period (none, an hour, a day, or a week) while you swap it in. Rotate keys when someone who knew one leaves, and on whatever schedule your security policy sets.

Requests and responses

  • A list comes back as { "data": [ … ], "next_cursor": "…" }, and one record as { "data": { … } }.
  • Money is in US dollars unless the column ends in _local, which is in the account's or security's own currency.
  • Returns are decimals: 0.01 is 1%.
  • Dates are YYYY-MM-DD. Times are ISO 8601 in UTC, like 2026-09-28T14:05:00Z.
  • Ids are UUIDs and never change. Use them to match records between runs.
  • A value we don't have is null. Every column in the reference is always present.

Paging

Lists come 200 rows at a time, or up to 1000 with limit. When there are more, the response has a next_cursor. Send it back as cursor for the next page, and stop when it comes back null. A cursor stays valid, so a long sync can stop and carry on later.

let cursor = null;
do {
  const url = new URL('https://www.riafront.com/api/v1/transactions');
  url.searchParams.set('limit', '1000');
  if (cursor) url.searchParams.set('cursor', cursor);
  const res = await fetch(url, { headers: { Authorization: `Bearer ${key}` } });
  const page = await res.json();
  save(page.data);
  cursor = page.next_cursor;
} while (cursor);

Filters and syncing

FilterWorks onMeaning
client_idaccounts, positions, transactions, daily-values, flows, notes, household-members, documents, held-away, liabilities, liability-balances, orders, invoices, invoice-payments, signature-requests, goals, risk-scores, follow-upsOnly this client's.
account_idpositions, transactions, daily-values, flows, documents, ordersOnly this account's.
household_idhousehold-membersOnly this household's.
invoice_idinvoice-paymentsOnly this invoice's.
fromtransactions, daily-values, flows, notes, orders, invoices, invoice-payments, signature-requests, risk-scores, follow-upsOn or after this day, as YYYY-MM-DD.
totransactions, daily-values, flows, notes, orders, invoices, invoice-payments, signature-requests, risk-scores, follow-upsOn or before this day, as YYYY-MM-DD.
external_idclients, accounts, householdsOnly the record with this id from your own system. It has to match all of it, including capitals.
emailclientsOnly the client with this email address. It has to match all of it, and capitals don't matter.
symbolsecuritiesOnly the security with this ticker symbol. Capitals don't matter.
statusclients, accounts, documents, held-away, liabilities, invoices, signature-requests, goals, follow-upsOnly rows with this status. The description of each list says which values it takes.
stateordersOnly orders in this state. The description of the list says which values it takes.
updated_sinceclients, accounts, transactions, notes, households, household-members, documents, held-away, liabilities, liability-balances, orders, invoices, invoice-payments, signature-requests, goals, risk-scores, securities, follow-upsChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.

To keep a copy in step, ask for everything once, then on each run ask only for what changed with updated_since set to when the last run started, less a few minutes so nothing falls between runs. Match rows on id. Positions have no change time, so read them in full. Daily values and money in and out change by day, so ask for the last few days with from.

When new data is ready

Each market day comes in over two steps. Times are New York time.

WhenWhat happens
9:30pm on each market day (8:30pm in winter)Every holding is valued at the day's official closing price, and each account's value and return for the day are recorded.
2am the next morning (1am in winter)Your custodian's positions and prices for the day come in. Where the custodian's price is different from the market's, the custodian's is used and the day is worked out again. Its transactions wait on the Reconciliation page until someone at your firm posts them.

Nothing runs on weekends or market holidays, so those days have no daily value. For a day's final numbers, pull after 6am.

Or check first. GET /me returns data_ready: values_through is the last market day that's been valued, and custodian_prices_through is the latest day your custodian's positions came in for (null if your firm doesn't load them). When the two dates match and accounts_updating is 0, that day is done, apart from transactions someone posts later.

"data_ready": {
  "values_through": "2026-09-25",
  "custodian_prices_through": "2026-09-25",
  "accounts_updating": 0
}

Adding and changing records

POST JSON to /clients, /accounts, /households, /held-away, /liabilities, /liability-balances, /goals, /notes, /follow-ups, /transactions, /positions, /daily-values or /documents. A new record comes back with status 201. Fields we don't know are refused, so a typo can't pass unnoticed. If anything's wrong, a 422 lists each field and what's wrong with it.

Send an Idempotency-Key header with every POST: any unique string, like a UUID. If the connection drops and you send the same request again with the same key, you get the first answer back, with Idempotent-Replayed: true, and nothing is added twice. Using the same key for a different request is a 422. We keep keys for 24 hours.

Change a record with PATCH /clients/{id} (also accounts, households, held-away, liabilities, and goals). Send only the fields to change. Names, contact details, advisor, status, and your own id can be changed. Balances, ids and anything that would rewrite history can't, and asking for one is a 422.

Match on your own ids. Clients, accounts, and households take an external_id, the id the record has in your CRM or spreadsheet. PUT /clients/external/{external_id} adds the client the first time and changes the same client every time after, so a sync can run again and again without making copies.

Send many at once with POST /clients/bulk (or any other path that can be added to): up to 500 rows as a JSON list or a CSV file. Each row is saved on its own, and the answer says what happened to each one.

Transactions are reviewed first. A transaction sent to /transactions does not go into the books. It waits on the Reconciliation page with the rows from custodian files, and someone there posts it. A firm that uses Riafront for the client app only has no custodian file to check it against, so its transactions post at once.

A firm with no custodian sends everything the client app shows: clients and accounts, then /positions for what each account holds (the symbol CASH is its cash), then /transactions for what happened after that, and /daily-values for what each account was worth on each past day, which is what charts and returns use.

Files. POST /documents takes a file as base64, up to 10 MB. For anything bigger, ask for a link with POST /documents/upload-link, PUT the file to it, then call POST /documents/{id}/confirm. We take PDFs, images, Office files, CSV, and text, and check the start of the file as well as its name.

Everything added or changed through the API goes on the firm's activity log, naming the key.

Webhooks

Instead of asking the API over and over, your system can be told when something happens. A firm admin adds your address on the API page in Settings and picks the events. We POST each one there as JSON, usually within 5 minutes.

EventWhen
flow.createdA deposit, withdrawal, or transfer is added, counted the way the flows dataset counts it. amount is in US dollars, and money in is positive.
client.createdA client is added, in the app or through the API.
account.createdAn account is added.
note.createdA note, call, or meeting is logged on a client.
reconciliation.break_openedThe custodian's records and ours disagree about an account.
document.createdA document is added to a client's documents. The file itself and where it's stored aren't sent.
task.createdA follow-up date is set on a client note, so it shows on the Tasks page.
task.completedA follow-up on a client note is marked done.
order.createdAn order is entered, including drafts.
order.status_changedAn order moves to a new status, like approved, sent to the custodian, filled, or rejected. The payload has the old and the new status.
signature.completedA client signed a document you asked them to sign. The signed copy is added to their documents too, which sends a New document event.
data.readyThe last market day's numbers are final: valued, the custodian's prices in, nothing being reworked. Sent once a day.

Every event has the same shape. data changes with the event:

A flow.created event

{
  "id": "6d5c4b3a-2918-4776-8554-433221100fed",
  "type": "flow.created",
  "created_at": "2026-09-29T06:10:00Z",
  "data": {
    "transaction_id": "2b3c4d5e-6f70-4812-9a3b-4c5d6e7f8091",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "date": "2026-09-28",
    "kind": "deposit",
    "shares": false,
    "amount": 25000
  }
}

Answer with any 2xx status within 10 seconds. Do the real work after you've answered. If you answer anything else, or don't answer, we try again after 1, 5 and 30 minutes, then 2, 6, 12 and 24 hours. After 8 tries we stop and tell the firm's admins. We don't follow redirects.

An event can arrive more than once, and not always in order. Each has an id, also sent as the Riafront-Event-Id header, so keep the ones you've handled and skip repeats.

Check the signature on every request, so you know it came from us and wasn't changed. The Riafront-Signature header looks like t=1790662200,v1=5f2c…, where v1 is an HMAC-SHA256 of the time, a full stop and the raw body, made with the webhook's secret. Refuse a request more than 5 minutes old.

# Work it out by hand, to compare with the v1 in the header:
printf '%s.%s' "$T" "$BODY" | openssl dgst -sha256 -hmac "$RIAFRONT_WEBHOOK_SECRET"

"Send a test" on the API page sends a test event straight away and shows what your address answered. Recent events and their results are listed there too, with a button to send one again.

Limits and headers

Every response has these headers:

HeaderMeaning
X-RateLimit-LimitThe key's requests a minute.
X-RateLimit-RemainingHow many are left this minute.
X-RateLimit-ResetWhen the minute resets, as a Unix time.
X-Request-IdThis request in our log. Quote it if you ask us about a request.

Over the limit, you get a 429 with Retry-After in seconds. Wait that long and try again. For big reads, use a larger limit rather than more requests.

Errors

Errors have the same shape, with a code you can act on and a message you can show a person:

{
  "error": {
    "code": "invalid",
    "message": "Some fields aren't right.",
    "details": [{ "field": "email", "message": "Required." }]
  }
}
StatusCodeWhen
400bad_requestA filter, limit, or cursor is wrong, or the body isn't JSON.
401unauthorizedNo key, or it's turned off, expired, or rotated past its grace period.
403forbiddenThe key doesn't have the scope, or the request came from an address it doesn't allow.
404not_foundNo such path, or no record with that id that the key can see.
409conflictIt already exists (a taken email or account number), or the first request with this Idempotency-Key is still running.
422invalidA field is wrong. details lists them.
429rate_limitedOver the key's requests a minute. Wait for Retry-After.
500server_errorSomething failed on our side. Try again, and quote the request id if it keeps happening.

Changes to the API

This is version 1, at /api/v1. We may add endpoints, fields, and filters to it, so write your code to ignore fields it doesn't know. The OpenAPI file always matches what the API does today, and tools like Postman, Swagger UI, or a code generator can read it.

Reference

Kept on this page only, and sent only to this site's API. Use a key that can only read.

GET/api/v1/me

The key you're using

Which firm the key belongs to, what it can do, and how far the data has got (see When new data is ready). Any live key can call it.

curl https://www.riafront.com/api/v1/me -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "firm": {
      "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
      "name": "Example Wealth"
    },
    "key": {
      "id": "a1b2c3d4-e5f6-4789-9abc-def012345678",
      "name": "Data warehouse",
      "prefix": "riafront_live_4e1802",
      "scopes": [
        "clients:read",
        "accounts:read"
      ],
      "expires_at": null
    },
    "data_ready": {
      "values_through": "2026-09-25",
      "custodian_prices_through": "2026-09-25",
      "accounts_updating": 0
    }
  }
}
GET /api/v1/me?

Paste a key at the top of the reference to try this.

Clients

Everyone the firm manages money for: people, trusts, and companies.

GET/api/v1/clients

List clients

Everyone the firm manages money for: people, trusts, and companies.

Needs the clients:read scope.

NameInTypeDescription
emailQuerystringOnly the client with this email address. It has to match all of it, and capitals don't matter.
external_idQuerystringOnly the record with this id from your own system. It has to match all of it, including capitals.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (15)
FieldTypeDescription
ididThe client's id. It never changes.
client_typestringindividual or entity.
entity_typestringFor an entity: trust, llc, corporation, foundation, and so on.
first_namestringFirst name.
last_namestringLast name.
legal_namestringAn entity's legal name.
emailstringEmail address.
phonestringPhone number.
statusstringactive or archived.
risk_profilestringThe key of the client's risk profile, from the firm's list.
advisor_ididTheir advisor.
next_review_datedateWhen their next review is due.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/clients?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_type": "individual",
      "entity_type": null,
      "first_name": "Rita",
      "last_name": "Moreno",
      "legal_name": null,
      "email": "rita@example.com",
      "phone": "+1 555 0100",
      "status": "active",
      "risk_profile": "moderate",
      "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
      "next_review_date": "2026-12-15",
      "external_id": "CRM-10442",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/clients?

Paste a key at the top of the reference to try this.

GET/api/v1/clients/{id}

Get one client

One client by its id. A 404 if there's no such client, or the key can't see it.

Needs the clients:read scope.

NameInTypeDescription
idrequiredPathidThe client's id.
Fields in each row (15)
FieldTypeDescription
ididThe client's id. It never changes.
client_typestringindividual or entity.
entity_typestringFor an entity: trust, llc, corporation, foundation, and so on.
first_namestringFirst name.
last_namestringLast name.
legal_namestringAn entity's legal name.
emailstringEmail address.
phonestringPhone number.
statusstringactive or archived.
risk_profilestringThe key of the client's risk profile, from the firm's list.
advisor_ididTheir advisor.
next_review_datedateWhen their next review is due.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/clients/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_type": "individual",
    "entity_type": null,
    "first_name": "Rita",
    "last_name": "Moreno",
    "legal_name": null,
    "email": "rita@example.com",
    "phone": "+1 555 0100",
    "status": "active",
    "risk_profile": "moderate",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "next_review_date": "2026-12-15",
    "external_id": "CRM-10442",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/clients

Add a client

Every client needs an email. A person needs first_name and last_name. An entity (a trust, company, and so on) needs legal_name and entity_type.

Needs the clients:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_typeBodystringindividual if left out. One of: individual, entity.
first_nameBodystringFor a person. Up to 100 characters.
last_nameBodystringFor a person. Up to 100 characters.
legal_nameBodystringFor an entity, its legal name. Up to 200 characters.
entity_typeBodystringFor an entity. One of: trust, revocable_trust, irrevocable_trust, llc, lp, corporation, foundation, estate, donor_advised_fund, other.
emailrequiredBodyemailHas to be unique.
phoneBodystringPhone number. Up to 40 characters.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
risk_profileBodystringThe key of one of the firm's risk profiles, like moderate. Up to 40 characters.
next_review_dateBodydateWhen their next review is due.
mailing_streetBodystringStreet address. Up to 200 characters.
mailing_cityBodystringCity. Up to 100 characters.
mailing_regionBodystringState or region. Up to 100 characters.
mailing_postal_codeBodystringPostal code. Up to 20 characters.
mailing_countryBodystringCountry. Up to 100 characters.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters.
What comes back (15)
FieldTypeDescription
ididThe client's id. It never changes.
client_typestringindividual or entity.
entity_typestringFor an entity: trust, llc, corporation, foundation, and so on.
first_namestringFirst name.
last_namestringLast name.
legal_namestringAn entity's legal name.
emailstringEmail address.
phonestringPhone number.
statusstringactive or archived.
risk_profilestringThe key of the client's risk profile, from the firm's list.
advisor_ididTheir advisor.
next_review_datedateWhen their next review is due.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/clients" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"first_name":"Rita","last_name":"Moreno","email":"rita@example.com","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","risk_profile":"moderate","external_id":"crm-10442"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_type": "individual",
    "entity_type": null,
    "first_name": "Rita",
    "last_name": "Moreno",
    "legal_name": null,
    "email": "rita@example.com",
    "phone": "+1 555 0100",
    "status": "active",
    "risk_profile": "moderate",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "next_review_date": "2026-12-15",
    "external_id": "crm-10442",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PATCH/api/v1/clients/{id}

Change a client

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such client, or the key can't see it. Comes back with the whole client. Changes go on the firm's activity log, naming the key.

Needs the clients:write scope.

NameInTypeDescription
idrequiredPathidThe client's id.
first_nameBodystringFor a person. Up to 100 characters.
last_nameBodystringFor a person. Up to 100 characters.
legal_nameBodystringFor an entity, its legal name. Up to 200 characters.
emailBodyemailHas to be unique.
phoneBodystringPhone number. Up to 40 characters. null empties it.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
risk_profileBodystringThe key of one of the firm's risk profiles, like moderate. Up to 40 characters. null empties it.
next_review_dateBodydateWhen their next review is due. null empties it.
mailing_streetBodystringStreet address. Up to 200 characters. null empties it.
mailing_cityBodystringCity. Up to 100 characters. null empties it.
mailing_regionBodystringState or region. Up to 100 characters. null empties it.
mailing_postal_codeBodystringPostal code. Up to 20 characters. null empties it.
mailing_countryBodystringCountry. Up to 100 characters. null empties it.
statusBodystringarchived takes the client off the active list. Nothing is deleted. One of: active, archived.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters. null empties it.
Fields in each row (15)
FieldTypeDescription
ididThe client's id. It never changes.
client_typestringindividual or entity.
entity_typestringFor an entity: trust, llc, corporation, foundation, and so on.
first_namestringFirst name.
last_namestringLast name.
legal_namestringAn entity's legal name.
emailstringEmail address.
phonestringPhone number.
statusstringactive or archived.
risk_profilestringThe key of the client's risk profile, from the firm's list.
advisor_ididTheir advisor.
next_review_datedateWhen their next review is due.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PATCH "https://www.riafront.com/api/v1/clients/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Rita","last_name":"Moreno","email":"rita@example.com","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","risk_profile":"moderate","external_id":"crm-10442"}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_type": "individual",
    "entity_type": null,
    "first_name": "Rita",
    "last_name": "Moreno",
    "legal_name": null,
    "email": "rita@example.com",
    "phone": "+1 555 0100",
    "status": "active",
    "risk_profile": "moderate",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "next_review_date": "2026-12-15",
    "external_id": "crm-10442",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PUT/api/v1/clients/external/{external_id}

Add or change a client by your own id

Looks for the client with this external_id. If there is one, it's changed to match the body. If not, it's added with that external_id. Run it again and again from a CRM or spreadsheet sync and you never get copies. Send the same fields as POST /clients, with the same ones required. It comes back with created: true and status 201 when it was added, or created: false and status 200 when it was changed. A client who is already here with the same email and no external_id yet is taken over, so a first sync doesn't fail on clients you already have. A client can't change between a person and an entity.

Needs the clients:write scope.

NameInTypeDescription
external_idrequiredPathstringYour own id for the record, up to 200 characters. If you also put external_id in the body, it has to be the same.
client_typeBodystringindividual if left out. One of: individual, entity.
first_nameBodystringFor a person. Up to 100 characters.
last_nameBodystringFor a person. Up to 100 characters.
legal_nameBodystringFor an entity, its legal name. Up to 200 characters.
entity_typeBodystringFor an entity. One of: trust, revocable_trust, irrevocable_trust, llc, lp, corporation, foundation, estate, donor_advised_fund, other.
emailrequiredBodyemailHas to be unique.
phoneBodystringPhone number. Up to 40 characters.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
risk_profileBodystringThe key of one of the firm's risk profiles, like moderate. Up to 40 characters.
next_review_dateBodydateWhen their next review is due.
mailing_streetBodystringStreet address. Up to 200 characters.
mailing_cityBodystringCity. Up to 100 characters.
mailing_regionBodystringState or region. Up to 100 characters.
mailing_postal_codeBodystringPostal code. Up to 20 characters.
mailing_countryBodystringCountry. Up to 100 characters.
Fields in each row (15)
FieldTypeDescription
ididThe client's id. It never changes.
client_typestringindividual or entity.
entity_typestringFor an entity: trust, llc, corporation, foundation, and so on.
first_namestringFirst name.
last_namestringLast name.
legal_namestringAn entity's legal name.
emailstringEmail address.
phonestringPhone number.
statusstringactive or archived.
risk_profilestringThe key of the client's risk profile, from the firm's list.
advisor_ididTheir advisor.
next_review_datedateWhen their next review is due.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PUT "https://www.riafront.com/api/v1/clients/external/crm-10442" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Rita","last_name":"Moreno","email":"rita@example.com","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","risk_profile":"moderate"}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_type": "individual",
    "entity_type": null,
    "first_name": "Rita",
    "last_name": "Moreno",
    "legal_name": null,
    "email": "rita@example.com",
    "phone": "+1 555 0100",
    "status": "active",
    "risk_profile": "moderate",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "next_review_date": "2026-12-15",
    "external_id": "crm-10442",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  },
  "created": false
}

POST/api/v1/clients/bulk

Add many clients at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /clients. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the clients:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /clients.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/clients/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"first_name":"Rita","last_name":"Moreno","email":"rita@example.com","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","risk_profile":"moderate","external_id":"crm-10442"},{"first_name":"Rita","last_name":"Moreno","email":"rita@example.com","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","risk_profile":"moderate","external_id":"crm-10442"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "email",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Accounts

Each client's accounts, with today's value.

GET/api/v1/accounts

List accounts

Each client's accounts, with today's value.

Needs the accounts:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
external_idQuerystringOnly the record with this id from your own system. It has to match all of it, including capitals.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (16)
FieldTypeDescription
ididThe account's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the account is called.
account_numberstringThe number at the custodian.
account_typestringLike ira, roth_ira, or taxable.
custodianstringWhere the account is held.
statusstringactive, inactive, or closed.
currencystringThe account's currency.
market_valuenumberValue in US dollars.
market_value_localnumberValue in the account's currency.
model_portfolio_ididThe model it follows, if any.
benchmark_ididThe benchmark it's measured against, if any.
opened_datedateWhen it was opened.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/accounts?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "name": "Joint brokerage",
      "account_number": "X1234-5678",
      "account_type": "joint",
      "custodian": "schwab",
      "status": "active",
      "currency": "USD",
      "market_value": 250000,
      "market_value_local": 250000,
      "model_portfolio_id": null,
      "benchmark_id": null,
      "opened_date": "2026-09-28",
      "external_id": "CUST-77120",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/accounts?

Paste a key at the top of the reference to try this.

GET/api/v1/accounts/{id}

Get one account

One account by its id. A 404 if there's no such account, or the key can't see it.

Needs the accounts:read scope.

NameInTypeDescription
idrequiredPathidThe account's id.
Fields in each row (16)
FieldTypeDescription
ididThe account's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the account is called.
account_numberstringThe number at the custodian.
account_typestringLike ira, roth_ira, or taxable.
custodianstringWhere the account is held.
statusstringactive, inactive, or closed.
currencystringThe account's currency.
market_valuenumberValue in US dollars.
market_value_localnumberValue in the account's currency.
model_portfolio_ididThe model it follows, if any.
benchmark_ididThe benchmark it's measured against, if any.
opened_datedateWhen it was opened.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/accounts/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Joint brokerage",
    "account_number": "X1234-5678",
    "account_type": "joint",
    "custodian": "schwab",
    "status": "active",
    "currency": "USD",
    "market_value": 250000,
    "market_value_local": 250000,
    "model_portfolio_id": null,
    "benchmark_id": null,
    "opened_date": "2026-09-28",
    "external_id": "CUST-77120",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/accounts

Add an account

An account for a client. Holdings and cash are set with POST /positions, past values with POST /daily-values, and later trades with POST /transactions. A firm with no custodian can use any name for custodian.

Needs the accounts:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client it belongs to.
namerequiredBodystringWhat the account is called. Up to 100 characters.
account_numberrequiredBodystringThe number at the custodian. Has to be unique. Up to 50 characters.
account_typerequiredBodystringThe kind of account. One of: individual, joint, trust, corporate, brokerage, educational, other, ira, traditional_ira, sep_ira, simple_ira, 401k, 403b, roth, roth_ira, roth_401k, 529, hsa, rrsp, rrif, lira, tfsa, fhsa, resp, ca_non_registered, isa, sipp, gia, eu_tax_wrapped, eu_taxable, fr_pea, fr_assurance_vie.
custodianrequiredBodystringWhere it is held, like schwab. Up to 60 characters.
currencyBodystringThree letters, like USD. USD if left out.
opened_dateBodydateWhen it was opened.
statusBodystringactive if left out. One of: active, inactive, closed.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters.
What comes back (16)
FieldTypeDescription
ididThe account's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the account is called.
account_numberstringThe number at the custodian.
account_typestringLike ira, roth_ira, or taxable.
custodianstringWhere the account is held.
statusstringactive, inactive, or closed.
currencystringThe account's currency.
market_valuenumberValue in US dollars.
market_value_localnumberValue in the account's currency.
model_portfolio_ididThe model it follows, if any.
benchmark_ididThe benchmark it's measured against, if any.
opened_datedateWhen it was opened.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/accounts" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Joint brokerage","account_number":"X1234-5678","account_type":"joint","custodian":"schwab"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Joint brokerage",
    "account_number": "X1234-5678",
    "account_type": "joint",
    "custodian": "schwab",
    "status": "active",
    "currency": "USD",
    "market_value": 250000,
    "market_value_local": 250000,
    "model_portfolio_id": null,
    "benchmark_id": null,
    "opened_date": "2026-09-28",
    "external_id": "CUST-77120",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PATCH/api/v1/accounts/{id}

Change an account

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such account, or the key can't see it. Comes back with the whole account. Changes go on the firm's activity log, naming the key.

Needs the accounts:write scope.

NameInTypeDescription
idrequiredPathidThe account's id.
nameBodystringWhat the account is called. Up to 100 characters.
opened_dateBodydateWhen it was opened. null empties it.
statusBodystringactive if left out. One of: active, inactive, closed.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters. null empties it.
Fields in each row (16)
FieldTypeDescription
ididThe account's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the account is called.
account_numberstringThe number at the custodian.
account_typestringLike ira, roth_ira, or taxable.
custodianstringWhere the account is held.
statusstringactive, inactive, or closed.
currencystringThe account's currency.
market_valuenumberValue in US dollars.
market_value_localnumberValue in the account's currency.
model_portfolio_ididThe model it follows, if any.
benchmark_ididThe benchmark it's measured against, if any.
opened_datedateWhen it was opened.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PATCH "https://www.riafront.com/api/v1/accounts/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Joint brokerage"}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Joint brokerage",
    "account_number": "X1234-5678",
    "account_type": "joint",
    "custodian": "schwab",
    "status": "active",
    "currency": "USD",
    "market_value": 250000,
    "market_value_local": 250000,
    "model_portfolio_id": null,
    "benchmark_id": null,
    "opened_date": "2026-09-28",
    "external_id": "CUST-77120",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PUT/api/v1/accounts/external/{external_id}

Add or change a account by your own id

Looks for the account with this external_id. If there is one, it's changed to match the body. If not, it's added with that external_id. Run it again and again from a CRM or spreadsheet sync and you never get copies. Send the same fields as POST /accounts, with the same ones required. It comes back with created: true and status 201 when it was added, or created: false and status 200 when it was changed. An account already here with the same account_number and no external_id yet is taken over. client_id, account_number, account_type, custodian, and currency can't be changed, so a body that disagrees on one is refused.

Needs the accounts:write scope.

NameInTypeDescription
external_idrequiredPathstringYour own id for the record, up to 200 characters. If you also put external_id in the body, it has to be the same.
client_idrequiredBodyidThe client it belongs to.
namerequiredBodystringWhat the account is called. Up to 100 characters.
account_numberrequiredBodystringThe number at the custodian. Has to be unique. Up to 50 characters.
account_typerequiredBodystringThe kind of account. One of: individual, joint, trust, corporate, brokerage, educational, other, ira, traditional_ira, sep_ira, simple_ira, 401k, 403b, roth, roth_ira, roth_401k, 529, hsa, rrsp, rrif, lira, tfsa, fhsa, resp, ca_non_registered, isa, sipp, gia, eu_tax_wrapped, eu_taxable, fr_pea, fr_assurance_vie.
custodianrequiredBodystringWhere it is held, like schwab. Up to 60 characters.
currencyBodystringThree letters, like USD. USD if left out.
opened_dateBodydateWhen it was opened.
statusBodystringactive if left out. One of: active, inactive, closed.
Fields in each row (16)
FieldTypeDescription
ididThe account's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the account is called.
account_numberstringThe number at the custodian.
account_typestringLike ira, roth_ira, or taxable.
custodianstringWhere the account is held.
statusstringactive, inactive, or closed.
currencystringThe account's currency.
market_valuenumberValue in US dollars.
market_value_localnumberValue in the account's currency.
model_portfolio_ididThe model it follows, if any.
benchmark_ididThe benchmark it's measured against, if any.
opened_datedateWhen it was opened.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PUT "https://www.riafront.com/api/v1/accounts/external/crm-10442" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Joint brokerage","account_number":"X1234-5678","account_type":"joint","custodian":"schwab"}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Joint brokerage",
    "account_number": "X1234-5678",
    "account_type": "joint",
    "custodian": "schwab",
    "status": "active",
    "currency": "USD",
    "market_value": 250000,
    "market_value_local": 250000,
    "model_portfolio_id": null,
    "benchmark_id": null,
    "opened_date": "2026-09-28",
    "external_id": "CUST-77120",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  },
  "created": false
}

POST/api/v1/accounts/bulk

Add many accounts at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /accounts. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the accounts:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /accounts.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/accounts/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Joint brokerage","account_number":"X1234-5678","account_type":"joint","custodian":"schwab"},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Joint brokerage","account_number":"X1234-5678","account_type":"joint","custodian":"schwab"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Positions

What each account holds right now, at the latest prices.

GET/api/v1/positions

List positions

What each account holds right now, at the latest prices.

Needs the positions:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (16)
FieldTypeDescription
ididThe position's id. It never changes.
account_ididThe account it belongs to.
client_ididThe client it belongs to.
security_ididThe security held.
symbolstringTicker symbol.
security_namestringThe security's name.
security_typestringLike stock, etf, bond, or cash.
asset_classstringLike equity or fixed_income.
quantitynumberShares or units held.
pricenumberPrice per share in US dollars.
market_valuenumberValue in US dollars.
cost_basisnumberWhat was paid for it, in US dollars.
unrealized_gainnumberValue less cost basis.
currencystringThe security's currency.
market_value_localnumberValue in the security's currency.
as_ofdatetimeWhen the value was last worked out.
curl "https://www.riafront.com/api/v1/positions?client_id=8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "security_id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
      "symbol": "VTI",
      "security_name": "Vanguard Total Stock Market ETF",
      "security_type": "etf",
      "asset_class": "equity",
      "quantity": 10,
      "price": 245.1,
      "market_value": 250000,
      "cost_basis": 2201.5,
      "unrealized_gain": 249.5,
      "currency": "USD",
      "market_value_local": 250000,
      "as_of": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/positions?

Paste a key at the top of the reference to try this.

POST/api/v1/positions

Set a starting holding or cash

Sets what an account held on a day: shares of one security, or its cash when symbol is CASH (quantity is then the dollar amount). It is the starting point, kept as an opening balance in the account's transactions, so positions, cost, and cash come from the same records as everything else, and it doesn't count as money paid in. Sending the same account and symbol again replaces it, and a quantity of 0 removes it. Later buys, sells, and transfers go to /transactions. Values use the app's prices for the security.

Needs the positions:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
account_idrequiredBodyidThe account it belongs to.
symbolrequiredBodystringTicker symbol, or CASH for the account's cash. Up to 20 characters.
quantityrequiredBodynumberShares or units held. For CASH, the dollar amount. 0 removes it.
as_of_daterequiredBodydateThe day it was held. Can't be in the future.
cost_basisBodynumberWhat it cost in total, not per share. Not for CASH. Worked out from price if left out.
acquired_onBodydateThe day it was first bought. as_of_date if left out. Not for CASH.
priceBodynumberPrice for one at the time, to work out cost when cost_basis is left out. Not for CASH.
nameBodystringThe security's name, used only when we have no record of the symbol yet. Up to 200 characters.
What comes back (8)
FieldTypeDescription
ididThe id of the opening balance entry. Empty when quantity is 0, because it was removed.
account_ididThe account.
client_ididThe account's client.
symbolstringTicker symbol, in capitals.
quantitynumberShares or units, or dollars for CASH.
as_of_datedateThe day it was held.
cost_basisnumberWhat it cost in total.
acquired_ondateThe day it was first bought.
curl -X POST "https://www.riafront.com/api/v1/positions" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","symbol":"VTI","quantity":120,"as_of_date":"2026-09-30","cost_basis":24500,"acquired_on":"2021-03-15"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "symbol": "VTI",
    "quantity": 10,
    "as_of_date": "2026-09-28",
    "cost_basis": 2201.5,
    "acquired_on": "2026-09-28"
  }
}

POST/api/v1/positions/bulk

Add many positions at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /positions. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the positions:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /positions.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/positions/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","symbol":"VTI","quantity":120,"as_of_date":"2026-09-30","cost_basis":24500,"acquired_on":"2021-03-15"},{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","symbol":"VTI","quantity":120,"as_of_date":"2026-09-30","cost_basis":24500,"acquired_on":"2021-03-15"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "account_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Transactions

Every trade, dividend, fee, deposit, withdrawal, and transfer.

GET/api/v1/transactions

List transactions

Every trade, dividend, fee, deposit, withdrawal, and transfer.

Needs the transactions:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (16)
FieldTypeDescription
ididThe transaction's id. It never changes.
account_ididThe account it belongs to.
client_ididThe client it belongs to.
trade_datedateThe day it happened.
settlement_datedateThe day it settled.
typestringbuy, sell, dividend, interest, deposit, withdrawal, fee, transfer_in, transfer_out, split, or merger.
security_ididThe security, when there is one.
symbolstringTicker symbol.
quantitynumberShares or units.
pricenumberPrice per share.
amountnumberCash amount. Negative when cash left the account.
feenumberCommission or fee charged on it.
descriptionstringThe custodian's description, or a note.
sourcestringWhere it came from: manual, custodian, corporate_action, reconciliation, or opening_balance.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/transactions?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "trade_date": "2026-09-28",
      "settlement_date": "2026-09-28",
      "type": "buy",
      "security_id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
      "symbol": "VTI",
      "quantity": 10,
      "price": 245.1,
      "amount": -2451,
      "fee": 0,
      "description": "Bought 10 VTI",
      "source": "custodian",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/transactions?

Paste a key at the top of the reference to try this.

POST/api/v1/transactions

Send a transaction for review

Usually it doesn't post to the books. The transaction waits on the Reconciliation page, in the same list as the rows from custodian files, until someone reviews and posts it. A firm that uses Riafront for the client app only has no custodian file to check it against, so for that firm it posts at once and the answer says status posted. Amounts are in the account's currency. To move shares in from another firm, send transfer_in with a symbol and quantity, and acquired_on and cost_basis if you have them.

Needs the transactions:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
account_idrequiredBodyidThe account it belongs to.
trade_daterequiredBodydateThe day it happened.
typerequiredBodystringWhat kind of transaction it is. One of: buy, sell, dividend, interest, fee, deposit, withdrawal, transfer_in, transfer_out, split, merger.
amountrequiredBodynumberMoney in (positive) or out (negative). A buy is negative. For a transfer of shares, send what they were worth that day so performance counts them as paid in, or 0 and we use the price.
symbolBodystringTicker symbol. A buy or sell needs one. A transfer with one moves shares, and without one it moves cash. Up to 20 characters.
quantityBodynumberShares or units. A buy, a sell, or a transfer of shares needs it. For a transfer of cash, the dollar amount.
priceBodynumberPrice for one.
feeBodynumberFees.
settlement_dateBodydateThe day it settled.
descriptionBodystringWhat it was. Up to 500 characters.
acquired_onBodydateOnly for a transfer_in of shares: the day they were first bought, so the tax lot keeps its age. The trade date if left out.
cost_basisBodynumberOnly for a transfer_in of shares: what they cost in total, so gains come out right. Worked out from the amount or price if left out.
external_idBodystringYour id for it. Sending the same one for the same custodian twice is refused, so a retry can't double it. Up to 100 characters.
What comes back (17)
FieldTypeDescription
ididWhen status is staged, the id of the waiting row. It is not the id the transaction will have once it is posted. When status is posted, the id of the transaction.
statusstringstaged: waiting for review on the Reconciliation page. posted: in the records already, for a firm that uses the client app only.
account_ididThe account.
client_ididThe account's client.
trade_datedateThe day it happened.
settlement_datedateThe day it settled.
typestringWhat kind of transaction it is.
symbolstringTicker symbol.
quantitynumberShares or units.
pricenumberPrice for one.
amountnumberMoney in (positive) or out (negative).
feenumberFees.
descriptionstringWhat it was.
external_idstringYour id for it.
acquired_ondateFor shares moved in: the day they were first bought.
cost_basisnumberFor shares moved in: what they cost in total.
created_atdatetimeWhen it was sent.
curl -X POST "https://www.riafront.com/api/v1/transactions" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","trade_date":"2026-09-28","type":"buy","symbol":"VTI","quantity":10,"price":245.1,"amount":-2451,"external_id":"trade-88123"}'

Response · 201

{
  "data": {
    "id": "2b3c4d5e-6f70-4812-9a3b-4c5d6e7f8091",
    "status": "staged",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "trade_date": "2026-09-28",
    "settlement_date": null,
    "type": "buy",
    "symbol": "VTI",
    "quantity": 10,
    "price": 245.1,
    "amount": -2451,
    "fee": null,
    "description": null,
    "external_id": "trade-88123",
    "acquired_on": "2026-09-28",
    "cost_basis": 2201.5,
    "created_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/transactions/bulk

Add many transactions at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /transactions. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back. Every row goes to the Reconciliation page to be reviewed, like a single transaction, unless the firm uses Riafront for the client app only. Then every row posts at once.

Needs the transactions:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /transactions.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/transactions/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","trade_date":"2026-09-28","type":"buy","symbol":"VTI","quantity":10,"price":245.1,"amount":-2451,"external_id":"trade-88123"},{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","trade_date":"2026-09-28","type":"buy","symbol":"VTI","quantity":10,"price":245.1,"amount":-2451,"external_id":"trade-88123"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "account_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Daily values

Each account's value and return for each day.

GET/api/v1/daily-values

List daily values

Each account's value and return for each day.

Needs the daily_values:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (10)
FieldTypeDescription
account_ididThe account it belongs to.
client_ididThe client it belongs to.
datedateThe day.
market_valuenumberValue at the close, in US dollars.
net_flownumberMoney in less money out that day.
advisory_feesnumberAdvisory fees taken that day.
daily_returnnumberReturn that day after fees, as a decimal: 0.01 is 1%.
gross_daily_returnnumberReturn that day before fees.
market_value_localnumberValue in the account's currency.
sourcestringHow the value was worked out.
curl "https://www.riafront.com/api/v1/daily-values?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "date": "2026-09-28",
      "market_value": 250000,
      "net_flow": 5000,
      "advisory_fees": 0,
      "daily_return": 0.0042,
      "gross_daily_return": 0.0043,
      "market_value_local": 250000,
      "source": "custodian"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/daily-values?

Paste a key at the top of the reference to try this.

POST/api/v1/daily-values

Set an account value for a day

Sets an account's value on a past day, so its chart and returns work. Send one row a day, or monthly rows if that is all you have. Sending the same account and date again replaces it. We never recalculate these days, and returns after the last one you send carry on from it. Send daily_return as a decimal (0.01 is 1%), or leave it out and we work it out from the values and net_flow. Values are in the account's currency.

Needs the daily_values:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
account_idrequiredBodyidThe account it belongs to.
daterequiredBodydateThe day. Can't be in the future.
market_valuerequiredBodynumberValue at the close of that day.
net_flowBodynumberMoney in less money out that day. 0 if left out.
daily_returnBodynumberReturn that day, as a decimal: 0.01 is 1%. Worked out from the values if left out. When you send it, we keep it as it is.
advisory_feesBodynumberAdvisory fees taken from the account that day, as a positive amount in the account's currency. Kept as sent, and added back for the return before fees. 0 if left out.
What comes back (8)
FieldTypeDescription
idstringThe account id and date, like 5a6b…:2026-09-30.
account_ididThe account.
client_ididThe account's client.
datedateThe day.
market_valuenumberValue at the close.
net_flownumberMoney in less money out that day.
daily_returnnumberReturn that day, as a decimal. Empty when we will work it out.
advisory_feesnumberAdvisory fees that day.
curl -X POST "https://www.riafront.com/api/v1/daily-values" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","date":"2026-09-30","market_value":1250000,"net_flow":10000,"daily_return":0.0042,"advisory_fees":85}'

Response · 201

{
  "data": {
    "id": "text",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "date": "2026-09-28",
    "market_value": 250000,
    "net_flow": 5000,
    "daily_return": 0.0042,
    "advisory_fees": 0
  }
}

POST/api/v1/daily-values/bulk

Add many daily values at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /daily-values. Each row is checked and saved on its own, so one bad row doesn't stop the rest. Returns are worked out once, after the last row. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the daily_values:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /daily-values.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/daily-values/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","date":"2026-09-30","market_value":1250000,"net_flow":10000,"daily_return":0.0042,"advisory_fees":85},{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","date":"2026-09-30","market_value":1250000,"net_flow":10000,"daily_return":0.0042,"advisory_fees":85}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "account_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Money in and out

Deposits, withdrawals, and cash or shares moved in from or out to other firms, in US dollars.

GET/api/v1/flows

List money in and out

Deposits, withdrawals, and cash or shares moved in from or out to other firms, in US dollars.

Needs the flows:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (8)
FieldTypeDescription
transaction_ididThe transaction behind it.
account_ididThe account it belongs to.
client_ididThe client it belongs to.
advisor_ididThe client's advisor.
datedateThe day it happened.
kindstringdeposit, withdrawal, transfer_in, or transfer_out.
sharesbooleanTrue when shares moved rather than cash.
amountnumberIn US dollars. Positive in, negative out. Shares are valued at that day's price.
curl "https://www.riafront.com/api/v1/flows?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "transaction_id": "2b3c4d5e-6f70-4812-9a3b-4c5d6e7f8091",
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
      "date": "2026-09-28",
      "kind": "deposit",
      "shares": false,
      "amount": 5000
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/flows?

Paste a key at the top of the reference to try this.

Notes

Calls, meetings, emails, and notes logged against clients.

GET/api/v1/notes

List notes

Calls, meetings, emails, and notes logged against clients.

Needs the notes:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (10)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
bodystringWhat was said or done.
occurred_atdatetimeWhen it happened.
follow_up_ondateWhen to follow up, if set.
follow_up_done_atdatetimeWhen the follow-up was done.
author_ididWho wrote it. Empty when it came through the API.
created_atdatetimeWhen it was logged. updated_since filters on this.
curl "https://www.riafront.com/api/v1/notes?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "kind": "call",
      "subject": "Quarterly review",
      "body": "Talked about the Roth conversion.",
      "occurred_at": "2026-09-28T14:05:00Z",
      "follow_up_on": "2026-12-15",
      "follow_up_done_at": null,
      "author_id": null,
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/notes?

Paste a key at the top of the reference to try this.

GET/api/v1/notes/{id}

Get one note

One note by its id. A 404 if there's no such note, or the key can't see it.

Needs the notes:read scope.

NameInTypeDescription
idrequiredPathidThe note's id.
Fields in each row (10)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
bodystringWhat was said or done.
occurred_atdatetimeWhen it happened.
follow_up_ondateWhen to follow up, if set.
follow_up_done_atdatetimeWhen the follow-up was done.
author_ididWho wrote it. Empty when it came through the API.
created_atdatetimeWhen it was logged. updated_since filters on this.
curl "https://www.riafront.com/api/v1/notes/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "kind": "call",
    "subject": "Quarterly review",
    "body": "Talked about the Roth conversion.",
    "occurred_at": "2026-09-28T14:05:00Z",
    "follow_up_on": "2026-12-15",
    "follow_up_done_at": null,
    "author_id": null,
    "created_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/notes

Log a note

A call, meeting, email, or note on a client, for example from your CRM or phone system.

Needs the notes:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client it is about.
kindBodystringnote if left out. One of: note, call, meeting, email.
subjectBodystringA short subject line. Up to 200 characters.
bodyrequiredBodystringWhat was said or done. Up to 10000 characters.
occurred_atBodydate-timeWhen it happened. Now if left out.
follow_up_onBodydateWhen to follow up. It shows on the advisor's tasks.
What comes back (10)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
bodystringWhat was said or done.
occurred_atdatetimeWhen it happened.
follow_up_ondateWhen to follow up, if set.
follow_up_done_atdatetimeWhen the follow-up was done.
author_ididWho wrote it. Empty when it came through the API.
created_atdatetimeWhen it was logged. updated_since filters on this.
curl -X POST "https://www.riafront.com/api/v1/notes" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","kind":"call","subject":"Quarterly review","body":"Talked about the Roth conversion.","follow_up_on":"2026-12-15"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "kind": "call",
    "subject": "Quarterly review",
    "body": "Talked about the Roth conversion.",
    "occurred_at": "2026-09-28T14:05:00Z",
    "follow_up_on": "2026-12-15",
    "follow_up_done_at": null,
    "author_id": null,
    "created_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/notes/bulk

Add many notes at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /notes. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the notes:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /notes.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/notes/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","kind":"call","subject":"Quarterly review","body":"Talked about the Roth conversion.","follow_up_on":"2026-12-15"},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","kind":"call","subject":"Quarterly review","body":"Talked about the Roth conversion.","follow_up_on":"2026-12-15"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Households

Groups of clients who are billed or reviewed together, like a family. Members are in household-members.

GET/api/v1/households

List households

Groups of clients who are billed or reviewed together, like a family. Members are in household-members.

Needs the households:read scope.

NameInTypeDescription
external_idQuerystringOnly the record with this id from your own system. It has to match all of it, including capitals.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (9)
FieldTypeDescription
ididThe household's id. It never changes.
namestringWhat the household is called.
advisor_ididTheir advisor.
primary_client_ididThe main client in the household, if one is set.
member_countintegerHow many clients are in it.
model_portfolio_ididThe model the household follows, if any.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/households?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "name": "Moreno family",
      "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
      "primary_client_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "member_count": 2,
      "model_portfolio_id": null,
      "external_id": "HH-2031",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/households?

Paste a key at the top of the reference to try this.

GET/api/v1/households/{id}

Get one household

One household by its id. A 404 if there's no such household, or the key can't see it.

Needs the households:read scope.

NameInTypeDescription
idrequiredPathidThe household's id.
Fields in each row (9)
FieldTypeDescription
ididThe household's id. It never changes.
namestringWhat the household is called.
advisor_ididTheir advisor.
primary_client_ididThe main client in the household, if one is set.
member_countintegerHow many clients are in it.
model_portfolio_ididThe model the household follows, if any.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/households/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "name": "Moreno family",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "primary_client_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "member_count": 2,
    "model_portfolio_id": null,
    "external_id": "HH-2031",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/households

Add a household

A group of clients who are reviewed and billed together, like a family. Give an advisor_id or a primary_client_id. The members can be sent now or changed later with PATCH.

Needs the households:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
namerequiredBodystringWhat the household is called. Up to 200 characters.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
primary_client_idBodyidThe main client in the household. They are added as a member if you leave them out of members.
notesBodystringAnything worth knowing about the household. Up to 2000 characters.
membersBodylistThe clients in it, as a list of {"client_id": "…", "relationship": "spouse"}. relationship is one of: primary, spouse, dependent, other, grantor, trustee, beneficiary, entity, next_gen, and other if left out. In a CSV file, write them as client_id:relationship separated by semicolons. With PATCH, the list you send replaces the one there.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters.
What comes back (9)
FieldTypeDescription
ididThe household's id. It never changes.
namestringWhat the household is called.
advisor_ididTheir advisor.
primary_client_ididThe main client in the household, if one is set.
member_countintegerHow many clients are in it.
model_portfolio_ididThe model the household follows, if any.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/households" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Moreno family","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","primary_client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","members":[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","relationship":"primary"}]}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "name": "Moreno family",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "primary_client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "member_count": 2,
    "model_portfolio_id": null,
    "external_id": "HH-2031",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z",
    "members": [
      {
        "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
        "relationship": "primary"
      }
    ]
  }
}

PATCH/api/v1/households/{id}

Change a household

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such household, or the key can't see it. Comes back with the whole household. Changes go on the firm's activity log, naming the key.

Needs the households:write scope.

NameInTypeDescription
idrequiredPathidThe household's id.
nameBodystringWhat the household is called. Up to 200 characters.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
primary_client_idBodyidThe main client in the household. They are added as a member if you leave them out of members. null empties it.
notesBodystringAnything worth knowing about the household. Up to 2000 characters. null empties it.
membersBodylistThe clients in it, as a list of {"client_id": "…", "relationship": "spouse"}. relationship is one of: primary, spouse, dependent, other, grantor, trustee, beneficiary, entity, next_gen, and other if left out. In a CSV file, write them as client_id:relationship separated by semicolons. With PATCH, the list you send replaces the one there.
external_idBodystringYour own id for this record, like its id in your CRM. Up to 200 characters. Has to be unique in your firm. Use it with PUT /{path}/external/{external_id} to add or change the record without making copies. Up to 200 characters. null empties it.
Fields in each row (10)
FieldTypeDescription
ididThe household's id. It never changes.
namestringWhat the household is called.
advisor_ididTheir advisor.
primary_client_ididThe main client in the household, if one is set.
member_countintegerHow many clients are in it.
model_portfolio_ididThe model the household follows, if any.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
membersstringA list of {client_id, relationship}, one for each member.
curl -X PATCH "https://www.riafront.com/api/v1/households/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Moreno family","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","primary_client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","members":[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","relationship":"primary"}]}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "name": "Moreno family",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "primary_client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "member_count": 2,
    "model_portfolio_id": null,
    "external_id": "HH-2031",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z",
    "members": [
      {
        "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
        "relationship": "primary"
      }
    ]
  }
}

PUT/api/v1/households/external/{external_id}

Add or change a household by your own id

Looks for the household with this external_id. If there is one, it's changed to match the body. If not, it's added with that external_id. Run it again and again from a CRM or spreadsheet sync and you never get copies. Send the same fields as POST /households, with the same ones required. It comes back with created: true and status 201 when it was added, or created: false and status 200 when it was changed. The members you send replace the ones there.

Needs the households:write scope.

NameInTypeDescription
external_idrequiredPathstringYour own id for the record, up to 200 characters. If you also put external_id in the body, it has to be the same.
namerequiredBodystringWhat the household is called. Up to 200 characters.
advisor_idBodyidTheir advisor. A key limited to one advisor fills this in.
primary_client_idBodyidThe main client in the household. They are added as a member if you leave them out of members.
notesBodystringAnything worth knowing about the household. Up to 2000 characters.
membersBodylistThe clients in it, as a list of {"client_id": "…", "relationship": "spouse"}. relationship is one of: primary, spouse, dependent, other, grantor, trustee, beneficiary, entity, next_gen, and other if left out. In a CSV file, write them as client_id:relationship separated by semicolons. With PATCH, the list you send replaces the one there.
Fields in each row (10)
FieldTypeDescription
ididThe household's id. It never changes.
namestringWhat the household is called.
advisor_ididTheir advisor.
primary_client_ididThe main client in the household, if one is set.
member_countintegerHow many clients are in it.
model_portfolio_ididThe model the household follows, if any.
external_idstringThe id this record has in your own system, if you gave one.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
membersstringA list of {client_id, relationship}, one for each member.
curl -X PUT "https://www.riafront.com/api/v1/households/external/crm-10442" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Moreno family","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","primary_client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","members":[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","relationship":"primary"}]}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "name": "Moreno family",
    "advisor_id": "1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b",
    "primary_client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "member_count": 2,
    "model_portfolio_id": null,
    "external_id": "HH-2031",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z",
    "members": [
      {
        "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
        "relationship": "primary"
      }
    ]
  },
  "created": false
}

POST/api/v1/households/bulk

Add many households at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /households. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the households:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /households.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/households/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"name":"Moreno family","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","primary_client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","members":[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","relationship":"primary"}]},{"name":"Moreno family","advisor_id":"1e2d3c4b-5a69-4788-9a6b-5c4d3e2f1a0b","primary_client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","members":[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","relationship":"primary"}]}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "name",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Household members

Which clients are in which household. Read with the same scope as households.

GET/api/v1/household-members

List household members

Which clients are in which household. Read with the same scope as households.

Needs the households:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
household_idQueryidOnly this household's.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (5)
FieldTypeDescription
ididThe membership's id. It never changes.
household_ididThe household.
client_ididThe client it belongs to.
relationshipstringHow they relate to the household: primary, spouse, dependent, grantor, trustee, beneficiary, entity, next_gen, or other.
created_atdatetimeWhen they were added. updated_since filters on this.
curl "https://www.riafront.com/api/v1/household-members?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "household_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "relationship": "spouse",
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/household-members?

Paste a key at the top of the reference to try this.

GET/api/v1/household-members/{id}

Get one household member

One household member by its id. A 404 if there's no such household member, or the key can't see it.

Needs the households:read scope.

NameInTypeDescription
idrequiredPathidThe household member's id.
Fields in each row (5)
FieldTypeDescription
ididThe membership's id. It never changes.
household_ididThe household.
client_ididThe client it belongs to.
relationshipstringHow they relate to the household: primary, spouse, dependent, grantor, trustee, beneficiary, entity, next_gen, or other.
created_atdatetimeWhen they were added. updated_since filters on this.
curl "https://www.riafront.com/api/v1/household-members/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "household_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "relationship": "spouse",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

Documents

Details of the files kept for clients, like statements and agreements. The files themselves come from /documents/{id}/file, which needs the documents:files scope.

GET/api/v1/documents

List documents

Details of the files kept for clients, like statements and agreements. The files themselves come from /documents/{id}/file, which needs the documents:files scope.

Needs the documents:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (15)
FieldTypeDescription
ididThe document's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
namestringThe file name.
typestringstatement, tax, report, agreement, or other.
mime_typestringThe kind of file, like application/pdf.
file_sizeintegerSize in bytes.
period_startdateFor a statement or report: the first day it covers.
period_enddateFor a statement or report: the last day it covers.
removedbooleanTrue when the document was taken off the client record. It can no longer be downloaded.
removed_atdatetimeWhen it was removed.
archived_atdatetimeWhen it was archived, if it was.
uploaded_byidWho added it.
created_atdatetimeWhen it was added.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/documents?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "name": "Q3 2026 statement.pdf",
      "type": "statement",
      "mime_type": "application/pdf",
      "file_size": 182340,
      "period_start": "2026-07-01",
      "period_end": "2026-09-30",
      "removed": false,
      "removed_at": null,
      "archived_at": null,
      "uploaded_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/documents?

Paste a key at the top of the reference to try this.

GET/api/v1/documents/{id}

Get one document

One document by its id. A 404 if there's no such document, or the key can't see it.

Needs the documents:read scope.

NameInTypeDescription
idrequiredPathidThe document's id.
Fields in each row (15)
FieldTypeDescription
ididThe document's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
namestringThe file name.
typestringstatement, tax, report, agreement, or other.
mime_typestringThe kind of file, like application/pdf.
file_sizeintegerSize in bytes.
period_startdateFor a statement or report: the first day it covers.
period_enddateFor a statement or report: the last day it covers.
removedbooleanTrue when the document was taken off the client record. It can no longer be downloaded.
removed_atdatetimeWhen it was removed.
archived_atdatetimeWhen it was archived, if it was.
uploaded_byidWho added it.
created_atdatetimeWhen it was added.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/documents/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "name": "Q3 2026 statement.pdf",
    "type": "statement",
    "mime_type": "application/pdf",
    "file_size": 182340,
    "period_start": "2026-07-01",
    "period_end": "2026-09-30",
    "removed": false,
    "removed_at": null,
    "archived_at": null,
    "uploaded_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

GET/api/v1/documents/{id}/file

Get a link to a document's file

A link that downloads the file, good for 5 minutes. Ask again when it runs out. A 404 if there's no such document, the key can't see it, or it has been removed. Needs the documents:files scope, which is separate from documents:read.

Needs the documents:files scope.

NameInTypeDescription
idrequiredPathidThe document's id.
Fields in each row (2)
FieldTypeDescription
urlstringWhere to download the file. Works without a key, for 5 minutes, so don't share it.
expires_atdatetimeWhen the link stops working.
curl "https://www.riafront.com/api/v1/documents/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60/file" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "url": "https://files.example.com/signed/…",
  "expires_at": "2026-09-28T14:10:00Z"
}

POST/api/v1/documents

Add a document

Adds a file to a client's documents. Send it here as base64 in content_base64, up to 10 MB, or for a bigger or streamed file ask for a link with POST /documents/upload-link and then confirm. PDFs, images, Office files, CSV, and text only, and we check the start of the file, not just its name.

Needs the documents:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client it belongs to.
namerequiredBodystringThe file name, with its ending, like march-statement.pdf. The ending has to be one of: pdf, png, jpg, jpeg, gif, webp, doc, docx, xls, xlsx, ppt, pptx, csv, txt. Up to 200 characters.
typeBodystringWhat kind of document it is. other if left out. Statements, tax documents, and reports show up in the client portal. One of: statement, tax, report, agreement, other.
account_idBodyidThe account it is about, if it is about one. It has to be one of the client's accounts.
descriptionBodystringA short note about the file. Up to 500 characters.
period_startBodydateFor a statement or report: the first day it covers.
period_endBodydateFor a statement or report: the last day it covers.
content_base64requiredBodystringThe file, base64 encoded. Up to 10 MB before encoding. Up to 20000000 characters.
What comes back (15)
FieldTypeDescription
ididThe document's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
namestringThe file name.
typestringstatement, tax, report, agreement, or other.
mime_typestringThe kind of file, like application/pdf.
file_sizeintegerSize in bytes.
period_startdateFor a statement or report: the first day it covers.
period_enddateFor a statement or report: the last day it covers.
removedbooleanTrue when the document was taken off the client record. It can no longer be downloaded.
removed_atdatetimeWhen it was removed.
archived_atdatetimeWhen it was archived, if it was.
uploaded_byidWho added it.
created_atdatetimeWhen it was added.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/documents" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"september-statement.pdf","type":"statement","period_start":"2026-09-01","period_end":"2026-09-30","content_base64":"JVBERi0xLjQK…"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "name": "september-statement.pdf",
    "type": "statement",
    "mime_type": "application/pdf",
    "file_size": 182340,
    "period_start": "2026-09-01",
    "period_end": "2026-09-30",
    "removed": false,
    "removed_at": null,
    "archived_at": null,
    "uploaded_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/documents/upload-link

Get a link to upload a file

For files too big to send as base64, or that you would rather send straight from your server. Returns the id the document will have, and an upload_url that takes one PUT of the file for the next 2 hours. Then call POST /documents/{id}/confirm. The document is not added until you do.

Needs the documents:write scope.

NameInTypeDescription
client_idrequiredBodyidThe client it belongs to.
namerequiredBodystringThe file name, with its ending, like march-statement.pdf. The ending has to be one of: pdf, png, jpg, jpeg, gif, webp, doc, docx, xls, xlsx, ppt, pptx, csv, txt. Up to 200 characters.
typeBodystringWhat kind of document it is. other if left out. Statements, tax documents, and reports show up in the client portal. One of: statement, tax, report, agreement, other.
account_idBodyidThe account it is about, if it is about one. It has to be one of the client's accounts.
descriptionBodystringA short note about the file. Up to 500 characters.
period_startBodydateFor a statement or report: the first day it covers.
period_endBodydateFor a statement or report: the last day it covers.
sizerequiredBodyintegerHow many bytes the file is. Up to 10 MB (10485760).
What comes back (5)
FieldTypeDescription
ididThe id the document will have once you confirm.
upload_urlstringPUT the file here, with its Content-Type. It works for 2 hours, once.
upload_methodstringAlways PUT.
expires_atdatetimeWhen the link stops working. Confirm before then.
max_bytesintegerThe biggest file we take.
curl -X POST "https://www.riafront.com/api/v1/documents/upload-link" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"september-statement.pdf","type":"statement","size":182340}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "upload_url": "https://files.example.com/upload/sign/…?token=…",
    "upload_method": "PUT",
    "expires_at": "2026-09-28T16:05:00Z",
    "max_bytes": 10485760
  }
}

POST/api/v1/documents/{id}/confirm

Confirm an upload

Call this after you have uploaded the file to the upload_url. We check that the file is there, that it is no bigger than 10 MB, and that its first bytes match its file type. If it passes, the document is added and comes back like POST /documents. If it fails, the file is removed and you get the reason.

Needs the documents:write scope.

NameInTypeDescription
idrequiredPathidThe id from the upload link.
What comes back (15)
FieldTypeDescription
ididThe document's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
namestringThe file name.
typestringstatement, tax, report, agreement, or other.
mime_typestringThe kind of file, like application/pdf.
file_sizeintegerSize in bytes.
period_startdateFor a statement or report: the first day it covers.
period_enddateFor a statement or report: the last day it covers.
removedbooleanTrue when the document was taken off the client record. It can no longer be downloaded.
removed_atdatetimeWhen it was removed.
archived_atdatetimeWhen it was archived, if it was.
uploaded_byidWho added it.
created_atdatetimeWhen it was added.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/documents/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60/confirm" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "name": "Q3 2026 statement.pdf",
    "type": "statement",
    "mime_type": "application/pdf",
    "file_size": 182340,
    "period_start": "2026-07-01",
    "period_end": "2026-09-30",
    "removed": false,
    "removed_at": null,
    "archived_at": null,
    "uploaded_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

Held-away assets

Things a client owns that are held somewhere else, like another brokerage, a bank, or a private fund. Some come from a linked bank or brokerage and some are typed in. Each has its latest value and the day that value is for.

GET/api/v1/held-away

List held-away assets

Things a client owns that are held somewhere else, like another brokerage, a bank, or a private fund. Some come from a linked bank or brokerage and some are typed in. Each has its latest value and the day that value is for.

Needs the held_away:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (15)
FieldTypeDescription
ididThe asset's id. It never changes.
client_ididThe client it belongs to.
namestringWhat it is called.
asset_typestringheld_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, or other.
institutionstringWhere it is held.
asset_classstringLike equity or fixed_income.
ownership_percentagenumberHow much of it the client owns, from 0 to 100.
committed_amountnumberFor a private fund: what the client agreed to put in.
valuenumberThe latest value we have, in US dollars, for the whole asset.
as_of_datedateThe day that value is for.
sourcestringplaid when it comes from a linked account, otherwise manual.
statusstringactive or inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/held-away?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "name": "Fidelity rollover IRA",
      "asset_type": "held_away_retirement",
      "institution": "Fidelity",
      "asset_class": "equity",
      "ownership_percentage": 100,
      "committed_amount": null,
      "value": 410000,
      "as_of_date": "2026-09-28",
      "source": "plaid",
      "status": "active",
      "entered_by": "advisor",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/held-away?

Paste a key at the top of the reference to try this.

GET/api/v1/held-away/{id}

Get one held-away asset

One held-away asset by its id. A 404 if there's no such held-away asset, or the key can't see it.

Needs the held_away:read scope.

NameInTypeDescription
idrequiredPathidThe held-away asset's id.
Fields in each row (15)
FieldTypeDescription
ididThe asset's id. It never changes.
client_ididThe client it belongs to.
namestringWhat it is called.
asset_typestringheld_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, or other.
institutionstringWhere it is held.
asset_classstringLike equity or fixed_income.
ownership_percentagenumberHow much of it the client owns, from 0 to 100.
committed_amountnumberFor a private fund: what the client agreed to put in.
valuenumberThe latest value we have, in US dollars, for the whole asset.
as_of_datedateThe day that value is for.
sourcestringplaid when it comes from a linked account, otherwise manual.
statusstringactive or inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/held-away/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Fidelity rollover IRA",
    "asset_type": "held_away_retirement",
    "institution": "Fidelity",
    "asset_class": "equity",
    "ownership_percentage": 100,
    "committed_amount": null,
    "value": 410000,
    "as_of_date": "2026-09-28",
    "source": "plaid",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/held-away

Add a held-away asset

Something a client owns that is held somewhere else, like another brokerage, a bank account, or a private fund. Send value to give it a first value. Later values are added in the app.

Needs the held_away:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client who owns it.
namerequiredBodystringWhat it is called. Up to 200 characters.
asset_typeBodystringother if left out. One of: held_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, other.
institutionBodystringWhere it is held. Up to 200 characters.
asset_classBodystringLike equity or fixed_income. Up to 100 characters.
ownership_percentageBodynumberHow much of it the client owns, as a number from 0 to 100. 100 if left out.
committed_amountBodynumberFor a private fund: what the client agreed to put in.
notesBodystringAnything worth knowing. Up to 2000 characters.
valueBodynumberIts value now, for the whole asset. It can't be changed with PATCH.
as_of_dateBodydateThe day that value is for. Today if left out.
value_sourceBodystringWhere the value came from. client_reported if left out. One of: statement, appraisal, estimate, client_reported, aggregator.
What comes back (15)
FieldTypeDescription
ididThe asset's id. It never changes.
client_ididThe client it belongs to.
namestringWhat it is called.
asset_typestringheld_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, or other.
institutionstringWhere it is held.
asset_classstringLike equity or fixed_income.
ownership_percentagenumberHow much of it the client owns, from 0 to 100.
committed_amountnumberFor a private fund: what the client agreed to put in.
valuenumberThe latest value we have, in US dollars, for the whole asset.
as_of_datedateThe day that value is for.
sourcestringplaid when it comes from a linked account, otherwise manual.
statusstringactive or inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/held-away" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Fidelity rollover IRA","asset_type":"held_away_retirement","institution":"Fidelity","value":250000,"as_of_date":"2026-09-30"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Fidelity rollover IRA",
    "asset_type": "held_away_retirement",
    "institution": "Fidelity",
    "asset_class": "equity",
    "ownership_percentage": 100,
    "committed_amount": null,
    "value": 250000,
    "as_of_date": "2026-09-30",
    "source": "plaid",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PATCH/api/v1/held-away/{id}

Change a held-away asset

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such held-away asset, or the key can't see it. Comes back with the whole held-away asset. Changes go on the firm's activity log, naming the key.

Needs the held_away:write scope.

NameInTypeDescription
idrequiredPathidThe held-away asset's id.
nameBodystringWhat it is called. Up to 200 characters.
asset_typeBodystringother if left out. One of: held_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, other.
institutionBodystringWhere it is held. Up to 200 characters. null empties it.
asset_classBodystringLike equity or fixed_income. Up to 100 characters. null empties it.
ownership_percentageBodynumberHow much of it the client owns, as a number from 0 to 100. 100 if left out.
committed_amountBodynumberFor a private fund: what the client agreed to put in. null empties it.
notesBodystringAnything worth knowing. Up to 2000 characters. null empties it.
is_activeBodybooleanfalse takes it out of totals without deleting it.
Fields in each row (15)
FieldTypeDescription
ididThe asset's id. It never changes.
client_ididThe client it belongs to.
namestringWhat it is called.
asset_typestringheld_away_brokerage, held_away_retirement, bank, private_fund, real_estate, business, life_insurance, collectible, or other.
institutionstringWhere it is held.
asset_classstringLike equity or fixed_income.
ownership_percentagenumberHow much of it the client owns, from 0 to 100.
committed_amountnumberFor a private fund: what the client agreed to put in.
valuenumberThe latest value we have, in US dollars, for the whole asset.
as_of_datedateThe day that value is for.
sourcestringplaid when it comes from a linked account, otherwise manual.
statusstringactive or inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PATCH "https://www.riafront.com/api/v1/held-away/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Fidelity rollover IRA","asset_type":"held_away_retirement","institution":"Fidelity"}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Fidelity rollover IRA",
    "asset_type": "held_away_retirement",
    "institution": "Fidelity",
    "asset_class": "equity",
    "ownership_percentage": 100,
    "committed_amount": null,
    "value": 250000,
    "as_of_date": "2026-09-30",
    "source": "plaid",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/held-away/bulk

Add many held-away assets at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /held-away. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the held_away:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /held-away.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/held-away/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Fidelity rollover IRA","asset_type":"held_away_retirement","institution":"Fidelity","value":250000,"as_of_date":"2026-09-30"},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Fidelity rollover IRA","asset_type":"held_away_retirement","institution":"Fidelity","value":250000,"as_of_date":"2026-09-30"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Liabilities

What a client owes, like a mortgage, a car loan, or a credit card. Each has its latest balance and the day that balance is for. Nothing is added to a balance since that day.

GET/api/v1/liabilities

List liabilities

What a client owes, like a mortgage, a car loan, or a credit card. Each has its latest balance and the day that balance is for. Nothing is added to a balance since that day.

Needs the liabilities:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (18)
FieldTypeDescription
ididThe liability's id. It never changes.
client_ididThe client it belongs to.
client_emailstringThe client's email address.
namestringWhat it is called.
liability_typestringmortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, or other.
lenderstringWho it is owed to.
interest_ratenumberThe yearly rate as a percent, so 6.25 means 6.25%.
monthly_paymentnumberThe payment each month, in US dollars, for the whole debt.
maturity_datedateThe day it is due to be paid off.
secured_by_asset_ididThe held-away asset the debt is against, like the house for a mortgage.
ownership_percentagenumberThe client's share of the debt, from 0 to 100.
balancenumberThe latest balance we have, in US dollars, for the whole debt. Empty when none has been entered.
as_of_datedateThe day that balance is for.
balance_sourcestringstatement, estimate, or client_reported.
statusstringactive or inactive. A paid-off debt is inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record, or its latest balance, last changed.
curl "https://www.riafront.com/api/v1/liabilities?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "client_email": "rita@example.com",
      "name": "Home mortgage",
      "liability_type": "mortgage",
      "lender": "First Local Bank",
      "interest_rate": 6.25,
      "monthly_payment": 2450,
      "maturity_date": "2051-03-01",
      "secured_by_asset_id": null,
      "ownership_percentage": 100,
      "balance": 412000,
      "as_of_date": "2026-09-28",
      "balance_source": "statement",
      "status": "active",
      "entered_by": "advisor",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/liabilities?

Paste a key at the top of the reference to try this.

GET/api/v1/liabilities/{id}

Get one liabilitie

One liabilitie by its id. A 404 if there's no such liabilitie, or the key can't see it.

Needs the liabilities:read scope.

NameInTypeDescription
idrequiredPathidThe liabilitie's id.
Fields in each row (18)
FieldTypeDescription
ididThe liability's id. It never changes.
client_ididThe client it belongs to.
client_emailstringThe client's email address.
namestringWhat it is called.
liability_typestringmortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, or other.
lenderstringWho it is owed to.
interest_ratenumberThe yearly rate as a percent, so 6.25 means 6.25%.
monthly_paymentnumberThe payment each month, in US dollars, for the whole debt.
maturity_datedateThe day it is due to be paid off.
secured_by_asset_ididThe held-away asset the debt is against, like the house for a mortgage.
ownership_percentagenumberThe client's share of the debt, from 0 to 100.
balancenumberThe latest balance we have, in US dollars, for the whole debt. Empty when none has been entered.
as_of_datedateThe day that balance is for.
balance_sourcestringstatement, estimate, or client_reported.
statusstringactive or inactive. A paid-off debt is inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record, or its latest balance, last changed.
curl "https://www.riafront.com/api/v1/liabilities/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "client_email": "rita@example.com",
    "name": "Home mortgage",
    "liability_type": "mortgage",
    "lender": "First Local Bank",
    "interest_rate": 6.25,
    "monthly_payment": 2450,
    "maturity_date": "2051-03-01",
    "secured_by_asset_id": null,
    "ownership_percentage": 100,
    "balance": 412000,
    "as_of_date": "2026-09-28",
    "balance_source": "statement",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/liabilities

Add a liability

Something a client owes, like a mortgage, a car loan, or a credit card. Send balance to give it a first balance. Later balances go to POST /liability-balances. It is saved as entered by the advisor.

Needs the liabilities:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client who owes it.
namerequiredBodystringWhat it is called. Up to 200 characters.
liability_typeBodystringother if left out. One of: mortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, other.
lenderBodystringWho it is owed to. Up to 200 characters.
interest_rateBodynumberThe yearly rate as a percent, so 6.25 means 6.25%.
monthly_paymentBodynumberThe payment each month, for the whole debt.
maturity_dateBodydateThe day it is due to be paid off.
secured_by_asset_idBodyidThe held-away asset it is against. It has to be one of this client's.
ownership_percentageBodynumberThe client's share of the debt, as a number from 0 to 100. 100 if left out.
notesBodystringAnything worth knowing. Up to 2000 characters.
balanceBodynumberWhat is owed now, for the whole debt. It can't be changed with PATCH. Add a new one with POST /liability-balances.
as_of_dateBodydateThe day that balance is for. Today if left out.
balance_sourceBodystringWhere the balance came from. client_reported if left out. One of: statement, estimate, client_reported.
What comes back (18)
FieldTypeDescription
ididThe liability's id. It never changes.
client_ididThe client it belongs to.
client_emailstringThe client's email address.
namestringWhat it is called.
liability_typestringmortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, or other.
lenderstringWho it is owed to.
interest_ratenumberThe yearly rate as a percent, so 6.25 means 6.25%.
monthly_paymentnumberThe payment each month, in US dollars, for the whole debt.
maturity_datedateThe day it is due to be paid off.
secured_by_asset_ididThe held-away asset the debt is against, like the house for a mortgage.
ownership_percentagenumberThe client's share of the debt, from 0 to 100.
balancenumberThe latest balance we have, in US dollars, for the whole debt. Empty when none has been entered.
as_of_datedateThe day that balance is for.
balance_sourcestringstatement, estimate, or client_reported.
statusstringactive or inactive. A paid-off debt is inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record, or its latest balance, last changed.
curl -X POST "https://www.riafront.com/api/v1/liabilities" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Home mortgage","liability_type":"mortgage","lender":"First Local Bank","interest_rate":6.25,"monthly_payment":2450,"balance":412000,"as_of_date":"2026-09-30","balance_source":"statement"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "client_email": "rita@example.com",
    "name": "Home mortgage",
    "liability_type": "mortgage",
    "lender": "First Local Bank",
    "interest_rate": 6.25,
    "monthly_payment": 2450,
    "maturity_date": "2051-03-01",
    "secured_by_asset_id": null,
    "ownership_percentage": 100,
    "balance": 412000,
    "as_of_date": "2026-09-30",
    "balance_source": "statement",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PATCH/api/v1/liabilities/{id}

Change a liabilitie

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such liabilitie, or the key can't see it. Comes back with the whole liabilitie. Changes go on the firm's activity log, naming the key.

Needs the liabilities:write scope.

NameInTypeDescription
idrequiredPathidThe liabilitie's id.
nameBodystringWhat it is called. Up to 200 characters.
liability_typeBodystringother if left out. One of: mortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, other.
lenderBodystringWho it is owed to. Up to 200 characters. null empties it.
interest_rateBodynumberThe yearly rate as a percent, so 6.25 means 6.25%. null empties it.
monthly_paymentBodynumberThe payment each month, for the whole debt. null empties it.
maturity_dateBodydateThe day it is due to be paid off. null empties it.
secured_by_asset_idBodyidThe held-away asset it is against. It has to be one of this client's. null empties it.
ownership_percentageBodynumberThe client's share of the debt, as a number from 0 to 100. 100 if left out.
notesBodystringAnything worth knowing. Up to 2000 characters. null empties it.
is_activeBodybooleanfalse takes it out of totals without deleting it, like when it is paid off.
Fields in each row (18)
FieldTypeDescription
ididThe liability's id. It never changes.
client_ididThe client it belongs to.
client_emailstringThe client's email address.
namestringWhat it is called.
liability_typestringmortgage, home_equity, auto_loan, student_loan, credit_card, personal_loan, business_loan, margin_loan, or other.
lenderstringWho it is owed to.
interest_ratenumberThe yearly rate as a percent, so 6.25 means 6.25%.
monthly_paymentnumberThe payment each month, in US dollars, for the whole debt.
maturity_datedateThe day it is due to be paid off.
secured_by_asset_ididThe held-away asset the debt is against, like the house for a mortgage.
ownership_percentagenumberThe client's share of the debt, from 0 to 100.
balancenumberThe latest balance we have, in US dollars, for the whole debt. Empty when none has been entered.
as_of_datedateThe day that balance is for.
balance_sourcestringstatement, estimate, or client_reported.
statusstringactive or inactive. A paid-off debt is inactive.
entered_bystringadvisor when the firm entered it, client when the client typed it in the portal.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record, or its latest balance, last changed.
curl -X PATCH "https://www.riafront.com/api/v1/liabilities/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Home mortgage","liability_type":"mortgage","lender":"First Local Bank","interest_rate":6.25,"monthly_payment":2450}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "client_email": "rita@example.com",
    "name": "Home mortgage",
    "liability_type": "mortgage",
    "lender": "First Local Bank",
    "interest_rate": 6.25,
    "monthly_payment": 2450,
    "maturity_date": "2051-03-01",
    "secured_by_asset_id": null,
    "ownership_percentage": 100,
    "balance": 412000,
    "as_of_date": "2026-09-30",
    "balance_source": "statement",
    "status": "active",
    "entered_by": "advisor",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/liabilities/bulk

Add many liabilities at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /liabilities. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the liabilities:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /liabilities.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/liabilities/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Home mortgage","liability_type":"mortgage","lender":"First Local Bank","interest_rate":6.25,"monthly_payment":2450,"balance":412000,"as_of_date":"2026-09-30","balance_source":"statement"},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Home mortgage","liability_type":"mortgage","lender":"First Local Bank","interest_rate":6.25,"monthly_payment":2450,"balance":412000,"as_of_date":"2026-09-30","balance_source":"statement"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Liability balances

Every balance entered for every liability, not only the latest one. A liability has one balance a day. Use client_id to get one client's and match them to liabilities with liability_id.

GET/api/v1/liability-balances

List liability balances

Every balance entered for every liability, not only the latest one. A liability has one balance a day. Use client_id to get one client's and match them to liabilities with liability_id.

Needs the liabilities:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (8)
FieldTypeDescription
ididThe balance's id. It never changes.
liability_ididThe liability it is for.
client_ididThe client it belongs to.
balancenumberWhat was owed, in US dollars, for the whole debt.
as_of_datedateThe day the balance is for.
sourcestringstatement, estimate, or client_reported.
created_atdatetimeWhen the balance was entered. A correction for the same day changes it.
updated_atdatetimeThe same as created_at.
curl "https://www.riafront.com/api/v1/liability-balances?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "liability_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "balance": 0,
      "as_of_date": "2026-09-28",
      "source": "statement",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/liability-balances?

Paste a key at the top of the reference to try this.

GET/api/v1/liability-balances/{id}

Get one liability balance

One liability balance by its id. A 404 if there's no such liability balance, or the key can't see it.

Needs the liabilities:read scope.

NameInTypeDescription
idrequiredPathidThe liability balance's id.
Fields in each row (8)
FieldTypeDescription
ididThe balance's id. It never changes.
liability_ididThe liability it is for.
client_ididThe client it belongs to.
balancenumberWhat was owed, in US dollars, for the whole debt.
as_of_datedateThe day the balance is for.
sourcestringstatement, estimate, or client_reported.
created_atdatetimeWhen the balance was entered. A correction for the same day changes it.
updated_atdatetimeThe same as created_at.
curl "https://www.riafront.com/api/v1/liability-balances/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "liability_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "balance": 0,
    "as_of_date": "2026-09-28",
    "source": "statement",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/liability-balances

Add a liability balance

A new balance for a liability you already added. A liability has one balance a day, so a second one for the same day replaces the first. The answer is the balance.

Needs the liabilities:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
liability_idrequiredBodyidThe liability it is for.
balancerequiredBodynumberWhat is owed, for the whole debt.
as_of_dateBodydateThe day the balance is for. Today if left out.
sourceBodystringWhere it came from. client_reported if left out. One of: statement, estimate, client_reported.
notesBodystringAnything worth knowing. Up to 2000 characters.
What comes back (8)
FieldTypeDescription
ididThe balance's id. It never changes.
liability_ididThe liability it is for.
client_ididThe client it belongs to.
balancenumberWhat was owed, in US dollars, for the whole debt.
as_of_datedateThe day the balance is for.
sourcestringstatement, estimate, or client_reported.
created_atdatetimeWhen the balance was entered. A correction for the same day changes it.
updated_atdatetimeThe same as created_at.
curl -X POST "https://www.riafront.com/api/v1/liability-balances" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"liability_id":"3b4c5d6e-7f80-4a91-b2c3-d4e5f6a7b8c9","balance":408500,"as_of_date":"2026-10-31","source":"statement"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "liability_id": "3b4c5d6e-7f80-4a91-b2c3-d4e5f6a7b8c9",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "balance": 408500,
    "as_of_date": "2026-10-31",
    "source": "statement",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/liability-balances/bulk

Add many liability balances at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /liability-balances. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the liabilities:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /liability-balances.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/liability-balances/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"liability_id":"3b4c5d6e-7f80-4a91-b2c3-d4e5f6a7b8c9","balance":408500,"as_of_date":"2026-10-31","source":"statement"},{"liability_id":"3b4c5d6e-7f80-4a91-b2c3-d4e5f6a7b8c9","balance":408500,"as_of_date":"2026-10-31","source":"statement"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "liability_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Orders

Trade orders, from draft through to filled, rejected, or cancelled. from and to are on the day the order was made.

GET/api/v1/orders

List orders

Trade orders, from draft through to filled, rejected, or cancelled. from and to are on the day the order was made.

Needs the orders:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
account_idQueryidOnly this account's.
stateQuerystringOnly orders in this state. The description of the list says which values it takes.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (23)
FieldTypeDescription
ididThe order's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
security_ididThe security.
symbolstringTicker symbol.
sidestringbuy, sell, sell_short, or buy_to_cover.
order_typestringmarket, limit, stop, or stop_limit.
quantitynumberShares or units ordered.
limit_pricenumberFor a limit order: the price to trade at.
stop_pricenumberFor a stop order: the price that triggers it.
time_in_forcestringHow long the order stays open, like day or gtc.
statestringdraft, proposed, approved, routed, partial, filled, rejected, or cancelled.
filled_quantitynumberHow much has traded so far.
avg_fill_pricenumberThe average price of what has traded.
custodianstringWhere the order was sent.
reject_reasonstringWhy it was rejected, if it was.
entered_byidWho entered it.
approved_byidWho approved it.
approved_atdatetimeWhen it was approved.
routed_atdatetimeWhen it was sent to the custodian.
completed_atdatetimeWhen it finished.
created_atdatetimeWhen the order was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/orders?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
      "security_id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
      "symbol": "VTI",
      "side": "buy",
      "order_type": "limit",
      "quantity": 10,
      "limit_price": 245,
      "stop_price": null,
      "time_in_force": "day",
      "state": "filled",
      "filled_quantity": 10,
      "avg_fill_price": 244.9,
      "custodian": "schwab",
      "reject_reason": null,
      "entered_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "approved_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "approved_at": "2026-09-28T14:05:00Z",
      "routed_at": "2026-09-28T14:05:00Z",
      "completed_at": "2026-09-28T14:05:00Z",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/orders?

Paste a key at the top of the reference to try this.

GET/api/v1/orders/{id}

Get one order

One order by its id. A 404 if there's no such order, or the key can't see it.

Needs the orders:read scope.

NameInTypeDescription
idrequiredPathidThe order's id.
Fields in each row (23)
FieldTypeDescription
ididThe order's id. It never changes.
client_ididThe client it belongs to.
account_ididThe account it belongs to.
security_ididThe security.
symbolstringTicker symbol.
sidestringbuy, sell, sell_short, or buy_to_cover.
order_typestringmarket, limit, stop, or stop_limit.
quantitynumberShares or units ordered.
limit_pricenumberFor a limit order: the price to trade at.
stop_pricenumberFor a stop order: the price that triggers it.
time_in_forcestringHow long the order stays open, like day or gtc.
statestringdraft, proposed, approved, routed, partial, filled, rejected, or cancelled.
filled_quantitynumberHow much has traded so far.
avg_fill_pricenumberThe average price of what has traded.
custodianstringWhere the order was sent.
reject_reasonstringWhy it was rejected, if it was.
entered_byidWho entered it.
approved_byidWho approved it.
approved_atdatetimeWhen it was approved.
routed_atdatetimeWhen it was sent to the custodian.
completed_atdatetimeWhen it finished.
created_atdatetimeWhen the order was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/orders/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "security_id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
    "symbol": "VTI",
    "side": "buy",
    "order_type": "limit",
    "quantity": 10,
    "limit_price": 245,
    "stop_price": null,
    "time_in_force": "day",
    "state": "filled",
    "filled_quantity": 10,
    "avg_fill_price": 244.9,
    "custodian": "schwab",
    "reject_reason": null,
    "entered_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "approved_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "approved_at": "2026-09-28T14:05:00Z",
    "routed_at": "2026-09-28T14:05:00Z",
    "completed_at": "2026-09-28T14:05:00Z",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

Invoices

Fee invoices sent to clients. from and to are on the day the billing period ends.

GET/api/v1/invoices

List invoices

Fee invoices sent to clients. from and to are on the day the billing period ends.

Needs the invoices:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (21)
FieldTypeDescription
ididThe invoice's id. It never changes.
client_ididThe client it belongs to.
household_ididThe household it bills, if any.
account_ididThe account it belongs to.
invoice_numberstringThe number on the invoice.
period_startdateFirst day it bills for.
period_enddateLast day it bills for.
aum_startnumberAssets at the start of the period.
aum_endnumberAssets at the end of the period.
average_aumnumberAverage assets over the period.
fee_amountnumberThe fee, before tax.
tax_amountnumberTax on the fee.
total_amountnumberWhat the client owes.
amount_paidnumberWhat has been paid so far, from invoice-payments.
statusstringdraft, sent, partial, paid, overdue, cancelled, or void.
due_datedateWhen it is due.
sent_atdatetimeWhen it was sent.
paid_atdatetimeWhen it was paid in full.
payment_methodstringHow it is to be paid.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/invoices?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "household_id": null,
      "account_id": null,
      "invoice_number": "INV-2026-0042",
      "period_start": "2026-09-28",
      "period_end": "2026-09-28",
      "aum_start": 248000,
      "aum_end": 252000,
      "average_aum": 250000,
      "fee_amount": 625,
      "tax_amount": 0,
      "total_amount": 625,
      "amount_paid": 625,
      "status": "paid",
      "due_date": "2026-09-28",
      "sent_at": "2026-09-28T14:05:00Z",
      "paid_at": "2026-09-28T14:05:00Z",
      "payment_method": "ach",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/invoices?

Paste a key at the top of the reference to try this.

GET/api/v1/invoices/{id}

Get one invoice

One invoice by its id. A 404 if there's no such invoice, or the key can't see it.

Needs the invoices:read scope.

NameInTypeDescription
idrequiredPathidThe invoice's id.
Fields in each row (21)
FieldTypeDescription
ididThe invoice's id. It never changes.
client_ididThe client it belongs to.
household_ididThe household it bills, if any.
account_ididThe account it belongs to.
invoice_numberstringThe number on the invoice.
period_startdateFirst day it bills for.
period_enddateLast day it bills for.
aum_startnumberAssets at the start of the period.
aum_endnumberAssets at the end of the period.
average_aumnumberAverage assets over the period.
fee_amountnumberThe fee, before tax.
tax_amountnumberTax on the fee.
total_amountnumberWhat the client owes.
amount_paidnumberWhat has been paid so far, from invoice-payments.
statusstringdraft, sent, partial, paid, overdue, cancelled, or void.
due_datedateWhen it is due.
sent_atdatetimeWhen it was sent.
paid_atdatetimeWhen it was paid in full.
payment_methodstringHow it is to be paid.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/invoices/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "household_id": null,
    "account_id": null,
    "invoice_number": "INV-2026-0042",
    "period_start": "2026-09-28",
    "period_end": "2026-09-28",
    "aum_start": 248000,
    "aum_end": 252000,
    "average_aum": 250000,
    "fee_amount": 625,
    "tax_amount": 0,
    "total_amount": 625,
    "amount_paid": 625,
    "status": "paid",
    "due_date": "2026-09-28",
    "sent_at": "2026-09-28T14:05:00Z",
    "paid_at": "2026-09-28T14:05:00Z",
    "payment_method": "ach",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/invoices

Add or change an invoice

Adds an invoice to a client's Invoices page, for a firm that bills somewhere else. Sending the same number again changes that invoice, so you can mark it paid later. A firm that uses Riafront for the client app only gets Invoices back in the client app once it has sent one. The number has to be new among the firm's invoices made in Riafront. To attach the PDF, send it with POST /documents first and give its id as document_id.

Needs the invoices:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
numberrequiredBodystringYour invoice number. Sending it again changes the invoice. Up to 50 characters.
client_idrequiredBodyidThe client billed.
account_idBodyidThe account billed, if it is for one. It has to be one of the client's accounts.
period_startrequiredBodydateThe first day billed.
period_endrequiredBodydateThe last day billed.
amountrequiredBodynumberThe total billed, with tax.
tax_amountBodynumberThe part of amount that is tax. 0 if left out.
due_dateBodydateWhen it is due. Once it passes, an unpaid invoice shows as overdue.
statusBodystringsent if left out. Use paid with paid_on once it is paid. One of: sent, paid, overdue, cancelled, void.
paid_onBodydateFor a paid invoice: the day it was paid. Today if left out.
document_idBodyidA PDF of the invoice, as the id of a document of the same client. Send the file with POST /documents first.
What comes back (12)
FieldTypeDescription
ididThe id of the invoice.
numberstringThe invoice number.
client_ididThe client.
account_ididThe account, if it is for one.
period_startdateFirst day billed.
period_enddateLast day billed.
amountnumberThe total billed.
tax_amountnumberThe part of the total that is tax.
due_datedateWhen it is due.
statusstringsent, paid, overdue, cancelled, or void.
document_ididThe PDF, if one was attached.
createdbooleantrue when it was added, false when an invoice with that number was changed.
curl -X POST "https://www.riafront.com/api/v1/invoices" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"number":"INV-2026-1042","client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","period_start":"2026-07-01","period_end":"2026-09-30","amount":3125,"due_date":"2026-10-30","status":"sent"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "number": "text",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "period_start": "2026-09-28",
    "period_end": "2026-09-28",
    "amount": -2451,
    "tax_amount": 0,
    "due_date": "2026-09-28",
    "status": "active",
    "document_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "created": false
  }
}

POST/api/v1/invoices/bulk

Add many invoices at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /invoices. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the invoices:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /invoices.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/invoices/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"number":"INV-2026-1042","client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","period_start":"2026-07-01","period_end":"2026-09-30","amount":3125,"due_date":"2026-10-30","status":"sent"},{"number":"INV-2026-1042","client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","period_start":"2026-07-01","period_end":"2026-09-30","amount":3125,"due_date":"2026-10-30","status":"sent"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "number",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Invoice payments

Payments recorded against invoices. from and to are on the day it was paid.

GET/api/v1/invoice-payments

List invoice payments

Payments recorded against invoices. from and to are on the day it was paid.

Needs the payments:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
invoice_idQueryidOnly this invoice's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (8)
FieldTypeDescription
ididThe payment's id. It never changes.
invoice_ididThe invoice it pays.
client_ididThe client it belongs to.
amountnumberHow much was paid.
methodstringHow it was paid.
paid_ondateThe day it was paid.
notestringA note on the payment.
created_atdatetimeWhen it was recorded. updated_since filters on this.
curl "https://www.riafront.com/api/v1/invoice-payments?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "invoice_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "amount": 625,
      "method": "ach",
      "paid_on": "2026-09-28",
      "note": "",
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/invoice-payments?

Paste a key at the top of the reference to try this.

GET/api/v1/invoice-payments/{id}

Get one invoice payment

One invoice payment by its id. A 404 if there's no such invoice payment, or the key can't see it.

Needs the payments:read scope.

NameInTypeDescription
idrequiredPathidThe invoice payment's id.
Fields in each row (8)
FieldTypeDescription
ididThe payment's id. It never changes.
invoice_ididThe invoice it pays.
client_ididThe client it belongs to.
amountnumberHow much was paid.
methodstringHow it was paid.
paid_ondateThe day it was paid.
notestringA note on the payment.
created_atdatetimeWhen it was recorded. updated_since filters on this.
curl "https://www.riafront.com/api/v1/invoice-payments/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "invoice_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "amount": 625,
    "method": "ach",
    "paid_on": "2026-09-28",
    "note": "",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

Signature requests

Documents sent to clients to sign, and how each one went. from and to are on the day it was sent.

GET/api/v1/signature-requests

List signature requests

Documents sent to clients to sign, and how each one went. from and to are on the day it was sent.

Needs the signatures:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (12)
FieldTypeDescription
ididThe request's id. It never changes.
client_ididThe client it belongs to.
document_ididThe document to sign.
signed_document_ididThe signed copy, once it is signed.
titlestringWhat the client sees as the title.
statusstringpending, signed, declined, or cancelled.
providerstringbuiltin or docusign.
requested_byidWho sent it.
requested_atdatetimeWhen it was sent.
signed_atdatetimeWhen it was signed.
closed_atdatetimeWhen it was signed, declined, or cancelled.
declined_reasonstringWhy the client declined, if they did.
curl "https://www.riafront.com/api/v1/signature-requests?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "document_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "signed_document_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "title": "Advisory agreement",
      "status": "signed",
      "provider": "builtin",
      "requested_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "requested_at": "2026-09-28T14:05:00Z",
      "signed_at": "2026-09-28T14:05:00Z",
      "closed_at": "2026-09-28T14:05:00Z",
      "declined_reason": null
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/signature-requests?

Paste a key at the top of the reference to try this.

GET/api/v1/signature-requests/{id}

Get one signature request

One signature request by its id. A 404 if there's no such signature request, or the key can't see it.

Needs the signatures:read scope.

NameInTypeDescription
idrequiredPathidThe signature request's id.
Fields in each row (12)
FieldTypeDescription
ididThe request's id. It never changes.
client_ididThe client it belongs to.
document_ididThe document to sign.
signed_document_ididThe signed copy, once it is signed.
titlestringWhat the client sees as the title.
statusstringpending, signed, declined, or cancelled.
providerstringbuiltin or docusign.
requested_byidWho sent it.
requested_atdatetimeWhen it was sent.
signed_atdatetimeWhen it was signed.
closed_atdatetimeWhen it was signed, declined, or cancelled.
declined_reasonstringWhy the client declined, if they did.
curl "https://www.riafront.com/api/v1/signature-requests/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "document_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "signed_document_id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "title": "Advisory agreement",
    "status": "signed",
    "provider": "builtin",
    "requested_by": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "requested_at": "2026-09-28T14:05:00Z",
    "signed_at": "2026-09-28T14:05:00Z",
    "closed_at": "2026-09-28T14:05:00Z",
    "declined_reason": null
  }
}

Goals

Clients' financial goals, like retirement or a home.

GET/api/v1/goals

List goals

Clients' financial goals, like retirement or a home.

Needs the goals:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (14)
FieldTypeDescription
ididThe goal's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the goal is called.
goal_typestringretirement, home, education, emergency, income, or other.
target_amountnumberHow much the client wants to reach.
current_amountnumberHow much is set aside for it now.
target_datedateWhen they want to reach it.
monthly_contributionnumberWhat they add each month.
expected_annual_returnnumberThe yearly return assumed, as a decimal: 0.07 is 7%.
inflation_ratenumberThe yearly inflation assumed, as a decimal: 0.03 is 3%.
priorityintegerFrom 1 (most important) to 5.
statusstringactive, on_track, at_risk, completed, paused, or cancelled.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/goals?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "name": "Retire at 62",
      "goal_type": "retirement",
      "target_amount": 2000000,
      "current_amount": 650000,
      "target_date": "2026-09-28",
      "monthly_contribution": 2500,
      "expected_annual_return": 0.06,
      "inflation_rate": 0.025,
      "priority": 1,
      "status": "on_track",
      "created_at": "2026-09-28T14:05:00Z",
      "updated_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/goals?

Paste a key at the top of the reference to try this.

GET/api/v1/goals/{id}

Get one goal

One goal by its id. A 404 if there's no such goal, or the key can't see it.

Needs the goals:read scope.

NameInTypeDescription
idrequiredPathidThe goal's id.
Fields in each row (14)
FieldTypeDescription
ididThe goal's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the goal is called.
goal_typestringretirement, home, education, emergency, income, or other.
target_amountnumberHow much the client wants to reach.
current_amountnumberHow much is set aside for it now.
target_datedateWhen they want to reach it.
monthly_contributionnumberWhat they add each month.
expected_annual_returnnumberThe yearly return assumed, as a decimal: 0.07 is 7%.
inflation_ratenumberThe yearly inflation assumed, as a decimal: 0.03 is 3%.
priorityintegerFrom 1 (most important) to 5.
statusstringactive, on_track, at_risk, completed, paused, or cancelled.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl "https://www.riafront.com/api/v1/goals/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Retire at 62",
    "goal_type": "retirement",
    "target_amount": 2000000,
    "current_amount": 650000,
    "target_date": "2026-09-28",
    "monthly_contribution": 2500,
    "expected_annual_return": 0.06,
    "inflation_rate": 0.025,
    "priority": 1,
    "status": "on_track",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/goals

Add a goal

A financial goal for a client, like retirement or a home. Rates are decimals, so 7% is 0.07.

Needs the goals:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client it is for.
namerequiredBodystringWhat the goal is called. Up to 200 characters.
goal_typerequiredBodystringThe kind of goal. One of: retirement, home, education, emergency, income, other.
target_amountrequiredBodynumberHow much money it needs.
current_amountBodynumberHow much is set aside for it now. 0 if left out. It can't be changed with PATCH.
target_dateBodydateWhen the money is needed. Can't be in the past.
monthly_contributionBodynumberWhat is added each month. 0 if left out.
expected_annual_returnBodynumberA decimal, so 7% is 0.07. 0.07 if left out.
inflation_rateBodynumberA decimal, so 3% is 0.03. 0.03 if left out.
priorityBodyintegerFrom 1 (first) to 5. 1 if left out.
statusBodystringactive if left out. One of: active, on_track, at_risk, completed, paused, cancelled.
notesBodystringAnything worth knowing. Up to 2000 characters.
What comes back (14)
FieldTypeDescription
ididThe goal's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the goal is called.
goal_typestringretirement, home, education, emergency, income, or other.
target_amountnumberHow much the client wants to reach.
current_amountnumberHow much is set aside for it now.
target_datedateWhen they want to reach it.
monthly_contributionnumberWhat they add each month.
expected_annual_returnnumberThe yearly return assumed, as a decimal: 0.07 is 7%.
inflation_ratenumberThe yearly inflation assumed, as a decimal: 0.03 is 3%.
priorityintegerFrom 1 (most important) to 5.
statusstringactive, on_track, at_risk, completed, paused, or cancelled.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X POST "https://www.riafront.com/api/v1/goals" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Retire at 62","goal_type":"retirement","target_amount":2500000,"target_date":"2040-06-30","monthly_contribution":3000}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Retire at 62",
    "goal_type": "retirement",
    "target_amount": 2500000,
    "current_amount": 650000,
    "target_date": "2040-06-30",
    "monthly_contribution": 3000,
    "expected_annual_return": 0.06,
    "inflation_rate": 0.025,
    "priority": 1,
    "status": "on_track",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

PATCH/api/v1/goals/{id}

Change a goal

Changes the fields you send and leaves the rest as they are. Send null to empty a field that can be emptied. Only fields that are safe to change are taken: not balances, not ids, and nothing that would rewrite history, so anything else is refused with a 422. A 404 if there's no such goal, or the key can't see it. Comes back with the whole goal. Changes go on the firm's activity log, naming the key.

Needs the goals:write scope.

NameInTypeDescription
idrequiredPathidThe goal's id.
nameBodystringWhat the goal is called. Up to 200 characters.
goal_typeBodystringThe kind of goal. One of: retirement, home, education, emergency, income, other.
target_amountBodynumberHow much money it needs.
target_dateBodydateWhen the money is needed. Can't be in the past. null empties it.
monthly_contributionBodynumberWhat is added each month. 0 if left out.
expected_annual_returnBodynumberA decimal, so 7% is 0.07. 0.07 if left out.
inflation_rateBodynumberA decimal, so 3% is 0.03. 0.03 if left out.
priorityBodyintegerFrom 1 (first) to 5. 1 if left out.
statusBodystringactive if left out. One of: active, on_track, at_risk, completed, paused, cancelled.
notesBodystringAnything worth knowing. Up to 2000 characters. null empties it.
Fields in each row (14)
FieldTypeDescription
ididThe goal's id. It never changes.
client_ididThe client it belongs to.
namestringWhat the goal is called.
goal_typestringretirement, home, education, emergency, income, or other.
target_amountnumberHow much the client wants to reach.
current_amountnumberHow much is set aside for it now.
target_datedateWhen they want to reach it.
monthly_contributionnumberWhat they add each month.
expected_annual_returnnumberThe yearly return assumed, as a decimal: 0.07 is 7%.
inflation_ratenumberThe yearly inflation assumed, as a decimal: 0.03 is 3%.
priorityintegerFrom 1 (most important) to 5.
statusstringactive, on_track, at_risk, completed, paused, or cancelled.
created_atdatetimeWhen the record was made.
updated_atdatetimeWhen the record last changed.
curl -X PATCH "https://www.riafront.com/api/v1/goals/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Retire at 62","goal_type":"retirement","target_amount":2500000,"target_date":"2040-06-30","monthly_contribution":3000}'

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "name": "Retire at 62",
    "goal_type": "retirement",
    "target_amount": 2500000,
    "current_amount": 650000,
    "target_date": "2040-06-30",
    "monthly_contribution": 3000,
    "expected_annual_return": 0.06,
    "inflation_rate": 0.025,
    "priority": 1,
    "status": "on_track",
    "created_at": "2026-09-28T14:05:00Z",
    "updated_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/goals/bulk

Add many goals at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /goals. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the goals:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /goals.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/goals/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Retire at 62","goal_type":"retirement","target_amount":2500000,"target_date":"2040-06-30","monthly_contribution":3000},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","name":"Retire at 62","goal_type":"retirement","target_amount":2500000,"target_date":"2040-06-30","monthly_contribution":3000}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Risk scores

Each time a client's risk questionnaire was taken: the scores and the risk profile they gave. The answers aren't included. from and to are on the day it was taken.

GET/api/v1/risk-scores

List risk scores

Each time a client's risk questionnaire was taken: the scores and the risk profile they gave. The answers aren't included. from and to are on the day it was taken.

Needs the risk_scores:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (11)
FieldTypeDescription
ididThe assessment's id. It never changes.
client_ididThe client it belongs to.
versionstringWhich version of the questionnaire.
scoreintegerThe overall score.
ability_scoreintegerHow much risk the client can afford to take.
willingness_scoreintegerHow much risk the client is comfortable taking.
profilestringThe risk profile the score gave.
suggested_stock_pctintegerThe share in stocks it suggests, from 0 to 100.
taken_by_rolestringWhether the client or their advisor filled it in.
accepted_atdatetimeWhen the advisor accepted the result.
created_atdatetimeWhen it was taken. updated_since filters on this.
curl "https://www.riafront.com/api/v1/risk-scores?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "version": "v1",
      "score": 58,
      "ability_score": 62,
      "willingness_score": 54,
      "profile": "moderate",
      "suggested_stock_pct": 60,
      "taken_by_role": "client",
      "accepted_at": "2026-09-28T14:05:00Z",
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/risk-scores?

Paste a key at the top of the reference to try this.

GET/api/v1/risk-scores/{id}

Get one risk score

One risk score by its id. A 404 if there's no such risk score, or the key can't see it.

Needs the risk_scores:read scope.

NameInTypeDescription
idrequiredPathidThe risk score's id.
Fields in each row (11)
FieldTypeDescription
ididThe assessment's id. It never changes.
client_ididThe client it belongs to.
versionstringWhich version of the questionnaire.
scoreintegerThe overall score.
ability_scoreintegerHow much risk the client can afford to take.
willingness_scoreintegerHow much risk the client is comfortable taking.
profilestringThe risk profile the score gave.
suggested_stock_pctintegerThe share in stocks it suggests, from 0 to 100.
taken_by_rolestringWhether the client or their advisor filled it in.
accepted_atdatetimeWhen the advisor accepted the result.
created_atdatetimeWhen it was taken. updated_since filters on this.
curl "https://www.riafront.com/api/v1/risk-scores/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "version": "v1",
    "score": 58,
    "ability_score": 62,
    "willingness_score": 54,
    "profile": "moderate",
    "suggested_stock_pct": 60,
    "taken_by_role": "client",
    "accepted_at": "2026-09-28T14:05:00Z",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

Securities

The stocks, funds, bonds, and cash holdings your clients hold or have traded. Details only, with no prices. Prices come with positions.

GET/api/v1/securities

List securities

The stocks, funds, bonds, and cash holdings your clients hold or have traded. Details only, with no prices. Prices come with positions.

Needs the securities:read scope.

NameInTypeDescription
symbolQuerystringOnly the security with this ticker symbol. Capitals don't matter.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (9)
FieldTypeDescription
ididThe security's id. It never changes.
symbolstringTicker symbol.
namestringThe security's name.
security_typestringLike stock, etf, bond, or cash.
asset_classstringLike equity or fixed_income.
sectorstringLike technology or health care.
currencystringThe currency it trades in.
expense_rationumberFor a fund: the yearly fee as a decimal: 0.0003 is 0.03%.
created_atdatetimeWhen it was added. updated_since filters on this.
curl "https://www.riafront.com/api/v1/securities?updated_since=2026-09-27T00:00:00Z" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "symbol": "VTI",
      "name": "Vanguard Total Stock Market ETF",
      "security_type": "etf",
      "asset_class": "equity",
      "sector": null,
      "currency": "USD",
      "expense_ratio": 0.0003,
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/securities?

Paste a key at the top of the reference to try this.

GET/api/v1/securities/{id}

Get one securitie

One securitie by its id. A 404 if there's no such securitie, or the key can't see it.

Needs the securities:read scope.

NameInTypeDescription
idrequiredPathidThe securitie's id.
Fields in each row (9)
FieldTypeDescription
ididThe security's id. It never changes.
symbolstringTicker symbol.
namestringThe security's name.
security_typestringLike stock, etf, bond, or cash.
asset_classstringLike equity or fixed_income.
sectorstringLike technology or health care.
currencystringThe currency it trades in.
expense_rationumberFor a fund: the yearly fee as a decimal: 0.0003 is 0.03%.
created_atdatetimeWhen it was added. updated_since filters on this.
curl "https://www.riafront.com/api/v1/securities/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "symbol": "VTI",
    "name": "Vanguard Total Stock Market ETF",
    "security_type": "etf",
    "asset_class": "equity",
    "sector": null,
    "currency": "USD",
    "expense_ratio": 0.0003,
    "created_at": "2026-09-28T14:05:00Z"
  }
}

Follow-ups

Notes that have a follow-up date: the things an advisor said they would do. status is open or done. from and to are on the follow-up date.

GET/api/v1/follow-ups

List follow-ups

Notes that have a follow-up date: the things an advisor said they would do. status is open or done. from and to are on the follow-up date.

Needs the follow_ups:read scope.

NameInTypeDescription
client_idQueryidOnly this client's.
statusQuerystringOnly rows with this status. The description of each list says which values it takes.
fromQuerydateOn or after this day, as YYYY-MM-DD.
toQuerydateOn or before this day, as YYYY-MM-DD.
updated_sinceQuerydate-timeChanged at or after this time, as an ISO 8601 timestamp. Use it to pick up only what changed since you last asked.
limitQueryintegerRows per page, from 1 to 1000. 200 if left out.
cursorQuerystringnext_cursor from the page before. Leave it out for the first page.
formatQuerystringjson (the default) or csv. With csv the answer is a CSV file with a header row, and the cursor for the next page is in the X-Next-Cursor and Link headers. You can also ask for CSV with the header Accept: text/csv.
Fields in each row (11)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
follow_up_ondateWhen to follow up.
donebooleanTrue once the follow-up was done.
statusstringopen or done.
follow_up_done_atdatetimeWhen it was done.
author_ididWho wrote the note.
occurred_atdatetimeWhen the call or meeting happened.
created_atdatetimeWhen the note was logged.
curl "https://www.riafront.com/api/v1/follow-ups?from=2026-09-01&limit=500" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": [
    {
      "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
      "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "kind": "call",
      "subject": "Send the Roth conversion numbers",
      "follow_up_on": "2026-12-15",
      "done": false,
      "status": "open",
      "follow_up_done_at": null,
      "author_id": null,
      "occurred_at": "2026-09-28T14:05:00Z",
      "created_at": "2026-09-28T14:05:00Z"
    }
  ],
  "next_cursor": "eyJjIjoiM2YyYjFjOWUifQ"
}
GET /api/v1/follow-ups?

Paste a key at the top of the reference to try this.

GET/api/v1/follow-ups/{id}

Get one follow-up

One follow-up by its id. A 404 if there's no such follow-up, or the key can't see it.

Needs the follow_ups:read scope.

NameInTypeDescription
idrequiredPathidThe follow-up's id.
Fields in each row (11)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
follow_up_ondateWhen to follow up.
donebooleanTrue once the follow-up was done.
statusstringopen or done.
follow_up_done_atdatetimeWhen it was done.
author_ididWho wrote the note.
occurred_atdatetimeWhen the call or meeting happened.
created_atdatetimeWhen the note was logged.
curl "https://www.riafront.com/api/v1/follow-ups/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "kind": "call",
    "subject": "Send the Roth conversion numbers",
    "follow_up_on": "2026-12-15",
    "done": false,
    "status": "open",
    "follow_up_done_at": null,
    "author_id": null,
    "occurred_at": "2026-09-28T14:05:00Z",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/follow-ups

Add a follow-up

Something to do for a client by a date. It is a note with a follow-up date, so it shows on the advisor's tasks. Mark it done with POST /follow-ups/{id}/done.

Needs the follow_ups:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
client_idrequiredBodyidThe client it is about.
subjectrequiredBodystringWhat needs doing. Up to 200 characters.
follow_up_onrequiredBodydateThe day it is due.
bodyBodystringMore detail. The subject is used if left out. Up to 10000 characters.
kindBodystringnote if left out. One of: note, call, meeting, email.
What comes back (11)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
follow_up_ondateWhen to follow up.
donebooleanTrue once the follow-up was done.
statusstringopen or done.
follow_up_done_atdatetimeWhen it was done.
author_ididWho wrote the note.
occurred_atdatetimeWhen the call or meeting happened.
created_atdatetimeWhen the note was logged.
curl -X POST "https://www.riafront.com/api/v1/follow-ups" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","subject":"Send the Roth conversion numbers","follow_up_on":"2026-12-15","kind":"call"}'

Response · 201

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "kind": "call",
    "subject": "Send the Roth conversion numbers",
    "follow_up_on": "2026-12-15",
    "done": false,
    "status": "open",
    "follow_up_done_at": null,
    "author_id": null,
    "occurred_at": "2026-09-28T14:05:00Z",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

POST/api/v1/follow-ups/bulk

Add many follow-ups at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /follow-ups. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the follow_ups:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /follow-ups.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/follow-ups/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","subject":"Send the Roth conversion numbers","follow_up_on":"2026-12-15","kind":"call"},{"client_id":"8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f","subject":"Send the Roth conversion numbers","follow_up_on":"2026-12-15","kind":"call"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "client_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

POST/api/v1/follow-ups/{id}/done

Mark a follow-up done

Marks the follow-up done. Doing it again changes nothing. id is the follow-up's id, which is its note's id.

Needs the follow_ups:write scope.

NameInTypeDescription
idrequiredPathidThe follow-up's id.
What comes back (11)
FieldTypeDescription
ididThe note's id. It never changes.
client_ididThe client it belongs to.
kindstringnote, call, meeting, or email.
subjectstringA short subject line.
follow_up_ondateWhen to follow up.
donebooleanTrue once the follow-up was done.
statusstringopen or done.
follow_up_done_atdatetimeWhen it was done.
author_ididWho wrote the note.
occurred_atdatetimeWhen the call or meeting happened.
created_atdatetimeWhen the note was logged.
curl -X POST "https://www.riafront.com/api/v1/follow-ups/3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60/done" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY"

Response · 200

{
  "data": {
    "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "kind": "call",
    "subject": "Send the Roth conversion numbers",
    "follow_up_on": "2026-12-15",
    "done": true,
    "status": "done",
    "follow_up_done_at": "2026-09-28T14:05:00Z",
    "author_id": null,
    "occurred_at": "2026-09-28T14:05:00Z",
    "created_at": "2026-09-28T14:05:00Z"
  }
}

Prices

Sets the closing price of a security on a day, for securities we don't price ourselves, like a private fund or a local bond. We use it to value the holdings, today and back to that day. Sending the same symbol and date again replaces it. A price you send ranks below one entered by hand and above the custodian's and the market's. We refuse a price for a security we already price from the market, or that another firm also holds, because securities are shared by every firm. Not for a key limited to some advisors, since a price applies to the whole firm.

POST/api/v1/prices

Set a security price

Sets the closing price of a security on a day, for securities we don't price ourselves, like a private fund or a local bond. We use it to value the holdings, today and back to that day. Sending the same symbol and date again replaces it. A price you send ranks below one entered by hand and above the custodian's and the market's. We refuse a price for a security we already price from the market, or that another firm also holds, because securities are shared by every firm. Not for a key limited to some advisors, since a price applies to the whole firm.

Needs the prices:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
symbolrequiredBodystringTicker symbol. If we have no record of it yet, we add it. Up to 20 characters.
daterequiredBodydateThe day of the price. Can't be in the future.
pricerequiredBodynumberThe price for one share or unit.
currencyBodystringThe price's currency. The security's own currency if left out. We convert it with that day's exchange rate.
nameBodystringThe security's name, used only when we have no record of the symbol yet. Up to 200 characters.
What comes back (5)
FieldTypeDescription
idstringThe symbol and date, like RIVERFUND:2026-11-10.
symbolstringTicker symbol, in capitals.
datedateThe day of the price.
pricenumberThe price you sent.
currencystringThe currency of the price.
curl -X POST "https://www.riafront.com/api/v1/prices" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"symbol":"RIVERFUND","date":"2026-11-10","price":104.25,"currency":"USD"}'

Response · 201

{
  "data": {
    "id": "text",
    "symbol": "VTI",
    "date": "2026-09-28",
    "price": 245.1,
    "currency": "USD"
  }
}

POST/api/v1/prices/bulk

Add many prices at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /prices. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the prices:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /prices.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/prices/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"symbol":"RIVERFUND","date":"2026-11-10","price":104.25,"currency":"USD"},{"symbol":"RIVERFUND","date":"2026-11-10","price":104.25,"currency":"USD"}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "symbol",
            "message": "Required."
          }
        ]
      }
    ]
  }
}

Period returns

Sets a return you worked out for an account over a period ending on a day, like the year to date as of Nov 10. When the firm is set to supplied returns (Import from files, Returns), the client app shows the latest one for each period, labelled "As reported by" your firm, instead of working it out. Sending the same account, period end, and period again replaces it. period is one of 1D, WTD, MTD, 1M, QTD, 3M, 6M, YTD, 1Y, 3Y, 5Y, or ITD (since the account started). The answer says shown_in_app: false when the firm isn't set to supplied returns yet.

POST/api/v1/period-returns

Set a return for a period

Sets a return you worked out for an account over a period ending on a day, like the year to date as of Nov 10. When the firm is set to supplied returns (Import from files, Returns), the client app shows the latest one for each period, labelled "As reported by" your firm, instead of working it out. Sending the same account, period end, and period again replaces it. period is one of 1D, WTD, MTD, 1M, QTD, 3M, 6M, YTD, 1Y, 3Y, 5Y, or ITD (since the account started). The answer says shown_in_app: false when the firm isn't set to supplied returns yet.

Needs the period_returns:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
account_idrequiredBodyidThe account it belongs to.
period_endrequiredBodydateThe last day of the period. Can't be in the future.
periodrequiredBodystringWhich period: 1D, WTD, MTD, 1M, QTD, 3M, 6M, YTD, 1Y, 3Y, 5Y, or ITD (since the account started). One of: 1D, WTD, MTD, 1M, QTD, 3M, 6M, YTD, 1Y, 3Y, 5Y, ITD.
returnrequiredBodynumberThe return over the period, as a decimal: 0.01 is 1%. Not a yearly rate, unless the period is a year.
What comes back (7)
FieldTypeDescription
idstringThe account id, the period end, and the period.
account_ididThe account.
client_ididThe account's client.
period_enddateThe last day of the period.
periodstringThe period, in capitals.
returnnumberThe return, as a decimal.
shown_in_appbooleanWhether the client app shows supplied returns for this firm.
curl -X POST "https://www.riafront.com/api/v1/period-returns" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","period_end":"2026-11-10","period":"YTD","return":0.0712}'

Response · 201

{
  "data": {
    "id": "text",
    "account_id": "5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d",
    "client_id": "8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
    "period_end": "2026-09-28",
    "period": "text",
    "return": 0,
    "shown_in_app": false
  }
}

POST/api/v1/period-returns/bulk

Add many period returns at once

Send up to 500 records in one request, as a JSON list (Content-Type: application/json) or as a CSV file (Content-Type: text/csv) whose first line is field names from POST /period-returns. Each row is checked and saved on its own, so one bad row doesn't stop the rest. You get 200 with a list that says, for each row in order, the id it was given or what was wrong with it. Rows that failed can be fixed and sent again. In a CSV file, an empty cell is the same as leaving the field out, and a value with a comma or a quote goes in double quotes. With an Idempotency-Key, a repeat of the whole batch gets the first answer back.

Needs the period_returns:write scope.

NameInTypeDescription
Idempotency-KeyHeaderstringAny unique string, like a UUID. A repeat of the same request with the same key gets the first answer back and adds nothing. Kept for 24 hours.
(body)requiredBodylist or CSVUp to 500 rows. Each row takes the fields of POST /period-returns.
What comes back (4)
FieldTypeDescription
totalintegerHow many rows you sent.
createdintegerHow many were saved.
failedintegerHow many were not.
resultsstringOne item for each row, in order: {row, status: "created", id} or {row, status: "error", errors: [{field, message}]}. row counts from 1, not counting the header line of a CSV file.
curl -X POST "https://www.riafront.com/api/v1/period-returns/bulk" \
  -H "Authorization: Bearer $RIAFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '[{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","period_end":"2026-11-10","period":"YTD","return":0.0712},{"account_id":"5a6b7c8d-9e0f-4a1b-8c2d-3e4f5a6b7c8d","period_end":"2026-11-10","period":"YTD","return":0.0712}]'

Response · 200

{
  "data": {
    "total": 2,
    "created": 1,
    "failed": 1,
    "results": [
      {
        "row": 1,
        "status": "created",
        "id": "3f2b1c9e-7a41-4d7e-9a55-1d2c3b4a5f60"
      },
      {
        "row": 2,
        "status": "error",
        "errors": [
          {
            "field": "account_id",
            "message": "Required."
          }
        ]
      }
    ]
  }
}