---
title: "Changes to Create a team invitation"
method: POST
path: "/teams/{key}/invites"
---

# Changes to Create a team invitation

`POST /teams/{key}/invites`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 1064 revisions.

- **2026-11-09** `38649d1c1ac7`: 4 breaking, 5 info
- **2026-11-09** `24b4e38e7054`: 4 breaking, 7 info
- **2026-08-02** `84f157e4443a`: 1 info

## Changes

- **2026-11-09** `38649d1c1ac7`: 4 breaking, 5 info
  - the `access/promoterIds/anyOf[subschema #1]/` request property's minItems was increased to `1`
  - the `roleIds` request property's minItems was increased to `1`
  - added the pattern `^pmt_[0-9a-z]{26}$` to the request property `access/promoterIds/anyOf[subschema #1]/items/`
  - the `email` request property format changed from no format to `email`
  - the `invite/access/promoterIds/anyOf[subschema #1]/items/` response's property pattern `^pmt_[0-9a-z]{26}$` was added for the status `200`
  - the `invite/id` response's property pattern `^inv_[0-9a-z]{26}$` was added for the status `200`
  - the `invite/invitedBy` response's property pattern `^usr_[0-9a-z]{26}$` was added for the status `200`
  - the `invite/permissions/items/` response's property pattern `^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$` was added for the status `200`
  - the `invite/teamId` response's property pattern `^tem_[0-9a-z]{26}$` was added for the status `200`
- **2026-11-09** `24b4e38e7054`: 4 breaking, 7 info
  - the `invite/createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `invite/email` response's property format changed from `email` to no format for status `200`
  - the `invite/expiresAt` response's property type changed from `integer` to `number` for status `200`
  - the `invite/updatedAt` response's property format changed from `date-time` to no format for status `200`
  - removed the pattern `^pmt_[0-9a-z]{26}$` from the request property `access/promoterIds/anyOf[subschema #1]/items/`
  - the `email` request property format was generalized from `email` to no format
  - the `invite/access/promoterIds/anyOf[subschema #1]/items/` response's property pattern `^pmt_[0-9a-z]{26}$` was removed for the status `200`
  - the `invite/id` response's property pattern `^inv_[0-9a-z]{26}$` was removed for the status `200`
  - the `invite/invitedBy` response's property pattern `^usr_[0-9a-z]{26}$` was removed for the status `200`
  - the `invite/permissions/items/` response's property pattern `^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$` was removed for the status `200`
  - the `invite/teamId` response's property pattern `^tem_[0-9a-z]{26}$` was removed for the status `200`
- **2026-08-02** `84f157e4443a`: 1 info
  - added the non-success response with the status `412`

---

[Operation](https://skmtc.dev/session/apis/session-services-api/docs/teams/:key/invites/post.md) - [API](https://skmtc.dev/session/apis/session-services-api.md) - [Page](https://skmtc.dev/session/apis/session-services-api/changes/teams/:key/invites/post)
