Template Stable

Invited to workspace

Sent when someone is invited to a workspace or team.

invited-to-workspace - notification

team Stable Latest stable

Invited to workspace v1

invited-to-workspace - v1

Subject: You're invited

Preheader: Accept your invitation to continue.

Required fields

Name Type Required Description Example
actionButton.url url Yes Action Button URL
Max 2048 characters
https://example.com/app

Optional fields

Name Type Required Description Example
actionButton.label text No Action Button Label
Max 120 characters
Accept invitation
heading text No Heading
Max 180 characters
You're invited
intro text No Intro
Max 1000 characters
You have been invited to join.
inviteDetails detailsTable No Invitation details
Details table keys: workspace, invitedBy, role, expiresAt (datetime)
{"workspace":"Workspace","invitedBy":"Invited By","role":"Role","expiresAt":"Expires At"}
preheader text No Preheader
Max 220 characters
Accept your invitation to continue.
subject text No Subject
Max 180 characters
You're invited

Defaults

{
  "actionButton.label": "Accept invitation",
  "heading": "You're invited",
  "intro": "You have been invited to join.",
  "preheader": "Accept your invitation to continue.",
  "subject": "You're invited"
}

Example data

{
  "templateId": "invited-to-workspace",
  "data": {
    "actionButton": {
      "url": "https://example.com/app"
    }
  }
}

Template messages

TypeCodeMessage
Return accepted Valid template data can be queued by the send endpoint.
Error missing_required_variable Action Button URL is required.
Error field_too_long Action Button URL must be 2048 characters or fewer.
Error invalid_url Action Button URL must be a valid http or https URL.
Error field_too_long Action Button Label must be 120 characters or fewer.
Error field_too_long Heading must be 180 characters or fewer.
Error field_too_long Intro must be 1000 characters or fewer.
Error invalid_details_table Invitation details must be an object whose documented table keys are strings, numbers, or booleans.
Error field_too_long Preheader must be 220 characters or fewer.
Error field_too_long Subject must be 180 characters or fewer.