1. AI
Ticaret
  • Auth
    • Email/şifre ile giriş
      POST
    • Çıkış (v1 no-op)
      POST
    • Yeni kullanici kaydi olusturur
      POST
    • Parola sifirlama maili gonderir
      POST
    • Reset token ile parola yeniler
      POST
  • Accounts
    • Kullanıcının account listesini döner
      GET
    • Yeni account oluşturur
      POST
    • Account kullanıcılarını listeler
      GET
    • Account'a kullanıcı ekler veya bağlar
      POST
    • Kullanıcı rolünü günceller
      PATCH
    • API hesaplarını listeler
      GET
    • Yeni API hesabı oluşturur
      POST
    • API hesabı secret rotate eder
      POST
    • API hesabını revoke eder
      POST
    • Account'in erişebildiği WhatsApp sessionları listeler
      GET
    • Yeni WhatsApp session oluşturur
      POST
    • Account WhatsApp session erişimini kaldırır
      DELETE
    • WhatsApp session logout yapar
      POST
    • WhatsApp session paylaşımı yapar
      POST
    • WhatsApp session paylaşımını kaldırır
      DELETE
    • Account webhook listesini getirir
      GET
    • Yeni webhook olusturur
      POST
    • Webhook detayini getirir
      GET
    • Webhook ayarlarini gunceller
      PATCH
    • Webhook teslimatini duraklatir
      POST
    • Webhook teslimatini aktif eder
      POST
    • Webhook teslimat gecmisini listeler
      GET
  • WA Messages
    • Account label listesini döner
    • Label oluşturur
    • Label günceller
    • Label siler ve ilişkileri temizler
    • Label işlem geçmişini listeler
    • Yetkili kullanici icin provider CDN medyasini stream eder
    • Chat label listesini döner
    • Chat'e label ekler
    • Chat label listesini toplu set eder
    • Chat'ten label kaldırır
    • Mesaj label listesini döner
    • Mesaja label ekler
    • Mesaj label listesini toplu set eder
    • Mesajdan label kaldırır
    • Sohbet mesajlarını listeler
    • Tek endpoint ile tüm mesaj aksiyonlarını çalıştırır
    • Mesajları okundu işaretler (kolaylık endpointi)
  • WA Chats
    • Sohbetleri listeler
    • Sohbet detayını getirir
  • WA Contacts
    • Kişi/grup listesini getirir
    • Tek bir kişi/grup bilgisini getirir
  • Console
    • Canli izleme paneli (HTML)
    • Canli SSE event stream
  • CRM
    • CRM gruplarını listeler
    • CRM grubu oluşturur
    • CRM grup detayını getirir
    • CRM grubunu günceller
    • CRM grubunu siler
    • Grup üyelerini listeler
    • Gruba kullanıcı ekler
    • Grup üyelerini toplu set eder
    • Gruptan kullanıcı çıkarır
    • Kullanıcının CRM gruplarını listeler
    • CRM assignment audit geçmişini listeler
    • Chatleri toplu atar
    • Chat assignmentlarını toplu kaldırır
    • Chat assignment bilgisini getirir
    • Chat assignment set/change eder
    • Chat assignment kaldırır
    • Mesajları toplu atar
    • Mesaj assignmentlarını toplu kaldırır
    • Mesaj assignment bilgisini getirir
    • Mesaj assignment set/change eder
    • Mesaj assignment kaldırır
    • CRM customer listesini getirir
    • CRM customer olusturur
    • CRM customer detayini getirir
    • CRM customer gunceller
    • CRM customer soft-delete yapar
    • Customer contact listesini getirir
    • Customer contact olusturur
    • CRM contact listesini getirir
    • CRM contact detayini getirir
    • CRM contact gunceller veya baska customer altina tasir
    • CRM contact soft-delete yapar
    • Customer temsilcilerini getirir
    • Customer temsilci listesini set eder
    • Customer ekiplerini getirir
    • Customer ekip listesini set eder
    • Eslestirilmemis WhatsApp chat kimliklerini listeler
    • CRM identity mapping listesini getirir
    • WhatsApp kimligini customer/contact ile eslestirir
    • CRM identity mapping gunceller
    • CRM identity mapping kaldirir
    • Chat customer link bilgisini getirir
    • Chat mevcut customer/contact ile eslestirilir
    • Chat customer link kaldirilir
    • Chat uzerinden customer/contact olusturup eslestirir
    • CRM customer audit kayitlarini listeler
    • Customer notlarini listeler
    • Customer notu olusturur
    • Customer notunu gunceller
    • Customer notunu soft-delete eder
    • Customer yorumlarini listeler
    • Customer yorumu olusturur
    • Customer/task yorum detayini getirir
    • Customer/task yorumunu gunceller
    • Customer/task yorumunu soft-delete eder
    • CRM task listesini filtrelerle getirir
    • Customer task listesini getirir
    • Customer task olusturur
    • Task detayini getirir
    • Task gunceller
    • Task soft-delete eder
    • Task yorumlarini listeler
    • Task yorumu olusturur
    • Task watcher listesini getirir
    • Task watcher listesini set eder
    • Task checklist listesini getirir
    • Task checklist item olusturur
    • Task checklist item gunceller
    • Task checklist item soft-delete eder
    • Customer activity timeline getirir
    • CRM inbox link kaynaklarini listeler
    • CRM inbox link bilgisini getirir
    • CRM inbox link set eder veya temizler
    • CRM inbox link temizler
    • CRM firmaya bagli gelen kutularini listeler
  • AI
    • Account AI ayarlarini getirir
      GET
    • Account AI ayarlarini gunceller
      PUT
    • OpenAI key ve model test eder
      POST
    • Kayitli AI API key degerini siler ve AI otomasyonunu kapatir
      DELETE
    • WhatsApp session icin AI analizlerini listeler
      GET
    • Mesaj AI analizini getirir
      GET
    • Mesaj AI analizini yeniden kuyruga alir
      POST
    • Mesaj AI analizi icin operator feedback kaydeder
      POST
    • Tamamlanmis AI analizinden operator onayli siparis olusturur
      POST
  • Product Catalog
    • Account ürünlerini listeler
    • Account ürün kaydı oluşturur
    • Ürünleri JSON rows, CSV veya Excel dosyası ile içe aktarır
    • Tek ürün kaydını döner
    • Ürün kaydını günceller
    • Ürünü soft-delete eder
    • Ürün görsel metadata kaydı ekler
  • Meta
    • Meta OAuth onboarding URL olusturur
    • Account Meta asset listesini getirir
    • Meta asset inbox/post sync calistirir
    • Meta asset ayarlarini gunceller
    • Meta asset erisimini soft-delete eder
    • Meta OAuth callback isler
    • Meta webhook verification challenge
    • Meta webhook event ingest
    • Meta DM thread listesini getirir
    • Meta thread mesajlarini getirir
    • Meta thread icinde mesaj gonderir
    • Meta thread okunmus isaretler
    • Meta post listesini getirir
    • Meta asset uzerinden post yayinlar
    • Meta post yorumlarini getirir
    • Meta yoruma cevap verir
  • Instagram
    • Instagram Business Login OAuth onboarding URL olusturur
    • Instagram OAuth callback isler
    • Account Instagram hesap listesini getirir
    • Instagram hesap inbox/media sync calistirir
    • Instagram hesap ayarlarini gunceller
    • Instagram hesap erisimini soft-delete eder
    • Instagram webhook verification challenge
    • Instagram webhook event ingest
    • Instagram DM thread listesini getirir
    • Instagram thread mesajlarini getirir
    • Instagram thread icinde mesaj gonderir
    • Instagram thread okunmus isaretler
    • Instagram media listesini getirir
    • Instagram feed media publish eder
    • Instagram Reels publish eder
    • Instagram Story publish eder
    • Instagram media yorumlarini getirir
    • Instagram yoruma cevap verir
  • Orders
    • Account siparişlerini listeler
    • CRM firmaya bağlı sipariş oluşturur
    • Sipariş detayını getirir
    • Sipariş bilgilerini günceller
    • Siparişi soft-delete eder
    • Siparişe kalem ekler
    • Sipariş kalemini günceller
    • Sipariş kalemini siler
    • Sipariş durumunu değiştirir
    • CRM firma siparişlerini listeler
  1. AI

