Agent/Upload Outbound Media
POST /v1/agent/conversations/{id}/media

Upload Outbound Media

Upload a file to send. Core stores it in its regional bucket under a workspace-namespaced key and returns the reference; the send path later presigns it into a link for nexus (no bytes ever reach nexus). Voice notes are transcoded to OGG.

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

Parameters

x-workspace-code string required in header
x-csrf-token string required in header
id string required in path

Response

id
string
key
string The stored object key; the send path presigns it into a link for nexus.
media_type
string
mime_type
string
filename
string