---
title: "Invite user to group"
method: POST
path: "/invitations/groups/{groupId}/invite"
tags: ["invitations"]
---

# Invite user to group

`POST /invitations/groups/{groupId}/invite`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/invitations/groups/{groupId}/invite`
- Auth: HTTP bearer

Send an email invitation to join a specific group. Any active member may invite; each person can send up to 30 email invitations per hour (429 INVITE_RATE_LIMITED beyond that).

## Path parameters

- `groupId` string, required

## Request body

- InviteToGroupRequestDto
  - `email` string, required: Email address to invite to the group

## Response `200`

Invitation sent successfully

- object
  - `data` InvitationResponseDto
    - `id` string, required
    - `groupId` string, required
    - `invitedEmail` string, required: Invited email address
    - `invitedBy` string, required: User ID who sent the invitation
    - `token` string, required: Invitation token
    - `expiresAt` string, required: ISO8601 expiration timestamp
    - `usedAt` string: ISO8601 when the invitation was used
    - `maxUses` number: Maximum uses allowed for this invitation
    - `currentUses` number, required: Current number of uses
    - `createdAt` string, required: ISO8601 creation timestamp
    - `groupName` string, required: Group name for convenience
    - `inviterName` string, required: Inviter display name
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/spliteo/apis/spliteo-api.md) · [All operations](https://skmtc.dev/spliteo/apis/spliteo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spliteo/apis/spliteo-api/revisions/bd9b84f4e407?raw)
