flow api
Calls · POST

callsSetRecording

Calls (beta): turn call recording on or off for this number. Both sides are saved as one WAV file, kept 30 days, and returned as recordingUrl in the call webhooks and call journals.

Video walkthrough: callsSetRecording · 14 seconds · click the bar to jump to a step

Endpoint

POST https://flowapi.pro/waInstance{idInstance}/callsSetRecording/{apiTokenInstance}

Request body

{
  "enabled": true,
  "consent": true
}

Example

curl -X POST "https://flowapi.pro/waInstance{idInstance}/callsSetRecording/{apiTokenInstance}" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"consent":true}'

Response

{
  "callRecording": "yes",
  "consentAt": "2026-11-16T14:35:58.326Z"
}

Notes

  • Turning it on requires "consent": true. It confirms that you are responsible for the call-recording and privacy laws that apply to you and to the people you call. Some places allow one participant to record (for example Israel and most US states); others require every participant to agree (for example California, Florida, Washington and Pennsylvania); GDPR also requires a lawful reason and telling people.
  • Tell callers the call is recorded at the start of the call.
  • Send {"enabled":false} to stop recording. This is general information, not legal advice.
Green API compatible. callsSetRecording 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