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

# Reset invite link

> Revoke the current invite link and generate a new one.



## OpenAPI

````yaml openapi.meta.json POST /{groupId}/invites
openapi: 3.1.0
info:
  title: Meta Cloud API Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer — Meta Cloud API (WhatsApp Cloud API / Graph API
    passthrough). Base URL `https://pilotstatus.com.br/api/layer/meta`. Call
    Graph API nodes exactly as on `graph.facebook.com/<version>/` — Pilot swaps
    your `ps_` key for the number's real Meta system token. The `vNN.N` version
    prefix is optional (defaults to v22.0). Account/business/auth management and
    number (de)registration are blocked.
servers:
  - url: https://pilotstatus.com.br/api/layer/meta
security:
  - apiKey: []
tags:
  - name: Messages
  - name: Media
  - name: By id
  - name: Templates
  - name: Phone numbers
  - name: Business profile
  - name: Groups
  - name: Calls
paths:
  /{groupId}/invites:
    post:
      tags:
        - Groups
      summary: Reset invite link
      description: Revoke the current invite link and generate a new one.
      operationId: post__groupId_invites
      parameters:
        - name: groupId
          in: path
          required: true
          schema:
            type: string
          description: Group id.
      responses:
        '200':
          description: Meta Graph API response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  invite_link:
                    type: string
              example:
                invite_link: https://chat.whatsapp.com/NEW...
        default:
          description: Meta Graph API error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Human-readable error.
                      type:
                        type: string
                        description: e.g. `OAuthException`.
                      code:
                        type: integer
                      error_subcode:
                        type: integer
                      error_data:
                        type: object
                      fbtrace_id:
                        type: string
                description: Meta Graph API error envelope.
              example:
                error:
                  message: (#131030) Recipient phone number not in allowed list
                  type: OAuthException
                  code: 131030
                  fbtrace_id: A...
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your Pilot Status API key (ps_...). You may also send `Authorization:
        Bearer ps_...` or `?access_token=ps_...`.

````