flow api
Guide

Record WhatsApp calls automatically

Turn on call recording for a number and every answered call, incoming or outgoing, is saved as one audio file with both sides. You get the link in the call webhook and in the call journal.

Video walkthrough: Record WhatsApp calls automatically · 27 seconds · click the bar to jump to a step

Turn it on

  1. 1Link calls for the number: Calls tab, scan the QR code once.
  2. 2Switch on Record calls and confirm the legal notice.
  3. 3Or with the API: callsSetRecording with {"enabled":true,"consent":true}.

Get the recordings

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

[{ "idMessage": "AC0E17D82A7B513089A667F636DD2AE5", "chatId": "972501234567@c.us",
   "duration": 42, "status": "pickUp", "recordingUrl": "https://…/call-recordings/….wav" }]

What you get

  • One WAV file per answered call with both sides, about 29 MB per hour.
  • A recordingUrl in the incomingCall and outgoingCall webhooks (valid for 7 days) and in the call journals (valid for 1 hour, fresh on every request).
  • Recordings are deleted automatically after 30 days.

Stay on the right side of the law

  • Recording laws differ: some places let one participant record (for example Israel and most US states); others require every participant to agree (for example California, Florida, Washington and Pennsylvania).
  • In the EU and UK, data-protection law (GDPR) also requires a lawful reason and telling people.
  • Tell callers at the start: "This call is recorded." This is general information, not legal advice.

Questions

Are unanswered calls recorded?

No. Only answered calls are saved.

Can I turn it off?

Yes, any time from the Calls tab or with callsSetRecording {"enabled":false}.

Try it on your own number

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

Start free trial

Related