Template Stable

Suspicious login

Sent when a suspicious sign-in attempt is detected.

suspicious-login - security

authentication Stable Latest stable

Suspicious login v1

suspicious-login - v1

Subject: Suspicious sign-in attempt

Preheader: Review this sign-in attempt.

Required fields

No fields.

Optional fields

Name Type Required Description Example
actionButton.label text No Action Button Label
Max 120 characters
Review account
actionButton.url url No Action Button URL
Max 2048 characters
https://example.com/app
heading text No Heading
Max 180 characters
Suspicious sign-in attempt
intro text No Intro
Max 1000 characters
A sign-in attempt looked unusual and may need your attention.
loginDetails detailsTable No Sign-in details
Details table keys: attemptedAt (datetime), device, country, ip
{"attemptedAt":"Attempted At","device":"Device","country":"Country","ip":"Ip"}
notice text No Notice
Max 1000 characters
If this was not you, review your account security.
preheader text No Preheader
Max 220 characters
Review this sign-in attempt.
subject text No Subject
Max 180 characters
Suspicious sign-in attempt

Defaults

{
  "actionButton.label": "Review account",
  "heading": "Suspicious sign-in attempt",
  "intro": "A sign-in attempt looked unusual and may need your attention.",
  "notice": "If this was not you, review your account security.",
  "preheader": "Review this sign-in attempt.",
  "subject": "Suspicious sign-in attempt"
}

Example data

{
  "templateId": "suspicious-login",
  "data": {}
}

Template messages

TypeCodeMessage
Return accepted Valid template data can be queued by the send endpoint.
Error field_too_long Action Button Label must be 120 characters or fewer.
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 Heading must be 180 characters or fewer.
Error field_too_long Intro must be 1000 characters or fewer.
Error invalid_details_table Sign-in details must be an object whose documented table keys are strings, numbers, or booleans.
Error field_too_long Notice must be 1000 characters or fewer.
Error field_too_long Preheader must be 220 characters or fewer.
Error field_too_long Subject must be 180 characters or fewer.