If the type of notification is share_design, the webhook payload object contains the following parameters:
type
share_design
id
string
The unique identifier for the notification.
created_at
integer
When the notification was created, as a UNIX timestamp (in seconds since the UNIX epoch).
content
object
The notification content for when someone shares a design.
The value for this can only be share_design.
triggering_user
User
Metadata for the user, consisting of the User ID and display name.
The ID of the user.
display_name
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.
user_id
team_id
The ID of the user's Canva Team.
design
DesignSummary
Basic details about the design, such as the design's ID, title, and URL.
The design ID.
urls
DesignLinks
A temporary set of URLs for viewing or editing the design.
edit_url
A temporary editing URL for the design.
view_url
A temporary viewing URL for the design.
When the design was created in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
updated_at
When the design was last updated in Canva, as a Unix timestamp (in seconds since the Unix Epoch).
title
The design title.
url
URL of the design.
thumbnail
Thumbnail
A thumbnail image representing the object.
width
The width of the thumbnail image in pixels.
height
The height of the thumbnail image in pixels.
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.
share_url
A URL that the user who receives the notification can use to access the shared design.
share
ShareAction
Metadata about the share event.
message
The optional message users can include when sharing something with another user using the Canva UI.
{ "id": "eb595730", "created_at": 1377396000, "content": { "type": "share_design", "triggering_user": { "id": "uKakKUfI03Fg8k2gZ6OkT", "display_name": "John Doe" }, "receiving_team_user": { "user_id": "auDAbliZ2rQNNOsUl5OLu", "team_id": "Oi2RJILTrKk0KRhRUZozX", "display_name": "Jane Doe" }, "design": { "id": "DAFVztcvd9z", "title": "My summer holiday", "url": "https://www.canva.com/design/DAFVztcvd9z/edit", "thumbnail": { "width": 595, "height": 335, "url": "https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>" }, "urls": { "edit_url": "https://www.canva.com/api/design/{token}/edit", "view_url": "https://www.canva.com/api/design/{token}/view" }, "created_at": 1377396000, "updated_at": 1692928800 }, "share_url": "https://www.canva.com/api/action?token=zWiz3GqRaWVkolwSgfBa9sKbsKgfHAoxv_mjs-mlX2M", "share": { "message": "Check this out!" } }}