query
property).type
property that identifies if the request was successful or not.type
property is "SUCCESS"
, the response body must conform to a schema that is (typically) determined by the path of the request. The exact schemas are detailed in the API reference documentation.type
property is "ERROR"
, the response must contain an errorCode
property that indicates what went wrong. The supported error codes are listed in the API reference documentation."ERROR"
response:200
status code—even if an error has occurred. The only exception to this rule is when a request fails signature verification. In that case, the endpoint should reject the request with a 401
status code.canva.com
domain. If an app is available in the China region, requests arrive from the canva.cn
domain.canva.com
. If you’re developing an app in China, replace references to canva.com
with canva.cn
.