channels
zalo
zalo-service-management
zalo-media-management

Upload Zalo media

Uploads an image file to Zalo and returns the media ID that can be referenced in template content.

post/zalo/1/sender/{sender}/media

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

senderstring required

Sender ID.

Request body multipart/form-data

filestring binary required

Image file to upload. Supported formats: JPG and PNG.

Response

Media uploaded

mediaIdstring required

Identifier of the uploaded media returned by Zalo.

Example response

{
  "mediaId": "dbuzvadgdaaq9jjam7"
}

Changes

No recorded changes to this operation across all 1 revision of this API.