Get Preview URL

GET {{base-url}}/{{flow-id}}?fields=preview.invalidate(false)

Returns link to web page with preview of the flow. The link has an expiry time which is returned in the response. The same link will be returned as long as it's still valid, a new link will be generated when it expires.

To generate a new link and invalidate the existing link, set

fields=preview.invalidate(true)

Request Params

| Key | Datatype | Required | Description | | fields | string | | Set to true to generate a new preview link and expire old link | | date_format | string | | Returns date as unix timestamp in seconds |

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: OK

{"preview":{"preview_url":"https://business.facebook.com/wa/manage/flows/550.../preview/?token=b9d6....","expires_at":"2023-05-21T11:18:09+0000"},"id":"flow-1"}