Surveys

Host card media

Host an image or video for use as rich-card media.

post/media/upload

Request

  • Base URL: https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent
  • URL: https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent/media/upload
  • Auth: HTTP bearer

Request body

base64string

Raw base64 or data: URL of the image bytes.

mimestring

Image MIME type (required with base64), e.g. image/png.

filenamestring
sourceUrlstring

https image URL to fetch and re-host onto GCS.

Response

Success.

object required

Changes

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