---
title: "Add 1 or more hirer labels to a worker."
method: POST
path: "/public/worker-profiles/hirer/add-hirer-labels-to-user-v1"
tags: ["Worker profiles, for hirers"]
deprecated: true
---

# Add 1 or more hirer labels to a worker.

`POST /public/worker-profiles/hirer/add-hirer-labels-to-user-v1`

## Request

- Base URL: `https://api.maqqie.app`
- URL: `https://api.maqqie.app/public/worker-profiles/hirer/add-hirer-labels-to-user-v1`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://maqqie.app/auth/realms/maqqie/protocol/openid-connect/token`

> **Deprecated.**

Add 1 or more of the labels that the hirer has defined for workers, to a worker, using the user ID instead of the worker ID. The user must be a worker.

The labels do not have to exist already. If the label is unknown, it will be created.

If a label has already been added to a worker, this will not result in an error.

**This is a legacy endpoint.** [add-hirer-labels-to-worker-v1](#/Worker%20profiles%2C%20for%20hirers/AddHirerLabelsToWorkerV1) should be used instead. Only use this if your system does not know the worker ID.

## Request body

- AddHirerLabelsToUserRequestV1
  - `userId` integer, required: The user ID of the worker to which to add the hirer labels.
  - `hirerLabels` string[], required: The new or existing hirer labels that must be added to the worker. The labels may not be blank: they may not be empty strings, nor consist only of whitespace characters.

## Response `204`

The operation completed successfully.

## Other responses

- `400`: The request could not be processed. This could be due to a number of reasons: * The request does not have all required data. * Data in the request is invalid. * Data in the request is inconsistent. * The operation is not allowed given the current state of the data.
- `401`: The request did not contain credentials identifying the caller, or the provided credentials were invalid.
- `403`: The data that the request referred to is inaccessible to the caller.

---

[API](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api.md) - [All operations](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maqqie/apis/maqqie-platform-public-api/revisions/5cb82e369b70?raw)
