POST
/v1/media
Upload media to send
Raw bytes in the request body with the `Content-Type` of the file (image, video, audio, document). Returns a `mediaId` to use as `media: { path }` in send_message. Not available as an MCP tool.
Parâmetros de query
- numberIdstringObrigatório
- The number id, as returned by list_numbers.
Resposta (object)
- mediaIdstringObrigatório
curl -X POST "https://zaiped.com/v1/media" \ -H "Authorization: Bearer zp_..."