Mesaj AI analizini yeniden kuyruga alir

POST
/wa/chats/{remoteJid}/messages/{messageId}/ai-analysis/retry

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
API Key
Add parameter in header
x-api-secret
Example:
x-api-secret: ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Basarili
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ticaret.pro/wa/chats//messages//ai-analysis/retry' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "providerSessionId": "string"
}'
Response Response Example
{
    "status": true,
    "data": {
        "id": "string",
        "accountId": "string",
        "providerSessionId": "string",
        "remoteJid": "string",
        "messageId": "string",
        "provider": "openai",
        "model": "string",
        "status": "pending",
        "sourceType": "text",
        "trigger": "auto",
        "intent": "string",
        "action": "string",
        "priority": "string",
        "sentiment": "string",
        "summary": "string",
        "suggestedReply": "string",
        "confidence": 0,
        "entities": {
            "productName": "string",
            "color": "string",
            "size": "string",
            "amount": "string",
            "date": "string"
        },
        "visualDescription": "string",
        "warnings": [
            "string"
        ],
        "result": {},
        "input": {},
        "usage": {},
        "openaiResponseId": "string",
        "attemptCount": 0,
        "maxAttempts": 0,
        "nextAttemptAt": "2019-08-24T14:15:22.123Z",
        "lastError": {},
        "completedAt": "2019-08-24T14:15:22.123Z",
        "failedAt": "2019-08-24T14:15:22.123Z",
        "skippedAt": "2019-08-24T14:15:22.123Z",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "updatedAt": "2019-08-24T14:15:22.123Z",
        "entityVersion": "string",
        "productMatches": [
            {
                "productId": "string",
                "sku": "string",
                "name": "string",
                "confidence": 0,
                "price": 0,
                "currency": "string",
                "stockStatus": "string",
                "stockQuantity": 0,
                "productUrl": "string",
                "matchStatus": "high_confidence"
            }
        ],
        "visualSearch": {
            "query": "string",
            "visualDescription": "string",
            "attributes": {
                "productType": "string",
                "color": "string",
                "model": "string",
                "pattern": "string",
                "material": "string",
                "brand": "string",
                "visibleText": "string",
                "style": "string",
                "shape": "string",
                "otherFeatures": "string"
            },
            "warnings": [
                "string"
            ],
            "candidateCount": 0,
            "matchStatus": "not_searched",
            "responseId": "string",
            "usage": {}
        },
        "commerce": {
            "stage": "none",
            "orderReadiness": "not_applicable",
            "missingFields": [
                "customer"
            ],
            "orderDraft": {
                "customerId": "string",
                "contactId": "string",
                "items": [
                    {
                        "productId": "string",
                        "sku": "string",
                        "name": "string",
                        "quantity": 0,
                        "variantNote": "string",
                        "notes": "string",
                        "unitPrice": 0,
                        "currency": "string",
                        "stockStatus": "string",
                        "stockQuantity": 0,
                        "productUrl": "string",
                        "variantRequired": true
                    }
                ],
                "source": {
                    "channel": "provider_whatsapp",
                    "sourceId": "string",
                    "sourceType": "string",
                    "threadId": "string",
                    "messageId": "string"
                },
                "notes": "string"
            },
            "nextBestActions": [
                "reply"
            ]
        },
        "appliedActions": [
            {
                "type": "create_order",
                "orderId": "string",
                "orderNo": "string",
                "actorType": "string",
                "actorId": "string",
                "allowDuplicate": true,
                "createdAt": "2019-08-24T14:15:22.123Z"
            }
        ]
    }
}
Previous
Mesaj AI analizini getirir
Next
Mesaj AI analizi icin operator feedback kaydeder
Built with