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

# Get Webhook Status

> Get the current webhook configuration and last delivery status for a form.



## OpenAPI

````yaml openapi.json get /forms/{id}/webhook/status
openapi: 3.1.0
info:
  title: GeniusForms API
  description: >-
    AI-powered form builder API. Create forms manually or generate them from
    natural language prompts.
  version: 1.0.0
  contact:
    name: GeniusForms Support
    email: support@geniusforms.ai
    url: https://geniusforms.ai
servers:
  - url: https://geniusforms.ai/api/v1
    description: Production
  - url: http://localhost:8000/api/v1
    description: Local Development
security:
  - ApiKeyAuth: []
paths:
  /forms/{id}/webhook/status:
    get:
      tags:
        - Webhooks
      summary: Get Webhook Status
      description: >-
        Get the current webhook configuration and last delivery status for a
        form.
      operationId: getWebhookStatus
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          description: Form ID
      responses:
        '200':
          description: Webhook status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookStatusResponse'
        '404':
          description: Form not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookStatusResponse:
      type: object
      properties:
        enabled:
          type: boolean
          example: true
        url:
          type: string
          nullable: true
          example: https://example.com/webhook
        lastDelivery:
          type: object
          nullable: true
          properties:
            status:
              type: string
              enum:
                - success
                - failed
            responseCode:
              type: integer
              nullable: true
            error:
              type: string
              nullable: true
            attemptedAt:
              type: string
              format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          example: validation_error
        message:
          type: string
          example: Invalid request
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key obtained from your GeniusForms dashboard

````