---
title: "Invite users"
method: POST
path: "/api/users"
tags: ["User"]
---

# Invite users

`POST /api/users`

Sends invitation emails to the specified email addresses to join the organisation.

## Request body

- object
  - `emails` string[], required — List of email addresses to invite (max 10)

## Response `200`

List of created invitations

- object[] — List of created invitations
  - `id` string, uuid, required — Unique identifier of the invitation
  - `email` string, email, required — Email address the invitation was sent to
  - `status` 'pending' | 'accepted', required — Current status of the invitation
  - `userId` string, uuid, required — ID of the user associated with this invitation
  - `createdAt` string, required — Timestamp when the invitation was created
  - `expiresAt` string, nullable — Timestamp when the invitation expires

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
