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

# Listar assinaturas de webhook

> Lista as assinaturas de webhook visíveis para o chamador autenticado.



## OpenAPI

````yaml /pt-BR/scribe-api/openapi-institutional.json get /v1/webhooks
openapi: 3.1.0
info:
  title: Scribe Public API
  description: >-
    API REST externa para integração com a plataforma Telepatia. Autentique-se
    com chaves de API, defina o contexto da consulta e busque sessões de scribe.
  version: 0.1.0
servers:
  - url: https://scribe-api.telepatia.ai
    description: Production
security:
  - BearerAuth: []
paths:
  /v1/webhooks:
    get:
      tags:
        - Webhooks
      summary: Listar assinaturas de webhook
      description: Lista as assinaturas de webhook visíveis para o chamador autenticado.
      operationId: api_webhook_list_v1_webhooks_get
      responses:
        '200':
          description: Resposta bem-sucedida
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WebhookResponse'
                type: array
                title: Response Api Webhook List V1 Webhooks Get
        '401':
          description: Não autorizado — chave de API ausente ou inválida.
          content:
            application/json:
              examples:
                authentication_required:
                  summary: Invalid or missing API key
                  value:
                    error:
                      type: authentication_error
                      code: authentication_required
                      message: Invalid API key.
                      requestId: 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Serviço indisponível — uma dependência externa está indisponível.
          content:
            application/json:
              examples:
                service_unavailable:
                  summary: External service unavailable
                  value:
                    error:
                      type: api_error
                      code: service_unavailable
                      message: >-
                        The service is temporarily unavailable. Please try again
                        later.
                      requestId: 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    WebhookResponse:
      properties:
        id:
          type: string
          title: Id
        url:
          type: string
          title: Url
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Optional human-readable label, or null if unset.
        events:
          items:
            $ref: '#/components/schemas/WebhookEventName'
          type: array
          title: Events
        event:
          anyOf:
            - $ref: '#/components/schemas/WebhookEventName'
            - type: 'null'
          description: 'Deprecated: the first subscribed event (events[0]). Use `events`.'
          deprecated: true
        isActive:
          type: boolean
          title: Isactive
        signingSecretPrefix:
          anyOf:
            - type: string
            - type: 'null'
          title: Signingsecretprefix
          description: >-
            Display hint for the signing secret (e.g. 'whsec_a1b2c3d4'). The raw
            secret is only returned at creation/rotation.
        signingSecretVersion:
          anyOf:
            - type: integer
            - type: 'null'
          title: Signingsecretversion
        createdAt:
          anyOf:
            - type: string
            - type: 'null'
          title: Createdat
        updatedAt:
          anyOf:
            - type: string
            - type: 'null'
          title: Updatedat
        deletedAt:
          anyOf:
            - type: string
            - type: 'null'
          title: Deletedat
      type: object
      required:
        - id
        - url
        - events
        - isActive
      title: WebhookResponse
      description: A single webhook subscription.
    ErrorResponse:
      description: Envelope padronizado de resposta de erro.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetailWithRequestId'
      required:
        - error
      title: ErrorResponse
      type: object
    WebhookEventName:
      type: string
      enum:
        - scribe_session.created
        - scribe_session.completed
        - scribe_session.error
        - scribe_session.updated
        - scribe_session.cancelled
        - scribe_session.deleted
        - appointment.fulfilled
        - appointment.cancelled
      title: WebhookEventName
      description: |-
        Webhook event types exposed to API clients.

        Mirrors `SynapseWebhookEventType` enum in datalayer (camelCase) but
        rendered to clients as snake_case dotted strings (closer to Stripe
        convention and easier to grep in caller logs).
    ErrorDetailWithRequestId:
      description: >-
        Top-level error object: :class:`ErrorDetail` plus the request
        correlation id.


        Kept as a subclass rather than a field on ``ErrorDetail`` because
        ``ErrorDetail`` is

        also the per-item error shape inside the batch account-creation response

        (``BatchAccountResult.error``), which is serialized with nulls included.
        Adding the

        field there would publish ``"requestId": null`` on an HTTP 200, and
        there is only

        ever one request id per batch anyway -- batch callers read the
        ``X-Request-ID``

        response header.
      properties:
        type:
          description: Broad error category for high-level handling.
          examples:
            - invalid_request_error
          title: Type
          type: string
        code:
          description: Machine-readable error code. Clients should switch on this value.
          examples:
            - parameter_invalid
          title: Code
          type: string
        message:
          description: Human-readable error message ending with a period.
          examples:
            - >-
              idCountry must be a valid country name, ISO alpha-2, or ISO
              alpha-3 code.
          title: Message
          type: string
        param:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: The request field that caused the error, if applicable.
          examples:
            - idCountry
          title: Param
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          description: Optional structured, machine-readable context for the error.
          examples:
            - pendingConsultations:
                - sessionId: abc123
                  url: https://...
          title: Details
        requestId:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Unique id for this request, identical to the X-Request-ID response
            header. Quote it when contacting support.
          examples:
            - 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
          title: Requestid
      required:
        - type
        - code
        - message
      title: ErrorDetailWithRequestId
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Chave de API enviada como token Bearer

````