# Choose who is reviewed

`POST https://api.fiscalisto.com/v1/review_cycles/{id}/participants`

As a draft: replaces the cycle's list of people. Whoever leaves loses their objetivos in the cycle.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | The object's id. |
| `Idempotency-Key` | header |  | Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge). |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `employees` | array of string | yes | Everyone who is reviewed (emp_…), as a draft. Replaces the list. (up to 5000) |

Example:

```json
{
  "employees": [
    "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV"
  ]
}
```

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

const reviewCycle = await fiscalisto.reviewCycles.setParticipants("rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL", {
  employees: ["emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV"],
}, { idempotencyKey: "pedido-A-1042" });
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

review_cycle = fiscalisto.review_cycles.set_participants("rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL", {
    "employees": ["emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV"],
}, idempotency_key="pedido-A-1042")
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

$reviewCycle = $fiscalisto->reviewCycles->setParticipants('rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL', [
    'employees' => ['emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV'],
], ['idempotency_key' => 'pedido-A-1042']);
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var reviewCycle = await fiscalisto.ReviewCycles.SetParticipantsAsync("rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL", new SetReviewParticipantsParams
{
    Employees = new() { "emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV" },
}, new RequestOptions { IdempotencyKey = "pedido-A-1042" });
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	reviewCycle, err := client.ReviewCycles.SetParticipants(ctx, "rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL", &fiscalisto.SetReviewParticipantsParams{
		Employees: []string{"emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV"},
	}, fiscalisto.WithIdempotencyKey("pedido-A-1042"))
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(reviewCycle.ID)
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;
import com.fiscalisto.RequestOptions;
import com.fiscalisto.model.SetReviewParticipantsParams;
import java.util.List;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var reviewCycle = fiscalisto.reviewCycles().setParticipants("rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL", new SetReviewParticipantsParams()
        .setEmployees(List.of("emp_OufpKqnrvx9p3RxmD1RIDgEHzKYPYnYBlV")), RequestOptions.idempotencyKey("pedido-A-1042"));
