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

# Delete Webhook



## OpenAPI

````yaml /v2/api-reference/sms/sms-collection.json delete /{instance}/webhooks/{webhook}
openapi: 3.1.0
info:
  title: Hypersender SMS API Docs
  version: v1.0
  description: >-
    Send and receive SMS through your own Android phone and SIM card with the
    Hypersender SMS API.


    **Base URL**: `https://app.hypersender.com/api/sms/v1/{instance}`. Replace
    `{instance}` with the Instance ID from the dashboard.


    **Authentication**: send the instance API Key as a Bearer token in the
    `Authorization` header.


    **The Android app**: install Hypersender SMS from [Google
    Play](https://play.google.com/store/apps/details?id=com.hypersender.app&hl=en)
    and link it to your instance. See the [SMS quick
    start](https://docs.hypersender.com/v2/hypersender/overview/sms/sms-quick-start).


    **Quick demo**: [Send an SMS in
    Postman](https://docs.hypersender.com/v2/api-reference/sms/how-to-send-an-sms-message-in-postman).
servers:
  - url: https://app.hypersender.com/api/sms/v1
    description: Production
security:
  - Authorization: []
paths:
  /{instance}/webhooks/{webhook}:
    delete:
      tags:
        - Webhooks
      summary: Delete Webhook
      parameters:
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
        - name: instance
          in: path
          description: Instance ID from the Hypersender dashboard.
          required: true
          schema:
            type: string
            example: '{{ instance_id }}'
        - name: webhook
          in: path
          required: true
          description: The webhook `id`.
          schema:
            type: integer
            example: 42
      responses:
        '200':
          description: The webhook was deleted.
          content:
            application/json:
              example:
                deleted: true
        '401':
          description: The Bearer token is missing, invalid, or expired.
          content:
            application/json:
              example:
                message: >-
                  The Bearer token is not valid please check the token and try
                  again.
        '403':
          description: >-
            The token belongs to another instance, or the instance is of another
            type.
          content:
            application/json:
              example:
                message: The Bearer token does not have access to this instance.
        '404':
          description: No webhook with this ID on this instance.
          content:
            application/json:
              example:
                message: Not found.
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

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