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

# Close Chat

> Updates the status of a chat conversation (e.g., closing it).

Use this endpoint to update the status of a conversation. Change the status to `closed` or `resolved` to remove it from the active inbox queue.


## OpenAPI

````yaml PUT /api/chat/conversation/status
openapi: 3.1.0
info:
  title: Automate Chats API
  description: >-
    API for managing WhatsApp template messages, contacts, custom fields, tags,
    and external integrations.
  version: 1.0.0
servers:
  - url: https://api.automatechats.com
security:
  - apiKeyAuth: []
paths:
  /api/chat/conversation/status:
    put:
      summary: Close Chat
      description: Updates the status of a chat conversation (e.g., closing it).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - conversationId
                - status
              properties:
                conversationId:
                  type: string
                status:
                  type: string
                  enum:
                    - open
                    - closed
                    - pending
                    - resolved
      responses:
        '200':
          description: Chat status updated successfully
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````