---
title: "Generate project invitation link"
method: POST
path: "/project-members/invitation-link"
tags: ["Project Members"]
---

# Generate project invitation link

`POST /project-members/invitation-link`

Creates (or reuses) an active invitation link for a project.

## Request body

- ProjectInvitationLinkGenerateRequest
  - `project_id` string, uuid, required
  - `access_level` 'MEMBER' | 'ADMIN'
  - `role_name` string
  - `is_admin` boolean
  - `job_title_id` string, uuid, nullable
  - `max_usage` integer, nullable

## Response `200`

Invitation link generated

- object
  - `done` boolean, required — Indicates if the operation was successful
  - `body` object, nullable, required — Response data (type varies by endpoint, null if no data)
    - `id` string, uuid
    - `token` string
    - `expires_at` string, date-time
    - `created_at` string, date-time
    - `invitation_url` string, uri
    - `project_name` string
    - `expires_in_days` integer
  - `title` string, nullable — Optional response title
  - `message` string, nullable — Optional message (error message or success notification)

---

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