Skip to content

Recipient

Note

This page was generated by extracting information from a JSON Schema data file for the API. It may be missing some information, or otherwise suggest approximate or placeholder values based on information in the schema file; this is due to limitations on how that data is extracted from the underlying Rust code and into the JSON Schema, and then again from there and into these docs.

This is an object value, with the following properties:

  • email - required string (email). The email address of the recipient

  • name - optional nullable string. The displayable name of the recipient

  • substitutions - optional object. When using templating, this is the map of placeholder name to replacement value that should be used by the templating engine when processing just this recipient. Note that name is implicitly set from the name field, so you do not need to duplicate it here.

Examples

{
  "email": "john.smith@mailbox-example.com",
  "name": "John Smith",
  "substitutions": {
    "age": 42,
    "gender": "male"
  }
}