API Reference
API Reference

/review-cycles/:reviewCycleId/tasks/:id

Marks an employee's review preparation task as ready. Required scope: w_reviews.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

This endpoint uses the w_reviews scope, which must be enabled through the Integrations section found within the Settings menu.

Requires a user token, or an account token together with the member_id query parameter. An account token without member_id gets 403 Account tokens need a member_id for this operation. The caller must be one of the following:

  • the reviewee's manager, directly or higher up the reporting line
  • the manager assigned to the review aggregate
  • a member with permission to manage review cycles

A preparation task is one employee's review aggregate in a cycle. Marking it as ready flags the review form of every customizable review type (the types where the cycle allows manager customization) as ready. A review type with no customized form keeps the cycle's master template. Use the tasks endpoint to find the task id.

In an active cycle, you cannot mark a task as ready again once it is ready. In other cycle states, the call can be repeated.

Request body

{
  "mark_as_ready": true
}
keytypedescription
mark_as_readybooleanMust be true (required)

Results

Returns 200 with an empty object.

{}

Use GET /review-cycles/:reviewCycleId/employees/:employeeId or the tasks endpoint to read the updated status.

Error responses

StatusCondition
400Validation failed: mark_as_ready is missing or not true, or a path id is malformed. The body is keyed by field, e.g. {"mark_as_ready": {"code": "any.required", "message": "\"mark_as_ready\" is required"}}
400{"message": "Review aggregate is already marked as ready"}: the cycle is active and the task is already ready
401Missing or invalid token
403Missing w_reviews scope, account token without member_id, or the caller is not the reviewee's manager, the aggregate's manager or a review cycle manager
404{"message": "Review aggregate not found"}: the task does not exist, is deleted, or belongs to a different review cycle
Path Params
string
required

Review cycle id

string
required

Task (review aggregate) id, as returned in preparation_tasks[].id / active_tasks[].id of GET /review-cycles/:reviewCycleId/tasks

Query Params
string

Required when using an account token: the member (SPI key, from GET /members) to act as. The request is evaluated with that member's permissions; without it the request gets 403. Ignored for user tokens.

Body Params
boolean
enum
required

Must be true

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain