Create budget

POST/api/v1/budgets

Create a new budget for the business.

Operation ID: create_budget_api_v1_budgets_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

namestringrequired

Budget name (e.g., '2026 Annual Budget').

fiscal_yearintegerrequired

Fiscal year for the budget.

start_datestring · daterequired

Budget period start date.

end_datestring · daterequired

Budget period end date.

period_typeBudgetPeriodTypeEnumBudgetPeriodTypeEnum

Period granularity: monthly, quarterly, or annual.

descriptionstring

Budget description.

notesstring

Additional notes.

source_scenario_idstring

CFO projection scenario that generated this budget.

Responses

201Successful Response

successboolean
messagestring
codestring
dataBudgetResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject