Team invite notifications
The NotificationContent sent when inviting a user to join a team.
If the type
of notification is team_invite
, the webhook payload object contains the following parameters:
The unique identifier for the notification.
When the notification was created, as a UNIX timestamp (in seconds
since the UNIX epoch).
The notification content for when someone is invited to a
Canva team.
Properties of content
The value for this can only be team_invite
.
Metadata for the user, consisting of the User ID and display name.
Properties of triggering_user
The name of the user as shown in the Canva UI.
Metadata for the user, consisting of the User ID and display name.
Properties of receiving_user
The name of the user as shown in the Canva UI.
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.
Example: Design access requested notification
{
"id": "eb595730",
"created_at": 1377396000,
"content": {
"type": "team_invite",
"triggering_user": {
"id": "uKakKUfI03Fg8k2gZ6OkT",
"display_name": "John Doe"
},
"receiving_user": {
"id": "uKakKUfI03Fg8k2gZ6OkT",
"display_name": "John Doe"
},
"inviting_team": {
"id": "Oi2RJILTrKk0KRhRUZozX",
"display_name": "Acme Corporation",
"external": true
}
}
}