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.
Query parameters
- numberIdstringRequired
- The number id, as returned by list_numbers.
Response (object)
- mediaIdstringRequired
curl -X POST "https://zaiped.com/v1/media" \ -H "Authorization: Bearer zp_..."