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

# Invite guests to an Event

> Emails an invitation to each address, to each of the given `contactIds`, to every contact with one of the given `contactTagIds`, and to everyone confirmed on one of the given `pastEventUuids`. Addresses that are already invited or registered are skipped, and the response reports what happened to every address. The Event must be published, not cancelled and not started yet, and the authenticated user must have a verified email. An Event holds at most 200 active invitations. The authenticated user must be the Event's owner, one of its hosts, an accepted co-host, or a member of the owning team. PBAC permission for team events: `calEvent.update`. If accessed using an OAuth access token, the `EVENT_WRITE` scope is required, with `EVENT_READ` too when `pastEventUuids` is sent and `CONTACT_READ` too when `contactIds` or `contactTagIds` is sent.



## OpenAPI

````yaml /api-reference/v2/openapi.json post /v2/events/{uuid}/invitations
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/events/{uuid}/invitations:
    post:
      tags:
        - Events
      summary: Invite guests to an Event
      description: >-
        Emails an invitation to each address, to each of the given `contactIds`,
        to every contact with one of the given `contactTagIds`, and to everyone
        confirmed on one of the given `pastEventUuids`. Addresses that are
        already invited or registered are skipped, and the response reports what
        happened to every address. The Event must be published, not cancelled
        and not started yet, and the authenticated user must have a verified
        email. An Event holds at most 200 active invitations. The authenticated
        user must be the Event's owner, one of its hosts, an accepted co-host,
        or a member of the owning team. PBAC permission for team events:
        `calEvent.update`. If accessed using an OAuth access token, the
        `EVENT_WRITE` scope is required, with `EVENT_READ` too when
        `pastEventUuids` is sent and `CONTACT_READ` too when `contactIds` or
        `contactTagIds` is sent.
      operationId: EventInvitationsController_inviteGuests
      parameters:
        - name: uuid
          required: true
          in: path
          description: >-
            Event UUID. Accepts the canonical UUID (e.g.
            `018ff5cd-6dc4-7d57-bcbc-374702ca8b38`) or its short-uuid (Flickr
            Base58) form (e.g. `1cbZYoAFoJdwqN4tixezd5`).
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            value must be `Bearer <token>` where `<token>` is api key prefixed
            with cal_, managed user access token, or OAuth access token
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteGuestsInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InviteGuestsOutputResponseDto'
        '400':
          description: >-
            Invalid Event UUID or body, a contact or contact tag the user
            doesn't own, the Event is unpublished, cancelled or started, or the
            invitation limit is reached
        '401':
          description: Unauthenticated
        '403':
          description: Insufficient permissions, or the user's email is not verified
        '404':
          description: Event not found
        '429':
          description: Rate limit exceeded
components:
  schemas:
    InviteGuestsInput:
      type: object
      properties:
        emails:
          description: >-
            Email addresses to invite, up to 200 per request. Send at least one
            email, `contactIds`, `contactTagIds` or `pastEventUuids`.
          example:
            - guest@example.com
          type: array
          items:
            type: string
            format: email
        contactIds:
          minItems: 1
          description: >-
            Ids of the authenticated user's own contacts, from `GET
            /v2/contacts`. Each contact is invited at its email, and they count
            with `emails` and `contactTagIds` toward the 200 guests one request
            can invite. Requires the `contacts` feature. A contact the user
            doesn't own is a 400.
          example:
            - 0192f3a1-7c2b-7d4e-9a10-0000000000a1
          maxItems: 200
          type: array
          items:
            type: string
            format: uuid
        contactTagIds:
          minItems: 1
          description: >-
            Ids of the authenticated user's own contact tags, from the `tags` of
            each contact in `GET /v2/contacts`. Every contact with one of these
            tags is invited, and they count with `emails` and `contactIds`
            toward the 200 guests one request can invite. Requires the
            `contacts` feature. A tag the user doesn't own is a 400.
          example:
            - 0192f3a1-7c2b-7d4e-9a10-00000000000a
          maxItems: 20
          type: array
          items:
            type: string
            format: uuid
        pastEventUuids:
          minItems: 1
          description: >-
            Uuids of other Events, usually past ones, such as those `GET
            /v2/events` returns. Everyone with a confirmed registration on them
            is invited, and they count with `emails`, `contactIds` and
            `contactTagIds` toward the 200 guests one request can invite. Only
            Events the authenticated user owns, hosts or co-hosts, or that
            belong to a team where they have the `calEvent.read` permission, add
            guests; any other Event adds nobody.
          example:
            - 0192f3a1-7c2b-7d4e-9a10-0000000000e1
          maxItems: 20
          type: array
          items:
            type: string
            format: uuid
        hostNote:
          type: string
          maxLength: 500
          description: A personal note from the host, included in the invitation email.
    InviteGuestsOutputResponseDto:
      type: object
      properties:
        status:
          enum:
            - success
            - error
          type: string
          example: success
        data:
          $ref: '#/components/schemas/InviteGuestsOutputDto'
      required:
        - status
        - data
    InviteGuestsOutputDto:
      type: object
      properties:
        invitedCount:
          type: number
        skippedAlreadyInvited:
          type: number
        skippedAlreadyRegistered:
          type: number
        skippedOnCooldown:
          type: number
        skippedInvalid:
          type: number
        failedCount:
          type: number
          description: Addresses whose invitation could not be saved. They can be retried.
        outcomes:
          description: One entry per submitted address.
          type: array
          items:
            $ref: '#/components/schemas/InviteOutcomeOutputDto'
      required:
        - invitedCount
        - skippedAlreadyInvited
        - skippedAlreadyRegistered
        - skippedOnCooldown
        - skippedInvalid
        - failedCount
        - outcomes
    InviteOutcomeOutputDto:
      type: object
      properties:
        email:
          type: string
        reason:
          enum:
            - invited
            - already-invited
            - already-registered
            - cooldown
            - invalid-format
            - undeliverable
            - duplicate
            - failed
          type: string
          description: >-
            What happened to this address: `invited`; skipped as
            `already-invited`, `already-registered` or `cooldown` (re-invited
            too recently); rejected as `invalid-format`, `undeliverable` or
            `duplicate` (repeated in this request); or `failed`, which can be
            retried.
      required:
        - email
        - reason

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.