v1

latestOpenAPI 3.0.02026-07-2491237338.9 KB
WhatsApp Flows

generate a web preview URL with this flow.

In order to visualize the Flows created, you can generate a web preview URL with this request. The preview URL is public and can be shared with different stakeholders to visualize the Flow..

get/whatsapp/flows/{flowId}/preview

Path parameters

flowIdstring required
Example:flow-1

Flow ID.

Query parameters

invalidateboolean

the link will expire in 30 days in default, or if you set with invalidate=true which will generate a new link.

Response

Successfully generate the flow preview url.

previewUrlstring

The flow preview url

expiresAtstring date-time

Example response

{
  "previewUrl": "https://business.facebook.com/wa/manage/flows/123456/preview/?token=xxxx",
  "expiresAt": "2022-03-01T12:00:00.000Z"
}