Assets
Upload Asset
The upload asset endpoint facilitates users in uploading assets to the platform. By providing the height and width of the image, users will receive an upload URL to which they can make a PUT
request and attach the image to upload it. For more details click here. The uploaded asset will then be accessible at the URL received in the data object of the upload asset endpoint response.
POST
/
pub
/
v1
/
assets
/
upload
Headers
X-API-KEY
string
requiredAPI key needed to access our public endpoints. You can find yours under the 'Account' section of the website
Body
application/json
size
object
The approximate size of the image to be uploaded
Response
201 - application/json
data
object
err
object
The error if the request was not successful
Was this page helpful?