channels
whatsapp
whatsapp-service-management
whatsapp-flow-management

Get WhatsApp Flow's preview

Get flow's preview URL. Link does not require login and will expire in 30 days.

get/whatsapp/1/senders/{sender}/flows/{flowId}/preview

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

senderstring required

Registered WhatsApp sender number. Must be in international format.

flowIdstring required

ID of the flow for which the preview URL will be generated.

Response

Flow's preview URL

previewUrlstring required

Link for the preview page.

expiresAtstring date-time required

Time when the link will expire and the developer needs to call the API again to get a new link. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.

Example response

{
  "previewUrl": "https://example.com/",
  "expiresAt": "2023-05-21T11:18:09Z"
}

Changes

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