{ "opencollection": "1.0.0", "info": { "name": "Canva Connect Assets API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Assets", "type": "folder" }, "items": [ { "info": { "name": "Canva Get an Asset", "type": "http" }, "http": { "method": "GET", "url": "https://api.canva.com/rest/v1/assets/:assetId", "params": [ { "name": "assetId", "value": "", "type": "path", "description": "The asset ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves metadata for a specific asset, including type, name, tags, owner, timestamps, thumbnail, and import status." }, { "info": { "name": "Canva Delete an Asset", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.canva.com/rest/v1/assets/:assetId", "params": [ { "name": "assetId", "value": "", "type": "path", "description": "The asset ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes an asset from the authenticated user's account." }, { "info": { "name": "Canva Upload an Asset", "type": "http" }, "http": { "method": "POST", "url": "https://api.canva.com/rest/v1/asset-uploads", "headers": [ { "name": "Asset-Upload-Metadata", "value": "example_value" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Uploads an image or video asset to the authenticated user's Canva account. The asset name is provided as a Base64-encoded string in the Asset-Upload-Metadata header. The request body contains the raw binary file content." }, { "info": { "name": "Canva Get Asset Upload Job", "type": "http" }, "http": { "method": "GET", "url": "https://api.canva.com/rest/v1/asset-uploads/:jobId", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The job ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves the status of an asset upload job. When complete, includes the uploaded asset metadata." } ] } ], "bundled": true }