Skip to content

Get review template media presigned S3 url

Request

Query
typestring, non-empty^LOGO_PHOTO$required

Type of the media to upload

Value:"LOGO_PHOTO"
contentTypestring, non-empty^(image/png|image/jpeg)$required

Content type of the media to upload

Enum:"image/png""image/jpeg"
fileNamestring, non-emptyrequired

File name of the media to upload, used to build the S3 object key

curl -i -X GET \
  'https://uberall.com/api/customer-engagement/review-template/media/upload-url?type=LOGO_PHOTO&contentType=image%2Fpng&fileName=string'

Responses

OK response

Bodyapplication/json
mediaIdinteger or null, (int64)
messagestring or null
uploadUrlstring or null
Response
{ "mediaId": 0, "message": "string", "uploadUrl": "string" }