---
title: "Set recommendation history types"
method: POST
path: "/api/v2/recommendationsNew/user-action"
tags: ["Recommendations"]
---

# Set recommendation history types

`POST /api/v2/recommendationsNew/user-action`

Set the user status according to the action in the request

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `action` string, required — Values: - done / undone - exclude / include - star / unstar - label
  - `recId` string, required — Recommendation Id to be updated with the relevant action

## Response `200`

---

[API](https://skmtc.net/umbrellacost/apis/admin.md) · [All operations](https://skmtc.net/umbrellacost/apis/admin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/umbrellacost/admin/revisions/b0a65610726b/schema)
