Create Asset
POST/v1/:slug/assets
Creates a single asset. Exactly one of uri or text is required, and which one you send
decides what gets created:
uri— Playbook fetches the bytes from that public URL and returns anis_skeleton: trueplaceholder while a background worker downloads them. Passas_link: trueto skip the fetch and store a bare link instead.text— creates a note: a text asset that carries prose rather than a file. Notes are created synchronously and come back complete.colorsets the note's background andheightits card height; both are ignored whenuriis given.
To create colour swatches, use POST /v1/{slug}/assets/create_colors instead.
Request
Responses
- 200
- 406
- 422
successfully creates an asset
not acceptable
when limits are met