---
title: "Bulk-invite users into supplier companies (admin only)"
method: POST
path: "/api/admin/users/bulk-invite"
tags: ["Administration/Users"]
---

# Bulk-invite users into supplier companies (admin only)

`POST /api/admin/users/bulk-invite`

Queues a background job that creates users (and emails them a login/ welcome link) inside supplier companies that are linked to the given parent company. Companies not linked to the parent are skipped. Returns a `requestId` to poll for status and the generated Excel report link.

## Request body

- object
  - `parentCompanyId` string, required
  - `role` string, required
  - `rows` object[], required
    - `companyId` string, required
    - `email` string, email, required
    - `firstName` string, required
    - `lastName` string, nullable

## Response `202`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `requestId` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 1 breaking, 1 warning, 1 info
  - request property `rows/items/lastName` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `rows/items/lastName` request property's maxLength was set to `255`
  - the request property `rows/items/lastName` became nullable

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/users/bulk-invite/post.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
