Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.

X-Fluide-Api-Key
string
header
default:fl_dev_your_key
required

Developer API key (fl_dev_...). Required on every API call with a machine access token.

X-Fluide-Client-Id
string
header
default:fluide-developer
required

First-party client audience. Must match the fluide_client_id claim on the JWT. Use fluide-developer for Connect.

Headers

X-Workspace-Id
string<uuid>

Partner / ISV only: UUID of the workspace that owns the client company. Required together with X-Acting-Company-Id when scoping product APIs to a merchant. See /getting-started/multi-tenancy.

X-Acting-Company-Id
string<uuid>

Partner / ISV only: UUID of the client company to act on. Must belong to the workspace in X-Workspace-Id.

Body

application/json
accountCode
string
required

Account code (e.g., 1000, 2100)

Maximum string length: 20
Example:

"1000"

accountName
string
required

Account name

Maximum string length: 255
Example:

"Cash and Cash Equivalents"

accountType
enum<string>
required

Account type

Available options:
ASSET,
LIABILITY,
EQUITY,
REVENUE,
EXPENSE
Example:

"ASSET"

companyId
string<uuid>

Subsidiary (company) scope; omit only when intentionally creating an org-wide account row.

parentAccountId
string

Parent account ID for sub-accounts

defaultCurrency
string

Default currency (ISO 4217) for UI display only. Accounts are multi-currency; postings record currency on journal lines.

Maximum string length: 3
Example:

"USD"

isMultiCurrency
boolean

Whether this account supports multiple currencies (default true).

Example:

true

description
string

Account description

Response

Create a new account in the chart of accounts — created

success
boolean
required

Whether the request succeeded

Example:

true

message
string
required

Human-readable outcome message (localized when i18n is configured)

Example:

"Operation completed successfully"

data
object

Endpoint-specific payload