Agent/Get Media URL
GET /v1/agent/conversations/{id}/activities/{activity_id}/media/url

Get Media URL

A short-lived URL for a message's media, loadable directly in an `<img>`/`<video>`/`<audio>` (which can't send the workspace header). In prod it's a presigned S3 URL to the regional bucket; in dev it's a signed URL back to the media-file endpoint. Core never proxies the bytes.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl https://api.{cluster}.{platform}.voiger.io/v1/agent/conversations/{id}/activities/{activity_id}/media/url \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code"

Parameters

x-workspace-code string required in header
id string required in path
activity_id string required in path
The media message activity.

Response

url
string A short-lived URL the browser can load the media from directly.