Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Mark messages as read with optional typing indicator
import { WhatsAppClient } from '@kapso/whatsapp-cloud-api'; const client = new WhatsAppClient({ baseUrl: 'https://api.kapso.ai/meta/whatsapp', kapsoApiKey: process.env.KAPSO_API_KEY! }); await client.messages.markRead({ phoneNumberId: '647015955153740', messageId: 'wamid.HBgNMTU1NTE0OTU5Nzg1FQIAERgSMDhGRjdBMDEyOTcxQzFFQkFBAA==' });
curl -X POST 'https://api.kapso.ai/meta/whatsapp/v24.0/647015955153740/messages' \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "messaging_product": "whatsapp", "status": "read", "message_id": "wamid.HBgNMTU1NTE0OTU5Nzg1FQIAERgSMDhGRjdBMDEyOTcxQzFFQkFBAA==" }'
import { WhatsAppClient } from '@kapso/whatsapp-cloud-api'; const client = new WhatsAppClient({ baseUrl: 'https://api.kapso.ai/meta/whatsapp', kapsoApiKey: process.env.KAPSO_API_KEY! }); await client.messages.markRead({ phoneNumberId: '647015955153740', messageId: 'wamid.HBgNMTU1NTE0OTU5Nzg1FQIAERgSMDhGRjdBMDEyOTcxQzFFQkFBAA==', typingIndicator: { type: 'text' } });
curl -X POST 'https://api.kapso.ai/meta/whatsapp/v24.0/647015955153740/messages' \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "messaging_product": "whatsapp", "status": "read", "message_id": "wamid.HBgNMTU1NTE0OTU5Nzg1FQIAERgSMDhGRjdBMDEyOTcxQzFFQkFBAA==", "typing_indicator": { "type": "text" } }'
Was this page helpful?