Placeholders
A placeholder is a named, unfilled slot on the Forecast board — “Senior Designer”, “Contractor TBD” — that a scheduled bar can point at instead of a real person. This page covers reading the account’s placeholder roster, reading one back, and creating, renaming, re-roling and archiving one.
The placeholder object
| Attribute | Type | Description |
|---|---|---|
id |
integer | Unique ID for the placeholder. |
name |
string | The placeholder’s name, up to 255 characters. It is unique on the account and compared case-insensitively, so Senior Designer and senior designer are the same name. |
archived |
boolean | Whether the placeholder is archived. Placeholders are archive-only: true is how one is removed, and there is no delete endpoint. |
weekly_capacity |
integer | The placeholder’s capacity in seconds per week, the same unit /v2/users uses, so 126000 is 35 hours. It must be a whole number of half hours between 0 and 216000 (60 hours), and it defaults to 126000. |
updated_at |
datetime | Date and time the placeholder was last updated. Use the ISO 8601 Format. |
updated_by_id |
integer | The person who last wrote the placeholder, which is the caller on every write made through this API. It is null only for a row with no recorded author, which the board, this API and a Forecast import always set. |
roles |
array | The roles assigned to the placeholder, each a placeholder role object, sorted by name ignoring case. An empty array when the placeholder has no roles. |
The placeholder role object
| Attribute | Type | Description |
|---|---|---|
id |
integer | Unique ID for the role — the same role ID GET /v2/roles serves. |
name |
string | The role’s name. |
Required permissions
All four actions take the same gate, reads included, because the roster they serve is company-wide and lists both active and archived rows. 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 placeholder management access is requiredwhen the caller can reach the board but holds no company-wide Forecast write claim. A caller whose edit scope is limited to the projects they manage is refused by this same message, and so is a read-only Forecast holder: a placeholder belongs to no project, so a narrower edit scope bounds nothing here, and managing one project must not let someone archive a placeholder whose bars hang on projects they do not manage.
The gates run before any lookup, so an unentitled caller is told what they lack rather than whether an id exists.
The shared Forecast gates, the beta contract and the pagination rules are on the Forecast API overview.
List placeholders
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Returns the account’s whole placeholder roster, active rows and archived ones together, ordered by name and then by id. There is no filter: an archived, name or any other narrowing parameter is ignored rather than honoured, so a client that wants the Active or the Archived tab of the board filters the page itself. The two v2 filters that cannot be honoured here are refused outright instead — see the parameter table below.
The response contains an object with a placeholders property that contains an array of up to per_page placeholder objects, plus two collection facts the rows are measured against: limit, the number of active placeholders the account’s plan allows, and used, the number of active placeholders it currently has. limit is null when the account’s billing pool has no placeholder allowance at all, which means nothing is capped. used counts active rows only, so archiving a placeholder frees one. The allowance is not enforced on this read — an account already past it keeps every placeholder it has and simply cannot add another.
The collection is paged by offset only. A page past the last one answers an empty array with the roster’s total_entries.
GET /v2/forecast/placeholders
| Parameter | Type | Description |
|---|---|---|
page |
integer | The page number to use in pagination. (Default: 1) |
per_page |
integer | The number of records to return per page. Can range between 1 and 2000. (Default: 2000) |
cursor |
string | Not supported: this collection is paged by offset only, so any cursor is refused with 422 rather than answered with page one. |
updated_since |
datetime | Not supported: this collection is not filtered by row write time, so the filter is refused with 422. |
Example Request:
curl "https://api.harvestapp.com/v2/forecast/placeholders" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp ([email protected])"
Example Response:
{
"placeholders": [
{
"id": 771204,
"name": "Contractor TBD",
"archived": true,
"weekly_capacity": 126000,
"updated_at": "2026-05-11T08:02:47Z",
"updated_by_id": 3188442,
"roles": []
},
{
"id": 771188,
"name": "Senior Designer",
"archived": false,
"weekly_capacity": 100800,
"updated_at": "2026-07-02T16:41:55Z",
"updated_by_id": 3188442,
"roles": [
{
"id": 108234,
"name": "Design"
},
{
"id": 108237,
"name": "Product"
}
]
}
],
"limit": 6,
"used": 1,
"per_page": 2000,
"total_pages": 1,
"total_entries": 2,
"next_page": null,
"previous_page": null,
"page": 1,
"links": {
"first": "https://api.harvestapp.com/v2/forecast/placeholders?page=1&per_page=2000",
"next": null,
"previous": null,
"last": "https://api.harvestapp.com/v2/forecast/placeholders?page=1&per_page=2000"
}
}Retrieve a placeholder
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Returns one placeholder and a 200 OK response code. It is the read a create’s Location header points at, and it serves the same field set the list serves, so a client can read one row back without paging the roster.
GET /v2/forecast/placeholders/{PLACEHOLDER_ID}
Example Request:
curl "https://api.harvestapp.com/v2/forecast/placeholders/771188" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp ([email protected])"
Example Response:
{
"id": 771188,
"name": "Senior Designer",
"archived": false,
"weekly_capacity": 100800,
"updated_at": "2026-07-02T16:41:55Z",
"updated_by_id": 3188442,
"roles": [
{
"id": 108234,
"name": "Design"
},
{
"id": 108237,
"name": "Product"
}
]
}Create a placeholder
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Creates a placeholder and returns it with a 201 Created response code and a Location header holding the URL of the new placeholder — the show read above. The body answered is the same field set show serves.
company_id and updated_by_id are server-set and ignored if sent: the account comes from the token and the author from the caller. A write records the caller in updated_by_id, and writes no Activity Log entry and sends no notification.
A create does not fail on a name an archived placeholder still holds. The name’s uniqueness is enforced across archived rows too, so creating such a name revives that row instead of answering a duplicate: the same id comes back with archived cleared, its bars stay attached to it, and its existing roles are kept when the request omits role_ids. A name held by an active placeholder is refused with 422 and nothing is created.
weekly_capacity defaults to 126000 when the request omits it, and it accepts a JSON integer or a string of digits, so a form-encoded client can send "108000". archived may be sent, and a create that arrives already archived consumes no allowance.
POST /v2/forecast/placeholders
| Parameter | Type | Description |
|---|---|---|
name |
string | Required. The placeholder’s name, up to 255 characters. |
weekly_capacity |
integer | The placeholder’s capacity in seconds per week, a whole number of half hours between 0 and 216000. Defaults to 126000. |
archived |
boolean | Whether the placeholder is created archived. Defaults to false. |
role_ids |
array of integers | The roles to assign, each an id GET /v2/roles serves on this account. Any other id is refused and nothing is created. |
Every parameter may be sent in the request body or in the query string, so a bodyless, query-only create is accepted. When both carry role_ids, the body’s value is the one applied.
Example Request:
curl -X POST "https://api.harvestapp.com/v2/forecast/placeholders" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-d '{"name": "Backend Engineer", "weekly_capacity": 108000, "role_ids": [108241]}'
Example Response:
{
"id": 771211,
"name": "Backend Engineer",
"archived": false,
"weekly_capacity": 108000,
"updated_at": "2026-07-09T10:23:31Z",
"updated_by_id": 3188442,
"roles": [
{
"id": 108241,
"name": "Engineering"
}
]
}Update a placeholder
Beta endpoint. Fully available, but the response shape may still change. Until it is frozen, every response includes
Harvest-Api-Stability: beta.
Renames a placeholder, changes its weekly capacity, replaces or clears its roles, archives it, or does several of those at once. Returns the placeholder with a 200 OK response code and the same body show serves. The body is partial: an attribute it omits keeps its stored value, and a body that repeats the stored values is a no-op that answers the same row.
Archiving and restoring are this endpoint: {"archived": true} is the removal, and {"archived": false} brings the row back, which is checked against the plan’s allowance the way a create is.
role_ids is three-valued: omitted keeps the existing set, [] clears it, and a list replaces it. Each id must be a role this account has.
archived accepts true and false, the integers 1 and 0, and the strings "true", "false", "1" and "0", so a form-encoded client can spell it either way. Nothing else is coerced: a float such as 0.0 and an explicit null are refused rather than archived.
Renaming onto a name an active placeholder already holds is refused with 422 and nothing changes. Renaming onto a name an archived placeholder still holds succeeds: the archived row’s name is displaced to <name> (archived <id>) rather than being revived, so this placeholder keeps the name it was given.
The parameters are checked before the id is looked up, so a malformed value answers 415 or 422 even when the id names no placeholder. The lookup itself runs before the import freeze, so an id that resolves to nothing answers 404 rather than 409.
PATCH /v2/forecast/placeholders/{PLACEHOLDER_ID}
| Parameter | Type | Description |
|---|---|---|
name |
string | The placeholder’s name, up to 255 characters. |
weekly_capacity |
integer | The placeholder’s capacity in seconds per week, a whole number of half hours between 0 and 216000. |
archived |
boolean | true archives the placeholder, false restores it. |
role_ids |
array of integers | The roles to assign, replacing the current set. An empty array clears it, and omitting the key keeps it. |
Every parameter may be sent in the request body or in the query string, so a bodyless, query-only update is accepted. When both carry role_ids, the body’s value is the one applied.
Example Request:
curl -X PATCH "https://api.harvestapp.com/v2/forecast/placeholders/771188" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-H "User-Agent: MyApp ([email protected])" \
-d '{"name": "Senior Product Designer", "archived": true}'
Example Response:
{
"id": 771188,
"name": "Senior Product Designer",
"archived": true,
"weekly_capacity": 100800,
"updated_at": "2026-07-14T09:07:12Z",
"updated_by_id": 3188442,
"roles": [
{
"id": 108234,
"name": "Design"
},
{
"id": 108237,
"name": "Product"
}
]
}Errors
| Status | When |
|---|---|
400 |
A page or per_page value is not an integer or is outside its range (Invalid page parameter: must be an integer, Invalid page parameter: must be greater than 0, Invalid page parameter: must be from 1 to 2305843009213693, Invalid per_page parameter: must be an integer, Invalid per_page parameter: must be from 1 to 2000), or updated_since is not an ISO 8601 datetime (Invalid updated_since datetime provided: "<value>"). |
401 |
Authentication failed: Authentication failed for API request. |
403 |
The account does not have the Forecast board (Forecast is not enabled for this account); the caller has no Forecast seat or no claim giving them a board scope (Forecast is not enabled for this user); or the caller has no company-wide Forecast write claim, which the reads require too (Forecast placeholder management access is required). |
404 |
On show and update, the id names no placeholder on this account: an unknown id, a malformed id such as 771188abc, or another company’s placeholder. Every case answers Record not found. |
409 |
The account’s Forecast schedule is being imported, so no write is accepted: This account’s Forecast schedule is being imported, so this change wasn’t saved. Try again once the import finishes. with error_code: "migration_in_progress". Reads stay available. Or the placeholder is locked by a concurrent edit: That placeholder is being changed by someone else. Try again. with error_code: "locked". |
415 |
A write body was sent as XML or multipart, which this endpoint cannot inspect before deciding whether a role list was absent or empty: Content-Type header must be application/json or application/x-www-form-urlencoded for placeholder writes. A body in a media type v2 does not accept at all answers Content-Type header required to be application/json, got "<value>" instead. |
422 |
role_ids is not an array of ids — an object, a bare role_ids[] form or query field, or an element that is not an id — with error_code: "invalid_placeholder_roles" and role_ids must be an array of role ids; or a role_ids element names no role this account has, with error_code: "invalid_placeholder_roles" and Can't assign role 108241 — not found or not accessible (roles and a comma-separated list when several are refused). weekly_capacity is not a non-negative whole number, or is an explicit null, with error_code: "invalid_weekly_capacity" and Invalid weekly_capacity parameter: must be an integer number of seconds; or it is a whole number that is not a half-hour step between 0 and 216000, with error_code: "invalid_placeholder" and Weekly capacity must have a value between 0 and 60 hours in half hour increments. archived is not a boolean — including a float such as 0.0 and an explicit null — with error_code: "invalid_archived" and Invalid archived parameter: must be a boolean. The name is blank (Name can't be blank), longer than 255 characters (Name is too long (maximum is 255 characters)), or already held by an active placeholder (Name has already been taken), each with error_code: "invalid_placeholder". Or the plan’s allowance is used up, with error_code: "placeholder_limit_reached" and All 6 placeholders on this plan are in use. Every refusal above leaves the row unchanged and creates nothing. On the collection read: a cursor (Invalid cursor parameter: this endpoint does not support cursor pagination) or an updated_since (The updated_since parameter is not supported on this endpoint). |