flow api
Journals · GET

lastIncomingCalls

List incoming calls of the last N minutes with how each ended: pickUp, hungUp or declined. Recorded calls include a recordingUrl valid for one hour.

Video walkthrough: lastIncomingCalls · 16 seconds · click the bar to jump to a step

Endpoint

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

Example

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

Response

[
  {
    "type": "incoming",
    "idMessage": "F33E8701A1B24DE04254CBBAE21EC046",
    "timestamp": 1791819789,
    "typeMessage": "incomingCall",
    "chatId": "972501234567@c.us",
    "isVideo": false,
    "status": "pickUp",
    "isGroup": false
  }
]
Green API compatible. lastIncomingCalls 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, 429 rate limit reached (wait the seconds in the Retry-After header), 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