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

# List blocks



## OpenAPI

````yaml /en/chat-api/api-reference/openapi-chat.json get /v1/chat/blocks
openapi: 3.0.3
info:
  title: Notifique Chat API
  description: >-
    In-app chat: apps, users, JWT, conversations, and messages. Authenticate
    with `Authorization: Bearer sk_live_...` (backend) or a user JWT. Do not
    send `x-workspace-id`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Produção
security:
  - ntfChatBearerAuth: []
  - ntfChatApiKeyHeader: []
tags:
  - name: Chat Apps
    description: CRUD de Chat Apps e rotação do signing secret
  - name: Chat Users
    description: Usuários, JWT e agentes
  - name: Chat Conversations
    description: Conversas 1:1, grupos e membros
  - name: Chat Messages
    description: Envio, listagem e exclusão
  - name: Chat Blocks
    description: Blocks between users of the same Chat App
paths:
  /v1/chat/blocks:
    get:
      tags:
        - Chat Blocks
      summary: List blocks
      operationId: ntfChat_getV1ChatBlocks
      parameters:
        - name: chatAppId
          in: query
          schema:
            type: string
        - name: blockerExternalUserId
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/NtfChat_Block'
        '401':
          description: Missing or invalid API Key or JWT.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfChat_ErrorResponse'
        '402':
          description: Workspace blocked or insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfChat_ErrorResponse'
        '403':
          description: >-
            Missing scope, origin not allowed, CHAT_CAPABILITY_DISABLED, or
            CHAT_USER_BLOCKED.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfChat_ErrorResponse'
components:
  schemas:
    NtfChat_Block:
      type: object
      properties:
        id:
          type: string
        chatAppId:
          type: string
        blockerChatUserId:
          type: string
        blockedChatUserId:
          type: string
        createdAt:
          type: string
          format: date-time
        blocked:
          type: object
          properties:
            id:
              type: string
            externalUserId:
              type: string
            name:
              type: string
              nullable: true
            kind:
              type: string
    NtfChat_ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        code:
          type: string
        message:
          type: string
  securitySchemes:
    ntfChatBearerAuth:
      type: http
      scheme: bearer
      description: API Key `sk_live_…` / `sk_test_…` ou JWT do usuário do chat (`eyJ…`).
    ntfChatApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````