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

# Update queue for a meeting type

> Update user assignments or capacities for a queue associated with a meeting type



## OpenAPI

````yaml /openapi.json patch /v4/queue/meeting-type/{meetingTypeId}
openapi: 3.0.0
info:
  title: meetergo Platform API
  description: >-
    Comprehensive scheduling API for creating users, managing availability,
    handling bookings, and connecting calendar providers. Enables seamless
    integration with external platforms and applications.
  version: 0.0.0
  contact: {}
  termsOfService: https://www.meetergo.com/tos/
servers: []
security: []
tags:
  - name: User V4
    description: Create and manage users in your workspace
  - name: Meeting Type V4
    description: Configure meeting templates with durations, buffers, and conferencing
  - name: availability
    description: Manage weekly schedules and availability settings
  - name: Booking V4
    description: Create new bookings
  - name: Booking Availability V4
    description: Query available time slots for booking
  - name: Appointment V4
    description: Manage existing appointments
  - name: Attendee V4
    description: Manage attendee details and notes
  - name: Calendar Connections V4
    description: Connect and sync external calendars
  - name: One Time Booking Link V4
    description: Create single-use booking links
  - name: availability-exception
    description: Override availability for specific dates
  - name: Booking Link V4
    description: Configure various booking page types
  - name: Personal Page V4
    description: Manage user profile pages
  - name: Handoff V4
    description: Reassign meetings to other hosts
  - name: Calendar Auth V4
    description: OAuth callbacks for calendar providers
  - name: Queue V4
    description: Round-robin and queue-based routing (Beta)
  - name: Queue User Group V4
    description: Manage queue user groups (Beta)
  - name: Meeting Type Template V4
    description: Reusable meeting type configurations (Beta)
  - name: Attendee Pending V4
    description: Manage pending attendee approvals (Beta)
  - name: Provisional Booking V4
    description: Manage provisional/unconfirmed bookings (Beta)
paths:
  /v4/queue/meeting-type/{meetingTypeId}:
    patch:
      tags:
        - Queue V4
      summary: Update queue for a meeting type
      description: >-
        Update user assignments or capacities for a queue associated with a
        meeting type
      operationId: updateQueue
      parameters:
        - name: meetingTypeId
          required: true
          in: path
          description: ID of the meeting type
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateQueueDto'
      responses:
        '200':
          description: Queue updated successfully
      security:
        - ApiUserHeader: []
        - JWT: []
        - ApiKey: []
components:
  schemas:
    UpdateQueueDto:
      type: object
      properties:
        userId:
          type: string
          description: Assign or deassign specified user
        userCapacities:
          description: User capacities for queue management
          type: array
          items:
            $ref: '#/components/schemas/UserCapacity'
        userPriorities:
          description: Host priorities for round robin (higher = booked first)
          type: array
          items:
            $ref: '#/components/schemas/UserPriority'
        userCustomLinks:
          description: >-
            Per-host overrides for the meeting type custom meeting link. Empty
            link falls back to the meeting type default.
          type: array
          items:
            $ref: '#/components/schemas/UserCustomLink'
        type:
          description: Round robin queue type
          allOf:
            - $ref: '#/components/schemas/QueueType'
        maxLeadThreshold:
          type: number
          minimum: 1
          description: Max bookings a host can be ahead before their availability is hidden
        distributionPeriod:
          type: string
          enum:
            - day
            - week
            - month
          description: Period over which bookings are counted for equal distribution
        prioritizeNearTermAvailability:
          type: boolean
          description: >-
            If true, when the lead-threshold filter would push the next
            available slot more than 14 days past the minimum booking notice,
            temporarily include over-lead hosts. Disable only for strict
            fairness.
    UserCapacity:
      type: object
      properties:
        userId:
          type: string
          description: User ID
        capacity:
          type: number
          description: Capacity value
      required:
        - userId
        - capacity
    UserPriority:
      type: object
      properties:
        userId:
          type: string
          description: User ID
        priority:
          type: number
          description: Priority level (higher = booked first)
      required:
        - userId
        - priority
    UserCustomLink:
      type: object
      properties:
        userId:
          type: string
          description: User ID
        link:
          type: string
          description: >-
            Per-host override for the custom meeting link. Empty string means
            fall back to the meeting type default.
      required:
        - userId
        - link
    QueueType:
      type: string
      enum:
        - simpleRoundRobin
        - advancedRoundRobin
        - equalDistribution
      description: Round robin queue type
  securitySchemes:
    ApiUserHeader:
      type: apiKey
      in: header
      name: x-meetergo-api-user-id
      description: >-
        User ID to act on behalf of. Platform API Keys only (required with an
        API Key unless the endpoint states otherwise). Requests authenticated
        with a Personal Access Token are rejected if this header names another
        user.
    JWT:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT Bearer token for standard user authentication
    ApiKey:
      scheme: bearer
      bearerFormat: API Key
      type: http
      description: >-
        Bearer token: a Platform API Key (format: ak_live:<uuid>:<secret>) or a
        Personal Access Token (format: rgo-...). PATs always act as the token
        owner.

````