---
title: "Comment by Budi Ramadhanus on \"🗨️ Build a WhatsApp API using Node & Express\" | Hashnode"
description: "Im looking delivery message (pending, Delivered, read) can u explaint about that function ?"
url: "https://hashnode.com/posts/whatsapp-api-node-express/61d9864acda0d0294b695f9d/comment/6309bf5638843b7139784b75"
---

[Discussion](https://hashnode.com/posts/whatsapp-api-node-express/61d9864acda0d0294b695f9d)

Comment [🗨️ Build a WhatsApp API using Node & Express](https://hashnode.com/posts/whatsapp-api-node-express/61d9864acda0d0294b695f9d)

[Budi Ramadhanus](https://hashnode.com/@Brama)

[Aug 27, 2022](https://hashnode.com/posts/whatsapp-api-node-express/61d9864acda0d0294b695f9d/comment/6309bf5638843b7139784b75)

Im looking delivery message (pending, Delivered, read) can u explaint about that function ?

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

[Aug 27, 2022](https://hashnode.com/posts/whatsapp-api-node-express/61d9864acda0d0294b695f9d/comment/6309bf5638843b7139784b75#reply-6309d84638843b713978501d)

Do you want to get the status of a message if that is pending, delivered or read??

If that's what you want, you can do something like this:

```
// Store the sent message in a variable
const sentMessage = await client.sendMessage(chatId, content);

console.log(sentMessage.ack)
```

`sentMessage.ack` will be either one of these:

-   `ACK_ERROR`
-   `ACK_PENDING`
-   `ACK_SERVER`
-   `ACK_DEVICE`
-   `ACK_READ`
-   `ACK_PLAYED`

For more information, you can refer the [docs](https://docs.wwebjs.dev/global.html#MessageAck)
