flow api
Journals · GET

lastOutgoingMessages

List the messages sent in the last N minutes, with their delivery status.

Endpoint

GET https://flowapi.pro/waInstance{idInstance}/lastOutgoingMessages/{apiTokenInstance}?minutes=1440

Example

curl "https://flowapi.pro/waInstance{idInstance}/lastOutgoingMessages/{apiTokenInstance}?minutes=1440"

Response

[
  {
    "type": "outgoing",
    "idMessage": "3EB0C1A7F2D4E8B91C",
    "chatId": "972501234567@c.us",
    "textMessage": "Your code is 4821",
    "statusMessage": "read"
  }
]
Green API compatible. lastOutgoingMessages uses the same name, request body and response as Green API, so existing code works after you change the host to flowapi.pro. Errors: 401 wrong instance or token, 402 trial ended or number not covered by your plan, 400 with a message for anything else.

More journals methods

Try it on your own number

7 days free, no credit card. Then $10 per number per month.

Start free trial