1. {uuid}
Sudonum API
  • Sudonum
    • v2
      • audiofiles
        • Get a list of your uploaded audio files (MP3)
        • Upload an audio file
        • Delete an uploaded MP3 audio file
      • logs
        • Get your billable number logs
        • Get your raw number logs
        • Get your voice-call logs
      • number
        • search
          • Search for Sudonum
        • bulk
          • Update Sudonums in bulk
          • Create Sudonums in bulk
          • Partial update Sudonums in bulk
        • {number}
          • Return the details for a Sudonum
          • Update a Sudonum
          • Delete a Sudonum
          • Partial update a Sudonum
        • Return all active Sudonum numbers
        • Buy a number
      • send-sms
        • Send an SMS
        • Send multiple SMSes.
      • status
        • Get the current status of the SMS Network
        • Get the current status of the Voice Network
      • webhooks
        • {name}
          • Return the details for a webhook
          • Update a webhook
          • Delete a webhook
          • Partially update a webhook
        • Get a list of your webhooks
        • Create a webhook
      • Whatsapp
        • accounts
          • WhatsApp Accounts
          • Single WhatsApp Account
        • chat-intro-logs
          • {chat intro log uuid}/status-logs
            • All status change logs for a Chat Intro Log
            • Status change log for a Chat Intro Log
          • All Chat Intro Logs
          • Single Chat Intro Log
        • chat-intros
          • {uuid}
            • Single Chat Intro
            • Update Chat Intro
            • Delete Chat Intro
            • Partially update Chat Intro
            • Partially update Chat Intro (application/json)
          • reply components
            • Interactive Flow Reply
            • Text Reply (Default)
            • Image Reply
            • Interactive Reply CTA
            • Interactive List Reply
            • Interactive Quick Reply
          • alternative reply components
            • Text Reply
            • Image Reply
            • Interactive Quick Reply
          • aparty connect
            • Interactive CTA Reply
            • Aparty Template
            • Text Reply
          • aparty components
            • Aparty notify Flow template
            • Aparty Template Components
            • Aparty Template Components + Aparty connect
          • Create a chat intro.
          • All Chat Intros
          • Create Chat Intro
          • Chat Intro Logs for a Chat Intro
        • message-templates
          • All WhatsApp Message Templates
          • WhatsApp Message Template
        • messages
          • {uuid}
            • Single WhatsApp Message
          • interactive messages
            • Interactive Flow Message - flow_id
            • Interactive Flow Message - flow_name
            • Send Interactive List Message
            • Send Interactive Quick Reply Message
            • Send Interactive Quick Reply Message + Media Header
            • Send Interactive Call-To-Action Message
            • Send Interactive Location Request Message
          • templates messages
            • Send Flow Template (custom token)
            • Send Flow Template (no params)
            • Send Message
            • Send Template (no body)
            • Send Template (body + url button)
            • Send Template (header IMAGE + body)
            • Send Template (header VIDEO + body)
            • Send Template (header TEXT + body)
            • Send Template (header LOCATION + body + button)
            • Send Template (Quick Reply with payload )
            • Send LTO Coupon Template (no expiry date)
            • Send LTO Coupon (WITH expiry date)
            • Send Carousel Message Template
            • Send OTP Template
            • Send Coupon Template
          • All Messages
          • All Messages from Campaign Log
          • Send Contact
          • Send Text Message
          • Send Media Message
          • Send Location Message
          • Send Reaction Message
        • webhooks
          • {uuid}
            • Single WhatsApp Webhook
            • Update a Webhook
            • Delete a Webhook
            • Partially update Webhook
          • All Webhooks
          • Create Webhook
        • template media
          • Upload Whatsapp Media
          • All Whatsapp Media
        • Flows
          • {uuid}
            • Retrieve a single flow.
              GET
            • Update a flow's name, status or category.
              PATCH
            • Not supported.
              DELETE
            • Fetch Meta's preview URL for a flow.
              GET
          • List the flows on your organisation's WABAs.
            GET
          • Not supported.
            POST
        • Leads
          • Submit WhatsApp number.
          • List the leads submitted against a WhatsApp number.
        • Start a chat intro
          POST
      • Campaigns
        • Campaigns
          • :uuid
            • Single Campaign
            • Replace Campaign
            • Update Campaign
            • Delete Campaign
            • Sample CSV for Campaign
            • Upload Contacts to Campaign
          • List of Campaigns
          • Create Campaign
        • Campaign Logs
          • :uuid
            • Single Campaign Log
            • Replace Campaign Log
            • Update Campaign Log
            • Delete Campaign Log
            • Opted-out Contacts
          • List of Campaign Logs
          • Create Campaign Log
          • Export Campaign Logs
        • Contacts
          • :uuid
            • Single Contact
            • Replace Contact
            • Update Contact
            • Delete Contact
          • List of Contacts
          • Create Contact
          • Download Contact CSV Sample File
          • Upload Contact CSV
          • Download Contact CSV sample file
        • Lists
          • :uuid
            • Single Campaign List
            • Replace Campaign List
            • Update Campaign List
            • Delete Campaign List
            • List Contacts under Campaign List
            • Export Contacts under Campaign List
          • List of Campaign Lists
          • Create Campaign List
        • Opt-outs
          • :uuid
            • Single Opt-out
            • Replace Opt-out
            • Update Opt-out
            • Single Opt-out/Opt-in Event
          • List of Opt-outs
          • Create Opt-out
          • List of Opt-out/Opt-in Events
      • Sumi Insights Config
        • /{uuid}
          • Edit Sumi Config
          • Get Sumi Config
        • Get Sumi Configs
        • Create Sumi Config
      • Sumi Agent Config
        • {uuid}
          • Config
        • All Configs
      • RoutingConfigs
        • List RoutingConfigs
        • Create a RoutingConfig
        • Retrieve a RoutingConfig
        • Replace a RoutingConfig
        • Update a RoutingConfig
        • Delete a RoutingConfig
      • Get an authentication token
        POST
      • Number prefixes available on your account
        GET
      • Call detail records
        GET
      • Number capabilities
        GET
      • Voice feature list
        GET
      • Number insights
        GET
      • SMS records
        GET
      • Start a call
        POST
      • Webhook types
        GET
    • v3
      • sumi
        • jobs
          • {uuid}
            • Retrieve a job
          • List Jobs
          • Submit a job
    • Schemas
      • JobSubmit
      • FlowStatus
      • MessagePage
      • Enquirer
      • ChatIntroCreate
      • Destination
      • BlankEnum
      • CampaignCategoryEnum
      • JobCreated
      • FlowCategory
      • Listing
      • ReplyAlt
      • TimeOfDay
      • CreateOptOutContactLogRequest
      • CreateCampaign
      • Message
      • PatchedListOptOutListRequest
      • OptOutEvent
      • ListOptOutListRequest
      • CreateCampaignRequest
      • PatchedUpdateCampaignRequest
      • UpdateCampaign
      • UpdateCampaignRequest
      • ListCampaign
      • ListOptOutList
      • ChatIntro
      • RouteConditions
      • Flow
      • CampaignErrorResponse
      • JobList
      • LeadSubmit
      • CampaignListContactUploadRequest
      • FlowList
      • MessageType
      • LeadRecord
      • RouteFallback
      • JobStatus
      • LeadPage
      • CampaignLog
      • MessageDirection
      • DetailBody
      • Route
      • FlowUpdate
      • JobDetail
      • TranscriptSegment
      • FlowPreview
      • MessageStatus
      • RoutingConfigWrite
      • CampaignStatusEnum
      • SumiInsights
      • PreviewError
      • RoutingConfigPatch
      • CampaignUploadResponse
      • ErrorsBody
      • MomentMatches
      • Detail
      • RoutingConfig
      • ChannelTypeEnum
      • Error
      • ContactUploadRequest
      • ValidationError
      • ReportCard
      • PaginatedRoutingConfigList
      • ContactUploadResponse
      • JobCallback
      • ValidationErrorBody
      • ResourcesExistBody
      • DetailBody
      • CreateCampaignList
      • CreateCampaignListRequest
      • CreateContact
      • CreateContactRequest
      • ValidationErrorBody
      • CreateOptOutContactLog
      • ExportJobResponse
      • ListCampaignList
      • ListCampaignLog
      • ListCampaignLogRequest
      • ListContactList
      • ListContacts
      • ListContactsRequest
      • NullEnum
      • OptOutCategoryEnum
      • OriginEnum
      • PaginatedListCampaignList
      • PaginatedListCampaignListList
      • PaginatedListCampaignLogList
      • PaginatedListContactsList
      • PaginatedListOptOutListList
      • PaginatedListContactListList
      • PaginatedOptOutEventList
      • PatchedListCampaignLogRequest
      • PatchedListContactsRequest
      • PatchedUpdateCampaignListRequest
      • UpdateCampaignList
      • UpdateCampaignListRequest
  1. {uuid}

Fetch Meta's preview URL for a flow.

GET
https://api.sudonum.com.com/v2/whatsapp/flows/{uuid}/preview/
Asks Meta for a web preview of the flow and returns the URL it hands back. The URL is short-lived and issued per request -- fetch it when you are about to open the preview rather than caching it.
This is the one route that calls Meta synchronously, so it is also the one that fails when Meta does. A flow that has not been created on Meta yet (empty flow_identifier) is a 400 without any call being made.
Requires the whatsapp.view_flow permission.

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.sudonum.com.com/v2/whatsapp/flows/c87e3622-970e-4526-8940-9033b18dcc53/preview/'

Responses

🟢200OK
application/json
Meta returned a preview URL.
Bodyapplication/json

Example
{
    "preview_url": "http://example.com"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠429Too Many Requests
Modified at 2026-08-31 07:42:46
Previous
Not supported.
Next
List the flows on your organisation's WABAs.
Built with