POST
request to the following endpoint:/publish/resources/upload
endpoint.<base_url>
with the extension's Base URL. You can configure the Base URL via the Developer Portal.X-Canva-Signatures
x-canva-signatures
).X-Canva-Timestamp
x-canva-timestamp
).user
brand
label
id
preferredThumbnailHeight
preferredThumbnailWidth
type
"SUCCESS"
resource
resource.id
resource.name
resource.type
"CONTAINER"
resources as folders and "IMAGE"
resources as files. Enum: "CONTAINER"
, "IMAGE"
resource.isOwner
true
indicates that the user is the owner of the resource.resource.readOnly
true
indicates that the user has read-only access to the resource.type
"ERROR"
errorCode
"CONFIGURATION_REQUIRED"
, "FORBIDDEN"
, "INTERNAL_ERROR"
, "INVALID_REQUEST"
, "NOT_FOUND"
, "TIMEOUT"
401
status code.url
height
width