Forecast Settings
This page covers the four switches on Forecast’s Configure tab: the two that belong to the account — whether project financial estimates show for everyone, and whether the account sends the weekly planning digest — and the two that belong to the caller alone — whether financials show on their own timeline, and whether the digest is delivered to them. All four are read in one call and written one at a time.
A switch is state, not an action: none of the four writes sends an email, a notification or a background job. Turning the digest on records that the account wants it, and the digest’s own schedule does the sending.
The settings object
| Attribute | Type | Description |
|---|---|---|
financial_estimates |
object | The account’s “Project financial estimates” switch, a switch object whose state field is enabled. |
financial_estimates.enabled |
boolean | Whether the account shows forecast revenue and costs on each project, and planned expenses, to everyone on the board. Each person still sees only the figures their permissions allow. It is false whenever the account does not have the Forecast financials module, whatever the stored switch says. |
financial_estimates.can_edit |
boolean | Whether this caller may change the switch: true only for a caller with company-wide Forecast write access, on an account that has the financials module. |
weekly_digest |
object | The account’s opt-in to the weekly planning-utilization email, a switch object whose state field is enabled. |
weekly_digest.enabled |
boolean | Whether the account sends the digest: a weekly email ahead of each new week with the next four weeks of planned work — how booked the team is, who is over capacity, which projects are starting and any company-wide time off. It is false for an account that has never turned it on. The digest is not part of the financials module, so this value does not depend on it. |
weekly_digest.can_edit |
boolean | Whether this caller may change the switch: true only for a caller with company-wide Forecast write access. |
financials_preference |
object | The caller’s own “Show on my timeline” preference, a switch object whose state field is shown. |
financials_preference.shown |
boolean | Whether forecast figures show on this caller’s own timeline. Hiding them changes what that person’s board draws and never the data or a teammate’s view. It is false when the caller hid them, and also false whenever the account does not have the financials module. |
financials_preference.can_edit |
boolean | Whether this caller may change it: true for any caller who can see the board, on an account that has the financials module. Changing one’s own view does not need edit access, so a read-only planner can toggle it. |
weekly_digest_subscription |
object | Whether the digest is delivered to this caller, a switch object whose state field is subscribed. |
weekly_digest_subscription.subscribed |
boolean | Whether this caller receives their own copy of the digest. It is false when they opted out, including through the unsubscribe link in the email. The value is stored whether or not the account switch above it is on. |
weekly_digest_subscription.can_edit |
boolean | Whether this caller may change it: true only for a caller with company-wide Forecast write access — the same tier that configures the digest, even though the row it writes is the caller’s own. |
All four keys are always present. The two financials values read false on an account without the Forecast financials module, and can_edit is how a client tells that the module is off rather than the switch.
The switch object
Each of the four is the same two-field object: one boolean named after the switch — enabled for the two account switches, shown for the caller’s financials view, subscribed for the caller’s digest delivery — and can_edit.
| Attribute | Type | Description |
|---|---|---|
enabled, shown, subscribed |
boolean | The switch’s state: the account’s, or the caller’s own, as the switch’s owner decides it. |
can_edit |
boolean | Whether the caller may change this switch. A false is not an error and does not hide the value: it is the switch’s real state, published so that a client can render the toggle disabled instead of firing a write the API would refuse. |
Which switches belong to whom
| Switch | Belongs to | Stored as | Default | Who may change it |
|---|---|---|---|---|
financial_estimates |
the account | one row per company | on | company-wide Forecast write access |
weekly_digest |
the account | one row per company | off | company-wide Forecast write access |
financials_preference |
the caller | one row per person; present means hidden | shown | any board visibility |
weekly_digest_subscription |
the caller | one row per person; present means opted out | subscribed | company-wide Forecast write access |
The two per-caller switches are keyed on the authenticated caller — the account named by Harvest-Account-Id and the person the access token belongs to. No user id is accepted in the path or in the body: a user_id sent in a body is ignored, and the write always lands on the caller’s own row, so a client cannot opt another person in or out.
The two per-caller switches keep their own row whether or not the account switch above them is on. A caller can subscribe to a digest the account has not turned on, and can hide financials while the account’s estimates switch is off; the account switch decides whether anything is sent or shown, and the caller’s row is only their preference.
Required permissions
A caller is answered by the first gate that fails:
403withForecast is not enabled for this accountwhen the account does not have the Forecast board.403withForecast is not enabled for this userwhen the caller holds no Forecast seat, or holds one without a Forecast claim that gives them a board scope.403withForecast financials are not enabled for this accounton the two financials switches, writes only, when the account does not have the Forecast financials module. This is asked before the write tier, so a caller who also lacks edit access is told about the module.403withChanging this Forecast setting requires edit access to the whole planonfinancial_estimates,weekly_digestandweekly_digest_subscriptionwhen the caller can reach the board but does not hold company-wide Forecast write access. An edit scope limited to the projects the caller manages, or to their own schedule, is refused by this same message: these switches are account state or a company-wide tier, so a narrower scope bounds nothing here.financials_preferencetakes board visibility alone. A read-only planner may toggle their own financials view, and is refused on the other three.
The read requires no edit access at all: it answers can_edit per switch instead of refusing.
The shared Forecast gates, the beta contract and the error envelope are on the Forecast API overview.
Retrieve the settings
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Returns all four switches in one object and a 200 OK response code, in the shape each write answers with. It sets no Location header: a switch has no addressable row, so this read is what a client calls after a write to re-read the state it wrote. The values are the account’s and the caller’s real state, not what the caller is allowed to change — a caller who may change none of them still reads all four.
GET /v2/forecast/settings
This endpoint takes no parameters. The v2-wide pagination and filter parameters are accepted and then ignored, because there is one settings object and no collection to page or narrow: a well-formed page, per_page, cursor or updated_since changes nothing and is not refused. A malformed one is still refused as it is everywhere in v2 — see the errors below.
Example Request:
curl "https://api.harvestapp.com/v2/forecast/settings" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp ([email protected])"
Example Response:
{
"financial_estimates": {
"enabled": true,
"can_edit": true
},
"weekly_digest": {
"enabled": true,
"can_edit": true
},
"financials_preference": {
"shown": true,
"can_edit": true
},
"weekly_digest_subscription": {
"subscribed": false,
"can_edit": true
}
}The caller above has opted out of the digest while the account sends it, which is the combination the two digest switches exist to express.
Update the financial estimates switch
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Writes the account’s “Project financial estimates” switch and returns a 200 OK response code with that one switch, not the whole settings object. It sets no Location header. Turning it off makes the figures stop being shown to everyone on the board, and makes the project financials report and the planned-expense endpoints answer 403 with Project financial estimates are turned off for this account. Nothing is sent to anyone: no email, notification or job.
PATCH /v2/forecast/settings/financial_estimates
| Parameter | Type | Description |
|---|---|---|
enabled |
boolean | Required. Whether the account shows project financial estimates. Accepts true, false, "true", "false", "1", "0", 1, or 0. |
Example Request:
curl "https://api.harvestapp.com/v2/forecast/settings/financial_estimates" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-X PATCH \
-d '{"enabled": false}'
Example Response:
{
"financial_estimates": {
"enabled": false,
"can_edit": true
}
}Update the weekly digest switch
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Writes the account’s opt-in to the weekly planning digest and returns a 200 OK response code with that one switch. It sets no Location header. The switch records the account’s intent; the digest’s own schedule decides when the email goes out, so this write sends nothing itself. Turning it off stops the digest for the whole account without changing anyone’s own subscription.
PATCH /v2/forecast/settings/weekly_digest
| Parameter | Type | Description |
|---|---|---|
enabled |
boolean | Required. Whether the account sends the weekly digest. Accepts true, false, "true", "false", "1", "0", 1, or 0. |
Example Request:
curl "https://api.harvestapp.com/v2/forecast/settings/weekly_digest" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-X PATCH \
-d '{"enabled": true}'
Example Response:
{
"weekly_digest": {
"enabled": true,
"can_edit": true
}
}Update the caller’s financials preference
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Writes whether financials show on the authenticated caller’s own timeline and returns a 200 OK response code with that one switch. It sets no Location header. The write always addresses the caller: no user id is taken from the path or the body, so a user_id in the body is ignored. It changes what that person’s board draws and nothing else — the data, the account switch and every teammate’s view are untouched.
PATCH /v2/forecast/settings/financials_preference
| Parameter | Type | Description |
|---|---|---|
shown |
boolean | Required. Whether financials show on the caller’s timeline. Accepts true, false, "true", "false", "1", "0", 1, or 0. |
Example Request:
curl "https://api.harvestapp.com/v2/forecast/settings/financials_preference" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-X PATCH \
-d '{"shown": false}'
Example Response:
{
"financials_preference": {
"shown": false,
"can_edit": true
}
}Update the caller’s weekly digest subscription
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Writes whether the authenticated caller receives their own copy of the weekly digest and returns a 200 OK response code with that one switch. It sets no Location header. The write always addresses the caller, so a user_id in the body is ignored and nobody can opt another person in or out. It writes the same opt-out row that the unsubscribe link in the email creates: subscribed: true removes the row, subscribed: false creates it, and a repeat write in either direction changes nothing further. The value is stored whether or not the account switch is on, and turning it on does not turn the account’s digest on.
PATCH /v2/forecast/settings/weekly_digest_subscription
| Parameter | Type | Description |
|---|---|---|
subscribed |
boolean | Required. Whether the caller receives the digest. Accepts true, false, "true", "false", "1", "0", 1, or 0. |
Example Request:
curl "https://api.harvestapp.com/v2/forecast/settings/weekly_digest_subscription" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-X PATCH \
-d '{"subscribed": true}'
Example Response:
{
"weekly_digest_subscription": {
"subscribed": true,
"can_edit": true
}
}Errors
| Status | When |
|---|---|
400 |
The User-Agent header is missing: User-Agent header required. |
400 |
page is not an integer, or is zero or negative: Invalid page parameter: must be an integer, or Invalid page parameter: must be greater than 0. A well-formed value is accepted and then ignored. |
400 |
per_page is not an integer, or is outside 1–2000: Invalid per_page parameter: must be an integer, or Invalid per_page parameter: must be from 1 to 2000. A value inside that range is accepted and then ignored. |
400 |
updated_since is not a datetime: Invalid updated_since datetime provided: "nope". A well-formed value is accepted and then ignored. |
401 |
Authentication failed: Authentication failed for API request. |
403 |
The account is inactive: Account inactive. |
403 |
The account does not have Forecast: Forecast is not enabled for this account. |
403 |
The caller holds no Forecast seat, or holds one without a claim that gives them a board scope: Forecast is not enabled for this user. |
403 |
The account does not have the Forecast financials module, on financial_estimates or financials_preference: Forecast financials are not enabled for this account. |
403 |
The caller does not hold company-wide Forecast write access, on financial_estimates, weekly_digest or weekly_digest_subscription: Changing this Forecast setting requires edit access to the whole plan. |
406 |
The Accept header disallows JSON. |
409 |
A Forecast import is running for the account, so the write is frozen. The body carries error_code migration_in_progress and the message Your Forecast schedule is being imported, so this change wasn’t saved. Try again once the import finishes. The read is never frozen. |
409 |
Two writes to the same switch collided and the row write timed out. The body carries error_code locked and the message This setting is being changed by someone else. Try again. Retry the request; the switch may or may not have been written. |
415 |
A request body was sent with a media type that is neither application/json, application/xml nor form data: Content-Type header required to be application/json, got "text/plain". When no media type was declared, the message ends with got nil. |
422 |
The switch’s value is missing, or is outside the accepted boolean spellings: enabled must be a boolean, shown must be a boolean, or subscribed must be a boolean, naming the parameter the endpoint takes. The body carries error_code invalid_boolean_param. The message names the field, not the value, and the switch is left unwritten. |
422 |
cursor is empty, is not base64-encoded JSON, or is not a valid cursor: Invalid cursor parameter: must not be empty, Invalid cursor parameter: must be a valid base64 encoded JSON string, or Invalid cursor parameter. A well-formed cursor is accepted and then ignored. |
500 |
An unexpected failure. |