WhatsApp Flows

Generate Flow Preview URL API

To retrieve a preview URL for a specific WhatsApp Flow using Meta's Flows API, you can make an HTTP GET request to the designated endpoint. This allows you to visualize and interact with the flow before deploying it to end users, facilitating testing and validation of the flow's functionality and user experience.

For detailed instructions on generating a web preview URL, refer to Meta's official documentation: https://developers.facebook.com/docs/whatsapp/flows/reference/flowsapi

get/v3/metainfo/flow/preview

Request

  • Base URL
    https://cpaaswa.netcorecloud.net/api
  • URL
    https://cpaaswa.netcorecloud.net/api/v3/metainfo/flow/preview
  • Auth
    HTTP bearer

Query parameters

flow_idstring required

Unique identifier assigned to each WhatsApp Flow.

Response

Successfully generated flow preview URL

statusstring required
messagestring required

Example response

{
  "status": "success",
  "message": "Flow preview fetched successfully!",
  "data": {
    "preview_url": "https://business.facebook.com/wa/manage/flows/1097149801870954/preview/?token=2919d2eb-7d0f-4cf7-8b22-3b9f79fe3679",
    "expires_at": "2025-04-19T11:27:54+0000",
    "flow_id": "1097149801870954"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.