The notification content for when someone comments on a design.
Properties of content
The value for this can only be comment
.
Basic details about the design, such as the design's ID, title, and URL.
Properties of design
The design ID.
When the design was created in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
When the design was last updated in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
The design title.
URL of the design.
A thumbnail image representing the object.
Properties of thumbnail
A URL to the design, focused on the new comment.
Basic details about the comment.
Properties of comment
The type of comment event. This can be one of the following:
comment
reply
mention
assign
resolve
The comment object, which contains metadata about the comment.
Properties of data
This can be one of the following:
parent
: The type of comment. When creating a new parent (top-level) comment, thetype
isparent
.reply
: The type of comment. When creating a reply to a top-level comment, thetype
isreply
.
The ID of the comment.
You can use this ID to create replies to the comment using the Create reply API.
The comment message. This is the comment body shown in the Canva UI.
User mentions are shown here in the format [user_id:team_id]
.
The Canva users mentioned in the comment.
Properties of mentions
Metadata for the user, consisting of the User ID, Team ID, and display name.
{"oUnPjZ2k2yuhftbWF7873o:oBpVhLW22VrqtwKgaayRbP": {"user_id": "oUnPjZ2k2yuhftbWF7873o","team_id": "oBpVhLW22VrqtwKgaayRbP","display_name": "John Doe"}}
The ID of the comment thread this reply is in. This ID is the same as the id
of the
parent comment.
When the comment or reply was created, as a Unix timestamp (in seconds since the Unix Epoch).
When the comment or reply was last updated, as a Unix timestamp (in seconds since the Unix Epoch).