WhatsApp Flows

Register a Flows encryption key

Register (or replace) the RSA business public key for WhatsApp Flows endpoint encryption on the phone number. Uploading a new key replaces the previous one: only one key is active per phone number. The corresponding private key must be served by the flow's endpoint, or endpoint-backed flows (flow_action: data_exchange) will fail at runtime even though the key is registered.

post/v1/whatsapp/flows/encryption-key

Request body

accountIdstring required

WhatsApp social account ID

businessPublicKeystring required

RSA public key in PEM format. Rejected if it is a private key or not a valid RSA public key PEM.

Response

Encryption key registered

successboolean

Changes

Changed in 1 of the 32 revisions of this API.1