/v1/comments
POST {{baseUrl}}/v1/comments
This API is currently provided as a preview. Be aware of the following:
- There might be unannounced breaking changes.
- Any breaking changes to preview APIs won't produce a new API version.
- Public integrations that use preview APIs will not pass the review process, and can't be made available to all Canva users.
Create a new top-level comment on a design. For information on comments and how they're used in the Canva UI, see the Canva Help Center. A design can have a maximum of 1000 comments.
Request Body
{"attached_to"=>{"design_id"=>"<string>", "type"=>"design"}, "message"=>"<string>", "assignee_id"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"comment":{"author":{"id":"\u003cstring\u003e","display_name":"\u003cstring\u003e"},"id":"\u003cstring\u003e","mentions":{"autee":{"user_id":"\u003cstring\u003e","team_id":"\u003cstring\u003e","display_name":"\u003cstring\u003e"},"aliqua_a":{"user_id":"\u003cstring\u003e","team_id":"\u003cstring\u003e","display_name":"\u003cstring\u003e"}},"message":"\u003cstring\u003e","type":"parent","attached_to":{"design_id":"\u003cstring\u003e","type":"design"},"created_at":"\u003clong\u003e","updated_at":"\u003clong\u003e","assignee":{"id":"\u003cstring\u003e","display_name":"\u003cstring\u003e"},"resolver":{"id":"\u003cstring\u003e","display_name":"\u003cstring\u003e"}}}