Kapso API icon

Kapso API

Send WhatsApp messages, templates, flows, media, contacts, broadcasts, and inbox records through Kapso. Choose a resource, then follow each operation setup hints.

Media → Get URL

AI-generated

Summary

Retrieve the public URL of a media item uploaded to Kapso WhatsApp by specifying the Kapso WhatsApp phone number and the media ID.

Inputs

  • Phone Number Name or ID — Selects the connected Kapso WhatsApp number to use for this operation, which is loaded from your Kapso project. You can choose from a list or specify an ID using an expression.
  • Media ID (required) — The identifier of the media item to get the URL for. This must be the digits-only ID returned by the Upload Media operation or a Kapso Trigger media attachment, with a length between 1 and 32 characters.

Output shape

an object containing the publicly accessible URL of the specified media item

The output will provide the media's public URL that can be used for accessing or sharing the media externally.

Links

Discussion