API: account
General conventions in How the API works.
The key belongs to one account. The resource is singular and takes no id: there is no account list and no way to request another one. Read only.
Read the account
GET /api/v1/account
- Permission:
accounts:read. - Path params: none.
- Query params: none (an unknown parameter →
422).
Example
curl https://back.inssacs.com/api/v1/account \
-H 'x-api-key: ics_a1b2c3d4_e5f6...'
Response 200
{
"id": "00000000-0000-7000-8000-0000000000a1",
"taxId": "2589746130",
"companyName": "SHOW ROOM Vending",
"country": "Colombia",
"currency": "COP",
"minorUnitDecimals": 2,
"userTagKeys": ["departamento", "centrocosto", "cargo", "genero"],
"isActive": true,
"createdAt": "2026-09-28T14:44:53.060Z",
"updatedAt": "2026-09-28T14:44:53.060Z"
}
| Field | Type | Description |
|---|---|---|
id | uuid | Account id. |
taxId | string | Tax id (NIT). |
companyName | string | Legal name. |
country | string | Country name (not an ISO code), e.g. Colombia. |
currency | string ISO 4217 | Currency of all the account's money: prices, balances, deliveries. Never changes. |
minorUnitDecimals | integer | Decimals of the currency (COP = 2). The value of an amount is amount / 10^minorUnitDecimals. |
userTagKeys | string[] | Tag keys enabled for users (max 4). They are the only keys accepted by user tags. Managed in the app. |
isActive | boolean | Account is active. |
createdAt / updatedAt | ISO 8601 UTC |
Errors
| HTTP | code | When |
|---|---|---|
| 401 | http.unauthorized | The key is missing, invalid, revoked or expired. |
| 403 | http.forbidden | The key lacks accounts:read. |
| 404 | accounts.not_found | The key's account was deleted. |
| 422 | validation.failed | A query param was sent. |
| 429 | http.too_many_requests | The key's rate limit was exceeded. |