Create Asset (PreUpload)

Overview

This API can be used to generate a signed URL for uploading an asset.

Caller can upload content using 'contentUrl' returned in the response.

Scope

Client application must have 'app.conversation.notificationmgr.interaction.manage' scope assigned.

SecurityoAuthClient
Request
Request Body schema: application/json
required
object
name
required
string [ 1 .. 255 ] characters

Name of an asset with an extension.

size
required
integer [ 1 .. 10485760 ]
Responses
200

OK

400

Bad Request

401

Unauthorized

500

Internal server error

post/assets
Request samples
application/json
{
  • "channel": {
    },
  • "name": "bird.jpg",
  • "size": 17245
}
Response samples
application/json
{}