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.
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
idkeymedia_typemime_typefilename