---
title: "Creating a Workspace Invitation"
method: POST
path: "/workspaces/{id}/invite"
tags: ["Workspaces"]
---

# Creating a Workspace Invitation

`POST /workspaces/{id}/invite`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/workspaces/{id}/invite`
- Auth: none declared

Sends an invitation to a project.

To add participants to a project, they must first be invited. Users that already exist in Kantata OX will
automatically accept the invitation and be added to the project. If your account allows anyone to be invited
to projects, users that don't already exist will have the option to create an account. Otherwise, the invited
user must be a member of your account.

This endpoint has its own rate limit. See the [Knowledge Base](https://knowledge.kantata.com/hc/en-us/articles/9698066628123) for more information.


This endpoint returns structured Workspace Invitation objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `workspace_invitations` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Path parameters

- `id` integer, required

## Request body

- object
  - `invitation` object
    - `full_name` string, required: The name of the user to invite to the project. If the user does not already exist in Kantata OX, this will become their name on your account.
    - `email_address` string, required: The email address to send the workspace invitation to.
    - `invitee_role` string, required: The team to add the invited user to. Options are `maven` (i.e. consultant) and `buyer` (i.e. client).
    - `subject` string: The subject of the invitation email. If not set, the default subject is used.
    - `message` string: The message to include within the body of the invitation email. If not set, the default message is used.

## Response `200`

Workspace Invitation has been created.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `workspace_invitations` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
