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

# Mesajı geri al

> Bir mesajı geri alır (herkesten siler). Varsayılan olarak botun kendi mesajını geri alır.
Hedef mesaj başka bir kullanıcı tarafından gönderilmişse ve sohbet deposunda mevcutsa,
bir grup yöneticisi botun diğer üyelerin mesajlarını geri alabilmesi için
asıl gönderen otomatik olarak belirlenir (spam önleme kullanım senaryosu). Bot grup yöneticisi değilse
WhatsApp sunucusu isteği reddeder.




## OpenAPI

````yaml /tr/openapi.yml post /message/{message_id}/revoke
openapi: 3.0.0
info:
  title: WhatsApp Çoklu Cihaz API’si
  version: 9.7.0
  description: >
    Bu API, API üzerinden WhatsApp mesajları göndermek için kullanılır.


    Web panosu ayrı bir projedir (gowa-ui); sunucu bu projenin

    en son sürüm dosyasını indirir ve `/` yolunda sunar (veya

    APP_UI_ENABLED=false olduğunda bir JSON başlığı döndürür).


    Cihaz kapsamı:

    - Cihaz kapsamındaki tüm REST çağrılarında `X-Device-Id` gönderin.

    - WebSocket: `/ws?device_id=<id>` adresine bağlanın.

    - WebSocket kimlik doğrulaması (temel kimlik doğrulaması etkinken):
    tarayıcılar WebSocket bağlantılarında
      Authorization üst bilgisi ayarlayamaz; bu nedenle sorgu dizesinde ayrıca
      `&authorization=<base64(user:pass)>` geçirin. Kimlik bilgisi URL’de göründüğünden
      üretim ortamında TLS kullanın.
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: WhatsApp sunucusuna ilk bağlantı
  - name: device
    description: Çoklu cihaz desteği için cihaz yönetimi
  - name: user
    description: Bilgi alma
  - name: send
    description: Mesaj gönderme (Metin/Görsel/Dosya/Video).
  - name: message
    description: Mesaj işlemleri (geri alma/tepki verme/güncelleme).
  - name: call
    description: Arama yönetimi (gelen aramaları reddetme)
  - name: chat
    description: Sohbetler ve mesajlaşma
  - name: group
    description: Grup ayarları
  - name: newsletter
    description: Bülten ayarları
  - name: chatwoot
    description: Müşteri desteği için Chatwoot entegrasyonu
paths:
  /message/{message_id}/revoke:
    post:
      tags:
        - message
      summary: Mesajı geri al
      description: >
        Bir mesajı geri alır (herkesten siler). Varsayılan olarak botun kendi
        mesajını geri alır.

        Hedef mesaj başka bir kullanıcı tarafından gönderilmişse ve sohbet
        deposunda mevcutsa,

        bir grup yöneticisi botun diğer üyelerin mesajlarını geri alabilmesi
        için

        asıl gönderen otomatik olarak belirlenir (spam önleme kullanım
        senaryosu). Bot grup yöneticisi değilse

        WhatsApp sunucusu isteği reddeder.
      operationId: revokeMessage
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
        - in: path
          name: message_id
          schema:
            type: string
          required: true
          description: Mesaj kimliği
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                phone:
                  type: string
                  example: 6289685024051@s.whatsapp.net
                  description: Ülke koduyla birlikte telefon numarası
      responses:
        '200':
          description: Tamam
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResponse'
        '400':
          description: Geçersiz İstek
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
        '500':
          description: Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: >
        Çoklu cihaz desteği için cihaz tanımlayıcısı. Birden fazla cihaz
        kayıtlıysa zorunludur.

        Yalnızca bir cihaz kayıtlıysa varsayılan olarak kullanılır.

        `device_id` sorgu parametresi olarak da belirtilebilir.
      schema:
        type: string
        example: my-device-id
  schemas:
    SendResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Success
        results:
          type: object
          properties:
            message_id:
              type: string
              example: 3EB0B430B6F8F1D0E053AC120E0A9E5C
              description: Zamanlanmış gönderimlerde dahil edilmez
            status:
              type: string
              example: <feature> success ....
            schedule_id:
              type: string
              example: 0b5c3a8e-7f5d-4d6f-9d1e-2f8c1a7b9e10
              description: >-
                Yalnızca zamanlanmış gönderimler. /send/schedules yollarıyla
                kullanın.
            scheduled_at:
              type: string
              format: date-time
              example: '2026-10-01T02:00:00Z'
              description: Yalnızca zamanlanmış gönderimler. İlk gönderim zamanı.
            next_run_at:
              type: string
              format: date-time
              example: '2026-10-01T02:00:00Z'
              description: >-
                Yalnızca zamanlanmış gönderimler. Çalışanın bir sonraki gönderim
                zamanı.
    ErrorBadRequest:
      type: object
      properties:
        code:
          type: string
          example: 400
          description: HTTP Durum Kodu
        message:
          type: string
          example: field cannot be blank
          description: Ayrıntılı hata mesajı
        results:
          type: object
          example: null
          description: ek veriler
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: SYSTEM_CODE_ERROR
        message:
          type: string
          example: you are not loggin
          description: Ayrıntılı hata mesajı
        results:
          type: object
          example: null
          description: ek veriler
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [Cihaz bilgilerini al](https://gowa-docs.mintlify.site/tr/api-reference/device/cihaz-bilgilerini-al.md)
- [Cihaz bağlantı durumunu al](https://gowa-docs.mintlify.site/tr/api-reference/device/cihaz-bağlantı-durumunu-al.md)
- [Bağlantı durumunu al](https://gowa-docs.mintlify.site/tr/api-reference/app/bağlantı-durumunu-al.md)
- [Cihaz webhook yapılandırmasını al](https://gowa-docs.mintlify.site/tr/api-reference/device/cihaz-webhook-yapılandırmasını-al.md)
- [İşletme profil bilgilerini al](https://gowa-docs.mintlify.site/tr/api-reference/user/i̇şletme-profil-bilgilerini-al.md)


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