Kapsamlı API'mızla güçlü WhatsApp entegrasyonları oluşturun. Mesaj gönderin, örnekleri yönetin ve iletişim iş akışlarınızı otomatikleştirin.
WhatsApp Web API, WhatsApp'ı uygulamalarınıza entegre etmenin basit ve güçlü bir yolunu sunar.
Henüz kimlik bilgileriniz yok mu? Buradan abone olun Erişim Simgenizi ve Örnek Kimliğinizi almak için.
https://wonotify.com/api/...
https://wonotify.com/whatsapp_api/...
WhatsApp Web'e bağlanmak için yeni bir Örnek Kimliği oluşturun.
https://wonotify.com/api/create_instance?access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
access_token | string | Yes | Your API access token |
curl -X POST 'https://wonotify.com/api/create_instance?access_token=6881c11f741a1'
WhatsApp web'den çıkış yapın ve yeni bir tarama yapın.
https://wonotify.com/api/reboot?instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Bu, WhatsApp web'den çıkış yapacak, Örnek Kimliğini değiştirecek ve tüm eski örnek verilerini silecektir.
https://wonotify.com/api/reset_instance?instance_id=609ACF283XXXX&access_token=6881c11f741a1
Bağlantı kesildiğinde uygulamadan WhatsApp web'e bağlantıyı yeniden başlatın.
https://wonotify.com/api/reconnect?instance_id=609ACF283XXXX&access_token=6881c11f741a1
WhatsApp Web örneğinden çıkış yapın.
https://wonotify.com/api/logout?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
WhatsApp web'e giriş yapmak için QR kodunu görüntüleyin. Döndürülen sonuçları Webhook aracılığıyla alabilirsiniz.
https://wonotify.com/api/get_qrcode?instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Uygulama aracılığıyla bir telefon numarasına kısa mesaj gönderin.
https://wonotify.com/api/send?number=84933313xxx&type=text&message=test+message&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://wonotify.com/api/send
Content-Type: application/json
{
"number": "84933313xxx",
"type": "text",
"message": "test message",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
number | string | Yes | Phone number (without +) |
type | string | Yes | Message type: "text" |
message | string | Yes | Text message content |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Uygulama aracılığıyla bir telefon numarasına mesaj içeren bir medya veya dosya gönderin.
https://wonotify.com/api/send?number=84933313xxx&type=media&message=test+message&media_url=https%3A%2F%2Fi.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://wonotify.com/api/send
Content-Type: application/json
{
"number": "84933313xxx",
"type": "media",
"message": "test message",
"media_url": "https://i.pravatar.cc",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
number | string | Yes | Phone number (without +) |
type | string | Yes | Message type: "media" |
message | string | Yes | Caption for the media |
media_url | string | Yes | URL of the media file |
filename | string | No | Filename (for documents: file_test.pdf) |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Uygulama aracılığıyla bir telefon numarasına Şablon mesajı gönderin.
https://wonotify.com/api/send_template?instance_id=609ACF283XXXX&access_token=6881c11f741a1
Content-Type: application/json
{
"number": "84933313xxx",
"type": "interactive",
"message": {
"text": "This is an Interactive message!",
"title": "Test Title",
"subtitle": "subtitle",
"footer": "test footer",
"interactiveButtons": [
{
"name": "quick_reply",
"buttonParamsJson": "{\"display_text\":\"Test\",\"id\":\"685250bce39ca\"}"
},
{
"name": "cta_url",
"buttonParamsJson": "{\"display_text\":\"Click me!\",\"url\":\"https://baceoin.com\"}"
},
{
"name": "cta_call",
"buttonParamsJson": "{\"display_text\":\"Call Us\",\"phone_number\":\"+1234567890\"}"
},
{
"name": "cta_copy",
"buttonParamsJson": "{\"display_text\":\"Copy Code\",\"copy_code\":\"PROMO2024\"}"
}
]
}
}
Content-Type: application/json
{
"number": "84933313xxx",
"type": "template",
"message": {
"text": "This is a template message!",
"footer": "test footer",
"templateButtons": [
{
"index": 1,
"quickReplyButton": {
"displayText": "Test",
"id": "685250bce39ca"
}
}
]
}
}
Content-Type: application/json
{
"number": "84933313xxx",
"type": "list",
"message": {
"text": "hello",
"footer": "test footer",
"title": "test title",
"buttonText": "bay",
"sections": [
{
"title": "hello",
"rows": [
{
"title": "hello",
"rowId": "685410595972e",
"description": "hello"
}
]
}
]
}
}
Bir WhatsApp grubuna kısa mesaj gönderin.
https://wonotify.com/api/send_group?group_id=120363023285171234@g.us&type=text&message=group+message&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://wonotify.com/api/send_group
Content-Type: application/json
{
"group_id": "120363023285171234@g.us",
"type": "text",
"message": "group message",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | Yes | WhatsApp group ID (ends with @g.us) |
type | string | Yes | Message type: "text" |
message | string | Yes | Text message content |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Medya veya dosyaları altyazılı olarak bir WhatsApp grubuna gönderin.
https://wonotify.com/api/send_group?group_id=120363023285171234@g.us&type=media&message=group+message&media_url=https%3A%2F%2Fi.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://wonotify.com/api/send_group
Content-Type: application/json
{
"group_id": "120363023285171234@g.us",
"type": "media",
"message": "group message",
"media_url": "https://i.pravatar.cc",
"filename": "file_test.jpg",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | Yes | WhatsApp group ID (ends with @g.us) |
type | string | Yes | Message type: "media" |
message | string | Yes | Caption for the media |
media_url | string | Yes | URL of the media file |
filename | string | No | Filename (for documents: file_test.pdf) |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
WhatsApp'tan tüm dönüş değerlerini alın. Bağlantı durumu, Gelen mesaj, Giden mesaj, Bağlantı Kesildi, Pili Değiştir gibi...
https://wonotify.com/api/set_webhook?webhook_url=https%3A%2F%2Fwebhook.site%2F1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_url | string | Yes | Your webhook URL (URL encoded) |
enable | boolean | Yes | Enable/disable webhook (true/false) |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |