v1
latestOpenAPI 3.1.02026-08-065163115.0 KBBudgets
Create a budget
Creates a budget with the given configuration, initial members, and owners. All top-level configuration fields are required — no silent defaults.
post/v1/businesses/{client_id}/budgets
Path parameters
client_idinteger required
Example:123
The ID of the business.
Request body
Example request
{
"name": "Sales Team",
"reset_amount": 1000,
"reset_period": "MONTHLY",
"members": [
{
"user": {
"id": 12345
},
"invite": {
"id": "f4c1e25a-2a78-4f4f-9d3e-1c3a96cf21b1"
},
"reset_amount": 250
}
],
"owners": [
{
"user": {
"id": 12345
},
"invite": {
"id": "f4c1e25a-2a78-4f4f-9d3e-1c3a96cf21b1"
}
}
],
"custom_fields": [
{
"id": "a2b1d8c0-9a4e-4b8a-bf24-90af44a98e2f"
}
]
}Response
Created
Example response
{
"id": "e33b7c61-5124-4ba0-b238-e4c573133715",
"name": "Sales Team",
"budget_type": "BUDGET",
"available_amount": 800,
"spent_amount": 200,
"reset_amount": 1000,
"reset_period": "MONTHLY",
"current_period_start": "2024-01-01T00:00:00Z",
"current_period_end": "2024-01-31T23:59:59Z",
"categories": [
{
"id": "7f183748-c7fb-428a-9b2a-603a03dcabdb",
"name": "Travel"
}
],
"custom_fields": [
{
"id": "44b2add5-eeb2-456c-8918-9bb362b0e896",
"name": "Department"
}
],
"created": "2024-01-01T00:00:00Z",
"updated": "2024-01-01T00:00:00Z"
}