Whatsbotg API Kılavuzu

Bu doküman, WhatsApp API'sinin sunduğu endpoint'leri (servis noktalarını) ve işlevlerini basit bir dille açıklamaktadır.

Uygulama (App)

Uygulamanın WhatsApp sunucularıyla olan temel bağlantı ve kimlik doğrulama işlemlerini yönetir.

GET /app/login

GET /app/login-with-code

GET /app/logout

GET /app/reconnect

GET /app/devices

GET /app/status


Kullanıcı (User)

Kullanıcı bilgileri, profil ayarları ve kişi listesi gibi işlemleri yönetir.

GET /user/info

GET /user/avatar

POST /user/avatar

POST /user/pushname

GET /user/my/privacy

GET /user/my/groups

GET /user/my/newsletters

GET /user/my/contacts

GET /user/check

GET /user/business-profile


Sohbet (Chat)

Sohbet listesini ve sohbet geçmişini yönetmek için kullanılır.

GET /chats

GET /chat/{chat_jid}/messages

POST /chat/{chat_jid}/pin


Mesaj Gönderme (Send)

Farklı türlerde (metin, resim, video, dosya vb.) mesaj gönderme işlemlerini gerçekleştirir.

POST /send/message

POST /send/image

POST /send/sticker

POST /send/audio

POST /send/file

POST /send/video

POST /send/contact

POST /send/link

POST /send/location

POST /send/poll

POST /send/presence

POST /send/chat-presence


Mesaj Yönetimi (Message)

Gönderilmiş mesajlar üzerinde işlem yapmayı sağlar (silme, düzenleme, tepki verme vb.).

POST /message/{message_id}/revoke

POST /message/{message_id}/delete

POST /message/{message_id}/reaction

POST /message/{message_id}/update

POST /message/{message_id}/read

POST /message/{message_id}/star

POST /message/{message_id}/unstar

GET /message/{message_id}/download


Grup (Group)

WhatsApp gruplarını yönetmek için kullanılır (grup oluşturma, üye ekleme/çıkarma vb.).

POST /group

GET /group/info

GET /group/info-from-link

GET /group/participants

GET /group/participants/export

POST /group/participants

POST /group/participants/remove

POST /group/participants/promote

POST /group/participants/demote

POST /group/join-with-link

GET /group/participant-requests

POST /group/participant-requests/approve

POST /group/participant-requests/reject

POST /group/leave

POST /group/photo

POST /group/name

POST /group/locked

POST /group/announce

POST /group/topic

GET /group/invite-link


Haber Bülteni (Newsletter)

Haber bültenlerini yönetmek için kullanılır.

POST /newsletter/unfollow