The notification content object, which contains metadata about the event.
Properties of content
This can be one of the following:
share_design
: The notification content for when someone shares a design.share_folder
: The notification content for when someone shares a folder.comment
: The notification content for when someone comments on a design.design_access_requested
: The notification content for when someone requests access to a design.design_approval_requested
: The notification content for when someone requests a user to approve a design.design_approval_response
: The notification content for when someone approves a design or gives feeback.design_mention
: The notification content for when someone mentions a user in a design.team_invite
: The notification content for when someone is invited to a Canva team.folder_access_requested
: The notification content for when someone requests access to a folder.
Basic details about the design, such as the design's ID, title, and URL.
Properties of design
The design ID.
The design title.
URL of the design.
A thumbnail image representing the object.
Properties of thumbnail
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 as the path parameter commentId
to create replies
to this comment using the /v1/comments/{threadId}/replies
endpoint.
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).
Metadata for the Canva Group, consisting of the Group ID, display name, and whether it's an external Canva Group.
Properties of requested_groups
The ID of the group with permissions to access the design.
Is the user making the API call (the authenticated user) and the Canva Group from different Canva Teams?
- When
true
, the user and the group aren't in the same Canva Team. - When
false
, the user and the group are in the same Canva Team.
The display name of the group.
Metadata about the design approval request.
Properties of approval_request
The message included by the user when requesting a design approval.
Metadata for the Canva Group, consisting of the Group ID, display name, and whether it's an external Canva Group.
Properties of responding_groups
The ID of the group with permissions to access the design.
Is the user making the API call (the authenticated user) and the Canva Group from different Canva Teams?
- When
true
, the user and the group aren't in the same Canva Team. - When
false
, the user and the group are in the same Canva Team.
The display name of the group.
Metadata for the Canva Team, consisting of the Team ID, display name, and whether it's an external Canva Team.
Properties of inviting_team
The ID of the Canva Team.
The name of the Canva Team as shown in the Canva UI.
Is the user making the API call (the authenticated user) from the Canva Team shown?
- When
true
, the user isn't in the Canva Team shown. - When
false
, the user is in the Canva Team shown.