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

> ## Agent Instructions
> Integrating Pilot Status end to end? Follow https://docs.pilotstatus.com.br/guides/integrate-with-ai.md (pt-BR: https://docs.pilotstatus.com.br/pt-BR/guides/integrate-with-ai.md). No step requires contacting support: every credential is shown in the dashboard or in an API response, and a lost one is regenerated, not recovered.
> Webhook signing secret: shown ONCE in the Signing secret window right after creating the webhook on /webhooks, and in the `secret` field of the POST /v1/webhooks response (MCP: webhooks_create). Lost it: Edit Webhook → Generate a new secret, POST /v1/webhooks/{id}/rotate-secret, or webhooks_rotate_secret (the old one stops working at once). Verify `x-pilot-status-signature` = hex HMAC-SHA256 of the raw request body keyed with that secret.
> Meta verify token (number connected with the user's own Meta app credentials): Meta Number Created! window after connecting, then the number's card on Numbers (workspace Owner), or webhook.verifyToken in the POST /v1/numbers/meta response. It is not the webhook signing secret.
> REST auth: `x-api-key: ps_...` header, never Authorization: Bearer. MCP: https://mcp.pilotstatus.com.br/mcp (148 tools, OAuth 2.1 or x-api-key); Code Mode: https://mcp.pilotstatus.com.br/code. Destructive MCP tools return a preview and a confirm_token: show the preview and call again only after the user's explicit yes. Over OAuth, revealing or creating ps_ API keys is workspace Owner only.

# Resolver invitación

> Resuelve los metadatos del newsletter a partir de una clave de invitación (la parte del código de un enlace de invitación al canal).



## OpenAPI

````yaml openapi.evolution-go.es.json POST /newsletter/link
openapi: 3.1.0
info:
  title: Evolution GO Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer: Evolution GO. URL base
    `https://pilotstatus.com.br/api/layer/evolution-go`. Autentícate con el
    header `apikey` (tu clave `ps_` de Pilot Status); `Authorization: Bearer` no
    se acepta. Los endpoints de instancia/sesión NO están disponibles a través
    del layer.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-go
security:
  - apiKey: []
tags:
  - name: Call (voice)
  - name: Chat
  - name: Community
  - name: Group
  - name: Label
  - name: Message
  - name: Newsletter / Channels
  - name: Send (load-balanced)
  - name: User / Contacts
paths:
  /newsletter/link:
    post:
      tags:
        - Newsletter / Channels
      summary: Resolver invitación
      description: >-
        Resuelve los metadatos del newsletter a partir de una clave de
        invitación (la parte del código de un enlace de invitación al canal).
      operationId: post__newsletter_link
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                key:
                  type: string
                  description: >-
                    Clave de invitación del enlace del canal (p. ej. la parte
                    después de `whatsapp.com/channel/`).
                  example: 0029VaAbCdEfGhIjKlMnOpQr
              required:
                - key
      responses:
        '200':
          description: 'Éxito: cuerpo de respuesta nativo del proveedor.'
          content:
            application/json:
              schema:
                type: object
                description: >-
                  El handler envuelve el types.NewsletterMetadata resuelto a
                  partir de una clave de invitación en un sobre { message, data
                  }.
                properties:
                  message:
                    type: string
                    description: Siempre "success" en HTTP 200.
                  data:
                    type: object
                    description: >-
                      Metadatos del newsletter resueltos a partir de la
                      clave/enlace de invitación.
                    properties:
                      id:
                        type: string
                        description: JID del newsletter.
                      state:
                        type: object
                        properties:
                          type:
                            type: string
                            description: active | suspended | geosuspended.
                      thread_metadata:
                        type: object
                        properties:
                          creation_time:
                            type: string
                            description: Segundos Unix como string.
                          invite:
                            type: string
                          name:
                            type: object
                            properties:
                              text:
                                type: string
                              id:
                                type: string
                              update_time:
                                type: string
                                description: Microsegundos Unix como string.
                          description:
                            type: object
                            properties:
                              text:
                                type: string
                              id:
                                type: string
                              update_time:
                                type: string
                          subscribers_count:
                            type: string
                            description: Entero como string.
                          verification:
                            type: string
                            description: verified | unverified.
                          picture:
                            type: object
                            description: >-
                              Información de la foto en resolución completa
                              (puede ser null).
                            properties:
                              url:
                                type: string
                              id:
                                type: string
                              type:
                                type: string
                              direct_path:
                                type: string
                              hash:
                                type: string
                          preview:
                            type: object
                            properties:
                              url:
                                type: string
                              id:
                                type: string
                              type:
                                type: string
                              direct_path:
                                type: string
                              hash:
                                type: string
                          settings:
                            type: object
                            properties:
                              reaction_codes:
                                type: object
                                properties:
                                  value:
                                    type: string
                                    description: all | basic | none | blocklist.
                      viewer_metadata:
                        type: object
                        description: >-
                          Silencio/rol de esta cuenta para el newsletter (puede
                          ser null; normalmente null antes de unirse).
                        properties:
                          mute:
                            type: string
                            description: on | off.
                          role:
                            type: string
                            description: subscriber | guest | admin | owner.
              example:
                message: success
                data:
                  id: 120363313361893999@newsletter
                  state:
                    type: active
                  thread_metadata:
                    creation_time: '1718000000'
                    invite: 0029Va8ZfkL1234567890abcd
                    name:
                      text: WhatsApp Channel Demo
                      id: '1718000000111222'
                      update_time: '1718000000111222'
                    description:
                      text: Official demo channel.
                      id: '1718000000111223'
                      update_time: '1718000000111223'
                    subscribers_count: '15320'
                    verification: verified
                    picture:
                      url: >-
                        https://pps.whatsapp.net/v/t61.24694-24/newsletter_pic.jpg
                      id: '1718000000'
                      type: image
                      direct_path: /v/t61.24694-24/newsletter_pic.jpg
                      hash: q1w2e3r4t5y6u7i8o9p0YWJjZGU=
                    preview:
                      url: >-
                        https://pps.whatsapp.net/v/t61.24694-24/newsletter_preview.jpg
                      id: '1718000000'
                      type: preview
                      direct_path: /v/t61.24694-24/newsletter_preview.jpg
                      hash: q1w2e3r4t5y6u7i8o9p0YWJjZGU=
                    settings:
                      reaction_codes:
                        value: all
                  viewer_metadata: null
        default:
          description: Error — provider or layer error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
                  response:
                    type: object
              example:
                status: 400
                error: Bad Request
                message: Invalid payload
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: >-
        El token de la instancia, enviado en el header `apikey`: el token de la
        instancia de Evolution GO que migraste en el dashboard (Números →
        Conectar → Migrar), o el token propio de la instancia de Pilot Status.
        Una API key `ps_` de Pilot Status NO se acepta (404 `Instance not
        found`). Este es el único header que lee el layer de Evolution GO:
        `Authorization: Bearer` y `x-api-key` no se aceptan, y una solicitud sin
        `apikey` recibe 401.

````

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