Lipachat Docs
  • Lipachat Docs
  • Getting Started
    • Getting Started with Lipachat
  • API
    • Sending Messages
    • Sending Media
    • Sending Buttons
    • Sending Interactive Lists
    • Templates
      • Creating a Template
      • Updating a Template
      • Listing Message Templates
      • Sending Message Templates
    • Whatsapp Flows
      • Creating a flow
      • Updating a flow
      • Get flow preview
      • Publish a flow
      • Send a flow
      • List all flows
    • Webhooks
  • Reference
    • Sandbox
  • Go Live
  • Guides
    • Build A Chat Bot
  • CRM Workflow
Powered by GitBook
On this page
  1. API
  2. Whatsapp Flows

Get flow preview

PreviousUpdating a flowNextPublish a flow

Last updated 5 months ago

GET https://gateway.lipachat.com/api/v1/whatsapp/manage/flow/:id/preview/url
NB: Replace :id with the flow id you want to preview

Headers

Name
Value

Content-Type

application/json

apiKey

Get apiKey from app portal settings tab

Response

{
  "timestamp": "2024-03-12T09:59:53.102792",
  "data": {
    "preview": {
      "preview_url": "https://business.facebook.com/wa/manage/flows/1115801529546359/preview/?token=3511a634-cc21-4322-b1d8-7f3abda2dd9d",
      "expires_at": "2024-04-11T06:59:53+0000"
    },
    "id": "1115801529546359"
  },
  "status": "success",
  "message": "",
  "errors": null
}
{
    "timestamp": "2024-09-15T20:06:38.675567555",
    "data": null,
    "status": "error",
    "message": "Request failed.",
    "errors": null
}
{
    "timestamp": "2024-09-15T20:07:23.464199513",
    "data": null,
    "status": "success",
    "message": "Invalid credentials",
    "errors": null
}
https://app.lipachat.com/app/settings