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

# Récupérer un webhook

> Returns a single webhook endpoint by ID, including its `signing_secret`.

<Note>
  **Scope requis :** `WEBHOOKS_READ_WRITE`
</Note>

Renvoie un endpoint webhook, y compris son `signing_secret`.


## OpenAPI

````yaml GET /v2/api/webhooks/{webhook_id}
openapi: 3.0.3
info:
  title: Allo API
  description: >-
    Allo API provides programmatic access to your Allo account, allowing you to
    manage webhooks, retrieve calls and contacts, and send SMS messages.


    All requests to `/v1/api/**` endpoints automatically go through quota
    checking and scope validation.
  version: 1.0.0
  contact:
    name: Allo Support
servers:
  - url: https://api.withallo.com
    description: Production server
security: []
tags:
  - name: Summary Templates
    description: >-
      Manage call summary templates that control how AI-generated call summaries
      are structured for your team.
  - name: Webhooks
    description: >-
      Manage webhook endpoints to receive real-time notifications about events
      in your Allo account. Each endpoint subscribes to one or more event topics
      and is verified with a signing secret.
  - name: Calls
    description: >-
      Retrieve and search call records with filtering and pagination. Filter
      calls by your Allo phone number.
  - name: Contacts
    description: >-
      Search and retrieve contact information with sorting and pagination.
      Includes engagement level tracking.
  - name: SMS
    description: Send SMS messages to phone numbers using your Allo numbers.
  - name: Phone Numbers
    description: Retrieve information about your Allo phone numbers.
  - name: Analytics
    description: Pre-computed call metrics, team performance, and outbound dial funnel
  - name: CRM
    description: Manage people, companies, and deals in your CRM.
paths:
  /v2/api/webhooks/{webhook_id}:
    get:
      tags:
        - Webhooks
      summary: Get webhook
      description: Returns a single webhook endpoint by ID, including its `signing_secret`.
      operationId: getWebhook
      parameters:
        - name: webhook_id
          in: path
          required: true
          description: The webhook endpoint ID (e.g. "ep_2NfDKEm9sF8xK3pQr1Zt").
          schema:
            type: string
            example: ep_2NfDKEm9sF8xK3pQr1Zt
      responses:
        '200':
          description: Webhook endpoint
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/WebhookApiResponse'
              example:
                data:
                  id: ep_2NfDKEm9sF8xK3pQr1Zt
                  url: https://example.com/webhooks/allo
                  topics:
                    - call.received
                    - sms.received
                  description: Production event stream
                  enabled: true
                  signing_secret: whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD
                  created_at: '2026-04-21T14:30:00Z'
        '401':
          $ref: '#/components/responses/ApiUnauthorized'
        '404':
          $ref: '#/components/responses/ApiNotFound'
        '429':
          $ref: '#/components/responses/ApiRateLimited'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WebhookApiResponse:
      type: object
      description: A webhook endpoint.
      properties:
        id:
          type: string
          description: Unique webhook endpoint ID.
          example: ep_2NfDKEm9sF8xK3pQr1Zt
        url:
          type: string
          format: uri
          description: HTTPS URL that receives event deliveries.
        topics:
          type: array
          items:
            $ref: '#/components/schemas/WebhookTopic'
          description: Event topics this endpoint is subscribed to.
        description:
          type: string
          nullable: true
          description: Optional human-readable label.
        enabled:
          type: boolean
          description: Whether the endpoint is active.
        signing_secret:
          type: string
          nullable: true
          description: >-
            Secret used to verify delivery signatures. Returned only when the
            webhook is created or fetched by ID.
        created_at:
          type: string
          format: date-time
          nullable: true
          description: When the endpoint was created.
    WebhookTopic:
      type: string
      enum:
        - call.received
        - call.triggered
        - call.answered
        - call.completed
        - tag.added
        - tag.removed
        - sms.received
        - sms.sent
        - contact.created
        - contact.updated
        - summary.updated
      description: An event topic. See the Event Catalog for payloads.
      example: call.received
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            request_id:
              type: string
            retry_after_seconds:
              type: integer
              nullable: true
  responses:
    ApiUnauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiNotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ApiRateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization

````