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

KeyDatatypeRequiredDescription
fieldsstringSet to true to generate a new preview link and expire old link
date_formatstringReturns date as unix timestamp in seconds

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"}