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

# Comprobar pertenencia a una comunidad

> Comprueba si un usuario específico es miembro de una comunidad de Twitter/X. Devuelve `is_member: true` si pertenece a esa comunidad. Requiere `community_id` y un identificador de usuario (`username`, `user_link` o `user_id`).



## OpenAPI

````yaml /openapi-es.json post /check-community-member
openapi: 3.0.3
info:
  contact: {}
  title: API Sorsa.io
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /check-community-member:
    post:
      tags:
        - Verificación
      summary: Comprobar pertenencia a una comunidad
      description: >-
        Comprueba si un usuario específico es miembro de una comunidad de
        Twitter/X. Devuelve `is_member: true` si pertenece a esa comunidad.
        Requiere `community_id` y un identificador de usuario (`username`,
        `user_link` o `user_id`).
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/verification.CommunityReq'
        description: Se requieren community_id y user_handle o user_id.
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/verification.CommunityResp'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Solicitud incorrecta
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: No autorizado
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Acceso prohibido
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: No encontrado
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Demasiadas solicitudes
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: Error interno del servidor
      security:
        - ApiKeyAuth: []
components:
  schemas:
    verification.CommunityReq:
      properties:
        community_id:
          example: '1966045657589813686'
          type: string
        user_id:
          type: string
        user_link:
          example: https://twitter.com/elonmusk
          type: string
        username:
          example: elonmusk
          type: string
      required:
        - community_id
      type: object
    verification.CommunityResp:
      properties:
        is_member:
          description: '`true` si el usuario es miembro de la comunidad especificada.'
          type: boolean
      type: object
    handler.ErrorResponse:
      properties:
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: ApiKey
      type: apiKey

````