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

# Delete Chat

Delete a single chat thread using its unique chat GUID.

This permanently removes the chat and all associated messages from the system.


## OpenAPI

````yaml delete /chats/{chatGuid}
openapi: 3.0.3
info:
  title: Messages API
  version: 1.0.0
  description: >-
    API for sending messages, uploading media, fetching messages, and handling
    Arnio's webhooks.
servers:
  - url: https://api.arnio.co/api/v1
security: []
paths:
  /chats/{chatGuid}:
    delete:
      tags:
        - Chats
      summary: Delete a single chat
      parameters:
        - name: chatGuid
          in: path
          required: true
          schema:
            type: string
          description: Chat GUID in the format <serverGuid>-;<phoneNumber>
      responses:
        '200':
          description: Chat deleted successfully
          content:
            application/json:
              example:
                success: true
                message: Chat deleted successfully
        '400':
          description: Chat contact not found
          content:
            application/json:
              example:
                success: false
                error: Chat contact not found
        '500':
          description: Failed to delete chat
          content:
            application/json:
              example:
                success: false
                error: Internal server error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Provide your generated API Key.

````