← Public packages
@kentcdodds/canva
Create, organize, collaborate on, import, and export Canva content through the Connect API.
README.md
44 lines · 1.8 KB · Markdown@kentcdodds/canva
Intent
Provide a complete, reusable Canva Connect API package for Kody workflows. It covers every operation in the configured Canva OpenAPI surface while keeping mutations explicit, previewable, and safe to publish as a community package.
What it does
- Create, inspect, search, resize, merge, import, or export Canva designs
- Upload, inspect, rename, tag, or delete assets
- Create and organize folders; list or move their contents
- Read and write comment threads and replies
- Work with brand templates, autofill datasets, user capabilities, and OIDC
- Dispatch any supported Connect operation by lowercase OpenAPI slug via
./api
Mutations (POST / PATCH / DELETE) require explicit confirmation and support
dry-run previews. Preview APIs are marked in the operations catalog and can
change without notice.
Prerequisites / setup
- Create a Canva Connect API integration.
- Set redirect URI to
https://kody.codes/connect/oauth. - Save the OAuth integration in Kody as
canva. - Connect or reconnect at
https://kody.codes/connect/oauth?provider=canva. - Approve hosts
api.canva.comandwww.canva.com. Grant only the scopes your workflows need. The full surface may use:asset:read,asset:writebrandtemplate:content:read,brandtemplate:content:write,brandtemplate:meta:readcomment:read,comment:writedesign:content:read,design:content:write,design:meta:readfolder:read,folder:write,folder:permission:writeprofile:read
- Agents: see
AGENTS.mdfor import paths, smoke, and dryRun.
Done when
- The
canvaOAuth integration is connected - Smoke test returns
{ ok: true }with status/shape only (no profile PII) - Mutations refuse without
confirm: true;dryRun: truenever calls Canva