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

# Get Webhook Endpoint

> Read one webhook endpoint by ID with GET /api/webhooks/{id}.

Returns one webhook endpoint. The signing secret is not included.

Read-only API keys can use this endpoint.

## Example Request

```bash theme={null}
curl -X GET \
  -H "X-API-KEY: your_api_key" \
  "https://octanist.com/api/webhooks/9b2f1c4e-6a1d-4f7e-9a51-2c8f0f3d1a77"
```


## OpenAPI

````yaml GET /api/webhooks/{id}
openapi: 3.0.1
info:
  title: Octanist API
  description: >-
    The Octanist API allows you to create, update and read leads, run reports,
    read workspace settings, retrieve statistics, and access ad spend data.
  version: 2.5.0
  contact:
    name: Octanist Support
    url: https://octanist.com/docs
servers:
  - url: https://octanist.com
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /api/webhooks/{id}:
    parameters:
      - name: id
        in: path
        required: true
        description: Webhook endpoint ID
        schema:
          type: string
    get:
      tags:
        - Webhooks
      summary: Get Webhook Endpoint
      responses:
        '200':
          description: Webhook endpoint
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/WebhookEndpoint'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Endpoint not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    WebhookEndpoint:
      type: object
      properties:
        id:
          type: string
          example: 9b2f1c4e-6a1d-4f7e-9a51-2c8f0f3d1a77
        url:
          type: string
          format: uri
          example: https://crm.example.com/webhooks/octanist
        description:
          type: string
          nullable: true
          example: CRM sync
        events:
          type: array
          items:
            type: string
            enum:
              - lead.created
              - lead.status_changed
              - lead.updated
          minItems: 1
          description: Events to send to this endpoint
          example:
            - lead.created
            - lead.status_changed
        enabled:
          type: boolean
          example: true
        disabledReason:
          type: string
          nullable: true
          enum:
            - user
            - gone
            - null
          description: >-
            Why the endpoint is off: `user` (turned off in Octanist or with the
            API) or `gone` (it answered HTTP 410)
          example: null
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Meta:
      type: object
      properties:
        requestId:
          type: string
          example: req_a1b2c3d4e5f6
        timestamp:
          type: string
          format: date-time
          example: '2026-03-10T12:00:00.000Z'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code
              example: VALIDATION_ERROR
            message:
              type: string
              description: Human readable error message
              example: Human readable error message
            details:
              type: object
              description: Optional additional error details
        meta:
          $ref: '#/components/schemas/Meta'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: API key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.