curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/accounts' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"accounts": [
{
"account_number": "string",
"account_sub_type": null,
"account_type": "string",
"created_at": "string",
"currency": "string",
"current_balance": "string",
"description": null,
"id": "string",
"is_header": true,
"is_posting": true,
"name": "string",
"normal_balance": "string",
"parent_account_id": null,
"status": "string"
}
],
"total": 1
}
List accounts
List accounts
GET
/
api
/
v1
/
gl
/
accounts
curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/accounts' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"accounts": [
{
"account_number": "string",
"account_sub_type": null,
"account_type": "string",
"created_at": "string",
"currency": "string",
"current_balance": "string",
"description": null,
"id": "string",
"is_header": true,
"is_posting": true,
"name": "string",
"normal_balance": "string",
"parent_account_id": null,
"status": "string"
}
],
"total": 1
}
Query parameters
string
One of
asset, liability, equity, revenue, expense.string
One of
active, inactive, archived.string
integer (int32)
integer (int32)
Responses
GlAccountListResponse
curl --request GET \
--url 'https://api.stateset.com/api/v1/gl/accounts' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"accounts": [
{
"account_number": "string",
"account_sub_type": null,
"account_type": "string",
"created_at": "string",
"currency": "string",
"current_balance": "string",
"description": null,
"id": "string",
"is_header": true,
"is_posting": true,
"name": "string",
"normal_balance": "string",
"parent_account_id": null,
"status": "string"
}
],
"total": 1
}
โI