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

# Obter um webhook

> Retorna os detalhes completos de um webhook específico, incluindo seu segredo de autenticação.



## OpenAPI

````yaml https://api.jurichat.com/docs/client/openapi.json get /webhooks/{webhookId}
openapi: 3.1.0
info:
  title: JuriChat API — Documentação para Integradores
  description: ''
  version: 1.0.0
servers:
  - url: https://api.jurichat.com
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /webhooks/{webhookId}:
    get:
      tags:
        - Webhooks
      summary: Obter um webhook
      description: >-
        Retorna os detalhes completos de um webhook específico, incluindo seu
        segredo de autenticação.
      parameters:
        - schema:
            type: string
          in: path
          name: webhookId
          required: true
          description: ID único do webhook.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: ID único do webhook.
                  officeId:
                    type: string
                    description: ID do escritório ao qual este webhook pertence.
                  name:
                    type: string
                    description: Nome do webhook.
                  description:
                    type: string
                    nullable: true
                    description: Descrição do webhook.
                  url:
                    type: string
                    description: URL de destino para entregas de eventos.
                  secret:
                    type: string
                    description: >-
                      HMAC-SHA256 segredo de autenticação usado para verificar o
                      header `X-JuriChat-Signature`.
                  events:
                    type: array
                    items:
                      type: string
                    description: Lista de nomes de eventos inscritos.
                  isActive:
                    type: boolean
                    description: Se este webhook está ativo.
                  headers:
                    type: object
                    additionalProperties:
                      type: string
                    nullable: true
                    description: Cabeçalhos personalizados enviados com cada entrega.
                  createdAt:
                    type: string
                    description: Timestamp de criação ISO 8601.
                  updatedAt:
                    type: string
                    description: Timestamp de última atualização ISO 8601.
                required:
                  - id
                  - officeId
                  - name
                  - description
                  - url
                  - secret
                  - events
                  - isActive
                  - headers
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  details: {}
                required:
                  - message
                  - statusCode
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-jurichat-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-jurichat-api-key.

````