flow api
Calls · GET

callsState

Calls (beta): the current call state.

Video walkthrough: callsState · 13 seconds · click the bar to jump to a step

Endpoint

GET https://flowapi.pro/waInstance{idInstance}/callsState/{apiTokenInstance}

Example

curl "https://flowapi.pro/waInstance{idInstance}/callsState/{apiTokenInstance}"

Response

{
  "state": "on-call",
  "info": {
    "id": "AC0E17D82A7B513089A667F636DD2AE5",
    "wid": "972501234567@c.us",
    "name": "Dana"
  }
}

Notes

  • idle, inc-call (ringing), out-call (calling), on-call. When idle after a call, reason says how it ended.
Green API compatible. callsState 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 calls methods

Try it on your own number

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

Start free trial