---
title: "Generate invite"
method: POST
path: "/v1/generate/invite"
---

# Generate invite

`POST /v1/generate/invite`

Generates an invite code (Ticket). This is a privileged control plane operation, which can be invoked only by workloads assigned with the "Orchestrator" role. Other workloads can use the generated invite in order to enroll and authenticate.

## Request body

- object
  - `ticket_factory_id` string, required — Ticket Factory ID that will be used to generate the invite Ticket

## Response `200`

Invite Ticket Generated

- object
  - `ticket_id` string, required — An invite Ticket for authenticating with MIM IdP

## Other responses

- `400` — Bad Request

---

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