---
title: "Send Message to opened session"
method: POST
path: "/api/v1/sendSessionMessage/{whatsappNumber}"
tags: ["Messaging"]
---

# Send Message to opened session

`POST /api/v1/sendSessionMessage/{whatsappNumber}`

## Path parameters

- `whatsappNumber` string, required

## Query parameters

- `messageText` string, required
- `replyContextId` string
- `channelPhoneNumber` string
- `localMessageId` string

## Response `200`

Send text message to opened session success

- object
  - `ok` boolean — Indicates whether the text message was sent successfully.
  - `result` string — Result status of the operation (e.g. 'success').
  - `message` object — Detailed information about the sent WhatsApp text message.
    - `whatsappMessageId` string — Unique WhatsApp message identifier.
    - `localMessageId` unknown
    - `text` string — Text content of the message.
    - `media` unknown
    - `messageContact` unknown
    - `location` unknown
    - `type` string — Type of the message (e.g. 'text').
    - `time` string — Unix timestamp (as string) when the message was created.
    - `status` integer — Numeric status code of the message.
    - `statusString` unknown
    - `isOwner` boolean — Whether the message was sent by the business (true) or the user (false).
    - `isUnread` boolean — Whether the message is unread.
    - `ticketId` string — Ticket ID associated with this message.
    - `avatarUrl` unknown
    - `assignedId` unknown
    - `operatorName` unknown
    - `replyContextId` unknown
    - `sourceType` integer — Numeric source type of the message.
    - `id` string — Internal ID of the message record.
    - `created` string — Timestamp when the message record was created.
    - `conversationId` string — Conversation ID this message belongs to.

---

[API](https://skmtc.dev/wati/apis/api-documentation-v3.md) · [All operations](https://skmtc.dev/wati/apis/api-documentation-v3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wati/api-documentation-v3/revisions/dee16d2c7d41/schema)
