> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Invite people to a project

> Invite one or more people (body: `{ "emails": [...] }`) to the project given in the required `project`
header. Each invitation is created with the `user` role and an invitation email is sent. Returns the
subset of submitted email addresses that were SKIPPED because they already belong to the project or its
organisation; an empty array means every address was invited. Fails with a plan error if the
organisation cannot seat that many additional teammates.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json post /invitations/projects
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /invitations/projects:
    post:
      tags:
        - Invitation
      summary: Invite people to a project
      description: >-
        Invite one or more people (body: `{ "emails": [...] }`) to the project
        given in the required `project`

        header. Each invitation is created with the `user` role and an
        invitation email is sent. Returns the

        subset of submitted email addresses that were SKIPPED because they
        already belong to the project or its

        organisation; an empty array means every address was invited. Fails with
        a plan error if the

        organisation cannot seat that many additional teammates.
      operationId: CreateProjectInvitation
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                emails:
                  items:
                    type: string
                  type: array
              required:
                - emails
              type: object
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                items: {}
                type: array
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````