System.out.println(reviewCycle.getId());
```

## Response 200

OK.

A `ReviewCycle` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The cycle (rvc_…). |
| `object` | `"review_cycle"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer (iss_…). |
| `title` | string | yes | Its name, like «Evaluación 2026». |
| `status` | string | yes | draft, open or closed. |
| `period_start` | string or null | yes | From when it's reviewed. |
| `period_end` | string or null | yes | Until when. |
| `closes_on` | string or null | yes | The deadline to answer. |
| `people` | integer | yes | How many people are reviewed. (from -9007199254740991 to 9007199254740991) |
| `evaluations` | integer | yes | How many evaluations there are to do (zero as a draft). (from -9007199254740991 to 9007199254740991) |
| `evaluations_done` | integer | yes | How many were already sent. (from -9007199254740991 to 9007199254740991) |
| `created_at` | string (date-time) | yes | When it was created, ISO 8601 with Mexico City time (-06:00). |
| `branch` | string or null |  | The branch it was built from (brn_…). |
| `department` | string or null |  | The department it was built from. |
| `rules` | object |  | How it's scored (when retrieving a cycle). |
| `rules.scale` | object | yes | The scale. |
| `rules.scale.max` | integer | yes | Rated from 1 to max. (from -9007199254740991 to 9007199254740991) |
| `rules.scale.labels` | array of string | yes | The name of each point, from 1 to max; empty: just the numbers. |
| `rules.raters` | object | yes | Who reviews. |
| `rules.raters.self` | boolean | yes | Whether what the person themselves says counts. |
| `rules.raters.manager` | boolean | yes | Whether what their boss in the org chart says counts. |
| `rules.raters.peer` | boolean | yes | Whether what their peers say counts. |
| `rules.raters.report` | boolean | yes | Whether what their direct reports say counts. |
| `rules.rater_weights` | object | yes | How much each one weighs in the competencies; only those who review count. |
| `rules.rater_weights.self` | number | yes | The weight of what the person themselves says. |
| `rules.rater_weights.manager` | number | yes | The weight of what their boss in the org chart says. |
| `rules.rater_weights.peer` | number | yes | The weight of what their peers say. |
| `rules.rater_weights.report` | number | yes | The weight of what their direct reports say. |
| `rules.objectives_weight` | number | yes | How much objectives weigh in the result, 0 to 100. |
| `rules.anonymous_min` | integer | yes | Peers or direct reports with fewer answers don't count. (from -9007199254740991 to 9007199254740991) |
| `rules.box_cuts` | array of number | yes | The medium and high performance cuts of the 9-box grid. |
| `competencies` | array of object |  | What is scored for each person. |
| `competencies[].id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `competencies[].name` | string | yes | Name. |
| `competencies[].description` | string or null | yes | Description. |
| `peers_count` | integer |  | Random coworkers per person, for whoever has none chosen. (from -9007199254740991 to 9007199254740991) |
| `share_results` | boolean |  | Whether each person sees their result in their portal on closing. |
| `opened_at` | string (date-time) or null |  | When it was opened. |
| `closed_at` | string (date-time) or null |  | When it was closed. |
| `participants` | array of object |  | Each person being reviewed (when retrieving a cycle). |
| `participants[].employee` | string | yes | The employee (emp_…). |
| `participants[].name` | string | yes | Name. |
| `participants[].position` | string or null | yes | Position (Puesto). |
| `participants[].department` | string or null | yes | Department (Departamento). |
| `participants[].manager` | string or null | yes | Their boss in the org chart (emp_…), who rates them as boss. |
| `participants[].peers` | array of string | yes | The coworkers chosen to rate them (emp_…). |
| `participants[].raters` | array of object | yes | Who rates them, once the cycle opens. |
| `participants[].raters[].employee` | string | yes | The employee (emp_…). |
| `participants[].raters[].name` | string | yes | Name. |
| `participants[].raters[].relation` | string | yes | self (self-review), manager (their boss), peer (coworkers) or report (people under them). |
| `participants[].raters[].done` | boolean | yes | Whether they sent it (not what they answered). |
| `participants[].raters[].portal` | boolean | yes | Whether they have a portal; without one they can't answer. |
| `participants[].objectives` | array of object | yes | Their objectives. |
| `participants[].objectives[].id` | string | yes | The objetivo (rvo_…). |
| `participants[].objectives[].object` | `"review_objective"` | yes | What kind of object it is («invoice», «customer»…). |
| `participants[].objectives[].cycle` | string | yes | The cycle (rvc_…). |
| `participants[].objectives[].employee` | string | yes | Whose it is (emp_…). |
| `participants[].objectives[].title` | string | yes | What they have to achieve. |
| `participants[].objectives[].target` | number or null | yes | The target. |
| `participants[].objectives[].actual` | number or null | yes | The progress; the person logs it in their portal or you do here. |
| `participants[].objectives[].unit` | string or null | yes | The unit. |
| `participants[].objectives[].lower_better` | boolean | yes | The target is a maximum: less is better. |
| `participants[].objectives[].weight` | number | yes | How much it counts against their other objetivos. |
| `participants[].objectives[].note` | string or null | yes | A note about the objective. |
| `participants[].objectives[].achievement` | number or null | yes | % achieved: progress over target, or the other way with lower_better. null without both. |
| `participants[].objectives[].score` | number or null | yes | The score their boss gave it when reviewing them. |
| `participants[].competencies_score` | number or null | yes | Their competencies score. |
| `participants[].objectives_score` | number or null | yes | Their objectives score. |
| `participants[].final` | number or null | yes | The computed result: live while the cycle is open, stored on closing. |
| `participants[].calibrated` | number or null | yes | The calibrated score. |
| `participants[].calibration_note` | string or null | yes | Why it changed. |
| `participants[].potential` | integer or null | yes | 1 low, 2 medium, 3 high, for the 9-box matrix. |
| `participants[].result` | number or null | yes | The one that counts: calibrated, or else final. |

```json
{
  "id": "rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL",
  "object": "review_cycle",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "title": "Evaluación 2026",
  "status": "open",
  "period_start": "2026-01-01",
  "period_end": "2026-12-31",
  "closes_on": "2026-12-15",
  "people": 1,
  "evaluations": 2,
  "evaluations_done": 1,
  "created_at": "2026-11-20T09:00:00-06:00",
  "branch": null,
  "department": "Ventas",
  "rules": {
    "scale": {
      "max": 5,
      "labels": [
        "Muy por debajo",
        "Por debajo",
        "Cumple",
        "Supera",
        "Sobresaliente"
      ]
    },
    "raters": {
      "self": true,
      "manager": true,
      "peer": false,
      "report": false
    },
    "rater_weights": {
      "self": 10,
      "manager": 60,
      "peer": 15,
      "report": 15
    },
    "objectives_weight": 60,
    "anonymous_min": 2,
    "box_cuts": [
      3,
      4
    ]
  },
  "competencies": [
    {
      "id": "resultados",
      "name": "Orientación a resultados",
      "description": "Cumple lo que se compromete, a tiempo y con calidad."
    }
  ],
  "peers_count": 3,
  "share_results": true,
  "opened_at": "2026-11-21T09:00:00-06:00",
  "closed_at": null,
  "participants": [
    {
      "employee": "emp_OufpKqnrvx9p1aZ8hR4mKtWq2YbNcVxLpe",
      "name": "GÓMEZ RUIZ ANA",
      "position": "Ejecutiva de ventas",
      "department": "Ventas",
      "manager": "emp_OufpKqnrvx9p2bY7gQ3lJsVp1XaMbUwKod",
      "peers": [],
      "raters": [
        {
          "employee": "emp_OufpKqnrvx9p1aZ8hR4mKtWq2YbNcVxLpe",
          "name": "GÓMEZ RUIZ ANA",
          "relation": "self",
          "done": true,
          "portal": true
        },
        {
          "employee": "emp_OufpKqnrvx9p2bY7gQ3lJsVp1XaMbUwKod",
          "name": "LÓPEZ PÉREZ JUAN",
          "relation": "manager",
          "done": false,
          "portal": true
        }
      ],
      "objectives": [
        {
          "id": "rvo_OufpKqnrvx9p4NmBvCxZaSdFgHjKlQwE",
          "object": "review_objective",
          "cycle": "rvc_OufpKqnrvx9p6PoIuYtReWqAsDfGhJkL",
          "employee": "emp_OufpKqnrvx9p1aZ8hR4mKtWq2YbNcVxLpe",
          "title": "Vender 1,200,000 en el año",
          "target": 1200000,
          "actual": 1080000,
          "unit": "pesos",
          "lower_better": false,
          "weight": 2,
          "note": null,
          "achievement": 90,
          "score": 4
        }
      ],
      "competencies_score": 4,
      "objectives_score": null,
      "final": 4,
      "calibrated": null,
      "calibration_note": null,
      "potential": 2,
      "result": 4
    }
  ]
}
```

## Errors

- `feature_not_in_plan` (403): Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
- `issuer_archived` (400): The issuer is archived and no longer stamps. Its documents can still be read and canceled.
- `issuer_linked_empresa` (403): That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
- `issuer_missing` (404): There is no such issuer in the account (or it belongs to the other mode).
- `issuer_not_allowed` (403): This key can't use that issuer.
- `issuer_required` (400): The account has several issuers and the request doesn't say which: send `issuer` (iss_…).
- `livemode_mismatch` (400): The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
- `resource_missing` (404): There's no object with that id (or it belongs to another issuer or the other mode).

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
