1. Meta
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
    • Account AI ayarlarini gunceller
    • OpenAI key ve model test eder
    • Kayitli AI API key degerini siler ve AI otomasyonunu kapatir
    • WhatsApp session icin AI analizlerini listeler
    • Mesaj AI analizini getirir
    • Mesaj AI analizini yeniden kuyruga alir
    • Mesaj AI analizi icin operator feedback kaydeder
    • Tamamlanmis AI analizinden operator onayli siparis olusturur
  • 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
      POST
    • Account Meta asset listesini getirir
      GET
    • Meta asset inbox/post sync calistirir
      POST
    • Meta asset ayarlarini gunceller
      PATCH
    • Meta asset erisimini soft-delete eder
      DELETE
    • Meta OAuth callback isler
      GET
    • Meta webhook verification challenge
      GET
    • Meta webhook event ingest
      POST
    • Meta DM thread listesini getirir
      GET
    • Meta thread mesajlarini getirir
      GET
    • Meta thread icinde mesaj gonderir
      POST
    • Meta thread okunmus isaretler
      POST
    • Meta post listesini getirir
      GET
    • Meta asset uzerinden post yayinlar
      POST
    • Meta post yorumlarini getirir
      GET
    • Meta yoruma cevap verir
      POST
  • 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. Meta

Meta thread mesajlarini getirir

GET
/meta/threads/{threadId}/messages

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

Query Params

Responses

🟢200
application/json
Basarili
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.ticaret.pro/meta/threads//messages?refresh&page&limit' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "status": true,
    "data": {
        "thread": {
            "id": "string",
            "accountId": "string",
            "metaAssetId": "string",
            "channel": "string",
            "externalThreadId": "string",
            "participantId": "string",
            "participantName": "string",
            "subject": "string",
            "status": "string",
            "lastMessage": {
                "property1": "string",
                "property2": "string"
            },
            "lastMessageAt": "2019-08-24T14:15:22.123Z",
            "unreadCount": 0,
            "metadata": {
                "property1": "string",
                "property2": "string"
            },
            "createdAt": "2019-08-24T14:15:22.123Z",
            "updatedAt": "2019-08-24T14:15:22.123Z",
            "entityVersion": "2019-08-24T14:15:22.123Z",
            "participant": {
                "id": "string",
                "name": "string",
                "username": "string",
                "profilePictureUrl": "string"
            },
            "asset": {
                "id": "string",
                "channel": "facebook_page",
                "metaAssetId": "string",
                "parentMetaAssetId": "string",
                "name": "string",
                "username": "string",
                "phoneNumber": "string",
                "profilePictureUrl": "string",
                "capabilities": {
                    "messaging": true,
                    "comments": true,
                    "publishing": true
                }
            },
            "crmInboxLink": {
                "id": "string",
                "accountId": "string",
                "channel": "provider_whatsapp",
                "sourceType": "wa_session",
                "sourceId": "string",
                "customer": {
                    "id": "string",
                    "accountId": "string",
                    "title": "string",
                    "shortName": "string",
                    "sector": "string",
                    "city": "string",
                    "notes": "string",
                    "source": "string",
                    "taxOffice": "string",
                    "taxNumber": "string",
                    "status": "active",
                    "primaryRepresentativeUserId": "string",
                    "primaryTeamGroupId": "string",
                    "representative": {
                        "id": "string",
                        "email": "string",
                        "displayName": "string",
                        "status": "string"
                    },
                    "team": {},
                    "createdAt": "2019-08-24T14:15:22.123Z",
                    "updatedAt": "2019-08-24T14:15:22.123Z"
                },
                "contacts": [
                    {
                        "id": "string",
                        "accountId": "string",
                        "customerId": "string",
                        "firstName": "string",
                        "lastName": "string",
                        "displayName": "string",
                        "email": "string",
                        "role": "string",
                        "title": "string",
                        "profession": "string",
                        "notes": "string",
                        "phones": [
                            {
                                "type": "string",
                                "label": "string",
                                "value": "string",
                                "normalized": "string",
                                "whatsappJid": "string",
                                "isWhatsapp": true,
                                "isPrimary": true
                            }
                        ],
                        "isPrimary": true,
                        "status": "active",
                        "createdAt": "2019-08-24T14:15:22.123Z",
                        "updatedAt": "2019-08-24T14:15:22.123Z"
                    }
                ],
                "status": "string",
                "source": {
                    "channel": "provider_whatsapp",
                    "sourceType": "wa_session",
                    "sourceId": "string",
                    "label": "string",
                    "status": "string",
                    "meta": {
                        "property1": "string",
                        "property2": "string"
                    },
                    "updatedAt": "2019-08-24T14:15:22.123Z"
                },
                "metadata": {
                    "property1": "string",
                    "property2": "string"
                },
                "createdAt": "2019-08-24T14:15:22.123Z",
                "updatedAt": "2019-08-24T14:15:22.123Z"
            }
        },
        "rows": [
            {
                "id": "string",
                "accountId": "string",
                "metaAssetId": "string",
                "threadId": "string",
                "channel": "string",
                "externalThreadId": "string",
                "externalMessageId": "string",
                "direction": "incoming",
                "from": {
                    "id": "string",
                    "name": "string",
                    "username": "string",
                    "profilePictureUrl": "string"
                },
                "to": [
                    {
                        "id": "string",
                        "name": "string",
                        "username": "string",
                        "profilePictureUrl": "string"
                    }
                ],
                "type": "string",
                "text": "string",
                "attachments": [
                    {
                        "property1": "string",
                        "property2": "string"
                    }
                ],
                "status": "string",
                "operationId": "string",
                "sourceTimestamp": "2019-08-24T14:15:22.123Z",
                "raw": {
                    "property1": "string",
                    "property2": "string"
                },
                "metadata": {
                    "property1": "string",
                    "property2": "string"
                },
                "createdAt": "2019-08-24T14:15:22.123Z",
                "updatedAt": "2019-08-24T14:15:22.123Z",
                "entityVersion": "2019-08-24T14:15:22.123Z",
                "asset": {
                    "id": "string",
                    "channel": "facebook_page",
                    "metaAssetId": "string",
                    "parentMetaAssetId": "string",
                    "name": "string",
                    "username": "string",
                    "phoneNumber": "string",
                    "profilePictureUrl": "string",
                    "capabilities": {
                        "messaging": true,
                        "comments": true,
                        "publishing": true
                    }
                }
            }
        ],
        "page": 0,
        "limit": 0,
        "total": 0,
        "asset": {
            "id": "string",
            "channel": "facebook_page",
            "metaAssetId": "string",
            "parentMetaAssetId": "string",
            "name": "string",
            "username": "string",
            "phoneNumber": "string",
            "profilePictureUrl": "string",
            "capabilities": {
                "messaging": true,
                "comments": true,
                "publishing": true
            }
        }
    }
}
Previous
Meta DM thread listesini getirir
Next
Meta thread icinde mesaj gonderir
Built with