> ## 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.

# Approve every pending guest

> Approves the Event's guests waiting for approval, optionally only those matching `search` or registered for `locationId`, as the roster's Approve all does. A free Event approves them in this request and returns `completed` with the counts. A paid Event sends each guest a payment request in the background and returns `started`. The Event must be published and not cancelled. 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.



## OpenAPI

````yaml /api-reference/v2/openapi.json post /v2/events/{uuid}/registrations/approve-all
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/events/{uuid}/registrations/approve-all:
    post:
      tags:
        - Events
      summary: Approve every pending guest
      description: >-
        Approves the Event's guests waiting for approval, optionally only those
        matching `search` or registered for `locationId`, as the roster's
        Approve all does. A free Event approves them in this request and returns
        `completed` with the counts. A paid Event sends each guest a payment
        request in the background and returns `started`. The Event must be
        published and not cancelled. 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.
      operationId: EventRegistrationsController_approveAll
      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
            format: uuid
        - 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/ApproveAllRegistrationsInput'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApproveAllOutcomeOutputResponseDto'
        '400':
          description: >-
            Invalid Event UUID or body, the Event is not open for registration,
            or too many pending guests
        '401':
          description: Unauthenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Event not found
        '429':
          description: Rate limit exceeded
components:
  schemas:
    ApproveAllRegistrationsInput:
      type: object
      properties:
        search:
          type: string
          maxLength: 255
          description: >-
            Only approve guests whose name or email contains this text,
            case-insensitive.
        locationId:
          type: string
          maxLength: 128
          description: Only approve guests who registered for this location.
        retry:
          type: boolean
          description: >-
            Paid Events only: when the previous approve-all failed, approve the
            guests it had not reached instead of reading the pending guests
            again.
    ApproveAllOutcomeOutputResponseDto:
      type: object
      properties:
        status:
          enum:
            - success
            - error
          type: string
          example: success
        data:
          $ref: '#/components/schemas/ApproveAllOutcomeOutputDto'
      required:
        - status
        - data
    ApproveAllOutcomeOutputDto:
      type: object
      properties:
        kind:
          enum:
            - completed
            - started
          type: string
          description: >-
            `completed` when every pending guest was handled in this request.
            `started` when a paid Event's approval runs in the background.
        approvedCount:
          type: number
          description: >-
            Set only when `kind` is `completed`. Guests approved; on a paid
            Event, guests sent a payment request.
        notSeatedCount:
          type: number
          description: >-
            Set only when `kind` is `completed`. Guests left pending because the
            Event is full.
        operationId:
          type: string
          description: >-
            Set only when `kind` is `started`. Identifies the background
            approval.
        total:
          type: number
          description: >-
            Set only when `kind` is `started`. Guests the background approval
            will handle.
      required:
        - kind

````

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