content
object
The notification content when someone does one of the following actions:
- Suggests edits to a design.
- Applies or rejects a suggestion.
- Replies to a suggestion.
- Mentions a user in a reply to a suggestion.
Properties of content
type
string
Available values: The only valid value is suggestion
.
triggering_user
User
Metadata for the user, consisting of the User ID and display name.
Properties of triggering_user
id
string
The ID of the user.
display_name
string
The name of the user as shown in the Canva UI.
receiving_team_user
TeamUser
Metadata for the user, consisting of the User ID, Team ID, and display name.
Properties of receiving_team_user
user_id
string
The ID of the user.
team_id
string
The ID of the user's Canva Team.
display_name
string
The name of the user as shown in the Canva UI.
design
DesignSummary
Basic details about the design, such as the design's ID, title, and URL.
Properties of design
id
string
The design ID.
urls
DesignLinks
A temporary set of URLs for viewing or editing the design.
Properties of urls
edit_url
string
A temporary editing URL for the design.
This is not a permanent URL, it is only valid for 30 days.
view_url
string
A temporary viewing URL for the design.
This is not a permanent URL, it is only valid for 30 days.
created_at
integer
When the design was created in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
updated_at
integer
When the design was last updated in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
title
string
The design title.
url
string
URL of the design.
thumbnail
Thumbnail
A thumbnail image representing the object.
Properties of thumbnail
width
integer
The width of the thumbnail image in pixels.
height
integer
The height of the thumbnail image in pixels.
url
string
A URL for retrieving the thumbnail image. This URL expires after 15 minutes. This URL includes a query string that's required for retrieving the thumbnail.
page_count
integer
The total number of pages in the design. Some design types don't have pages (for example, Canva docs).
suggestion_event_type
SuggestionEventType
The type of suggestion event, along with additional type-specific properties.
Properties of suggestion_event_type
type
string
This can be one of the following:
new
: Event type for a new suggestion.accepted
: Event type for a suggestion that has been accepted.rejected
: Event type for a suggestion that has been rejected.reply
: Event type for a reply to a suggestion.mention
: Event type for a mention in a reply to a suggestion.
suggestion_url
string
A URL to the design, focused on the suggestion.
suggestion
Thread
A discussion thread on a design.
The type
of the thread can be found in the thread_type
object, along with additional type-specific properties.
Properties of suggestion
id
string
The ID of the thread.
You can use this ID to create replies to the thread using the Create reply API.
design_id
string
The ID of the design that the discussion thread is on.
thread_type
ThreadType
The type of the discussion thread, along with additional type-specific properties.
Properties of thread_type
type
string
This can be one of the following:
comment
: A comment thread.suggestion
: A suggestion thread.
content
CommentContent
The content of a comment thread or reply.
Properties of content
plaintext
string
The content in plaintext.
Any user mention tags are shown in the format [user_id:team_id]
.
markdown
string
The content in markdown.
Any user mention tags are shown in the format [user_id:team_id]
mentions
object
The Canva users mentioned in the comment thread or reply.
Properties of mentions
<KEY>
object of UserMentions
Information about the user mentioned in a comment thread or reply. Each user mention is keyed using the user's user ID and team ID separated by a colon (user_id:team_id
).
{"oUnPjZ2k2yuhftbWF7873o:oBpVhLW22VrqtwKgaayRbP": {"tag": "oUnPjZ2k2yuhftbWF7873o:oBpVhLW22VrqtwKgaayRbP","user": {"user_id": "oUnPjZ2k2yuhftbWF7873o","team_id": "oBpVhLW22VrqtwKgaayRbP","display_name": "John Doe"}}}
tag
string
The mention tag for the user mentioned in the comment thread or reply content. This has the format of the user's user ID and team ID separated by a colon (user_id:team_id
).
user
TeamUser
Metadata for the user, consisting of the User ID, Team ID, and display name.
Properties of user
user_id
string
The ID of the user.
team_id
string
The ID of the user's Canva Team.
display_name
string
The name of the user as shown in the Canva UI.
suggested_edits
SuggestedEdit[]
The type of the suggested edit, along with additional type-specific properties.
Minimum items: 1
Properties of suggested_edits
type
string
This can be one of the following:
add
: A suggestion to add some text.delete
: A suggestion to delete some text.format
: A suggestion to format some text.
text
string
format
string
The suggested format change.
Available values:
font_family
font_size
font_weight
font_style
color
decoration
strikethrough
link
letter_spacing
line_height
direction
text_align
list_marker
list_level
margin_inline_start
text_indent
status
string
The current status of the suggestion.
Available values:
open
: A suggestion was made, but it hasn't been accepted or rejected yet.accepted
: A suggestion was accepted and applied to the design.rejected
: A suggestion was rejected and not applied to the design.
assignee
User
Metadata for the user, consisting of the User ID and display name.
Properties of assignee
id
string
The ID of the user.
display_name
string
The name of the user as shown in the Canva UI.
resolver
User
Metadata for the user, consisting of the User ID and display name.
Properties of resolver
id
string
The ID of the user.
display_name
string
The name of the user as shown in the Canva UI.
created_at
integer
When the thread was created, as a Unix timestamp (in seconds since the Unix Epoch).
updated_at
integer
When the thread was last updated, as a Unix timestamp (in seconds since the Unix Epoch).
reply_url
string
A URL to the design, focused on the suggestion reply.
reply
Reply
A reply to a thread.
Properties of reply
id
string
The ID of the reply.
design_id
string
The ID of the design that the thread for this reply is attached to.
thread_id
string
The ID of the thread this reply is in.
content
CommentContent
The content of a comment thread or reply.
Properties of content
plaintext
string
The content in plaintext.
Any user mention tags are shown in the format [user_id:team_id]
.
markdown
string
The content in markdown.
Any user mention tags are shown in the format [user_id:team_id]
mentions
object
The Canva users mentioned in the comment thread or reply.
Properties of mentions
<KEY>
object of UserMentions
Information about the user mentioned in a comment thread or reply. Each user mention is keyed using the user's user ID and team ID separated by a colon (user_id:team_id
).
{"oUnPjZ2k2yuhftbWF7873o:oBpVhLW22VrqtwKgaayRbP": {"tag": "oUnPjZ2k2yuhftbWF7873o:oBpVhLW22VrqtwKgaayRbP","user": {"user_id": "oUnPjZ2k2yuhftbWF7873o","team_id": "oBpVhLW22VrqtwKgaayRbP","display_name": "John Doe"}}}
tag
string
The mention tag for the user mentioned in the comment thread or reply content. This has the format of the user's user ID and team ID separated by a colon (user_id:team_id
).
user
TeamUser
Metadata for the user, consisting of the User ID, Team ID, and display name.
Properties of user
user_id
string
The ID of the user.
team_id
string
The ID of the user's Canva Team.
display_name
string
The name of the user as shown in the Canva UI.
created_at
integer
When the reply was created, as a Unix timestamp (in seconds since the Unix Epoch).
updated_at
integer
When the reply was last updated, as a Unix timestamp (in seconds since the Unix Epoch).