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

# Create Invitation

> Invite someone by email. Sends an invitation email.



## OpenAPI

````yaml /openapi.json post /v1/orgs/{orgId}/invitations
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/invitations:
    post:
      tags:
        - orgs
      summary: Create Invitation
      description: Invite someone by email. Sends an invitation email.
      operationId: orgs.createInvitation
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                role:
                  type: string
                  enum:
                    - admin
                    - member
              required:
                - email
                - role
      responses:
        '201':
          description: Invitation created and emailed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  email:
                    type: string
                  role:
                    type: string
                    enum:
                      - owner
                      - admin
                      - member
                  status:
                    type: string
                  expiresAt:
                    type: string
                    format: date-time
                required:
                  - id
                  - email
                  - role
                  - status
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````