Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable

Test

Prod

Marketing API key

0b8eb……DXOZ

e89ea……eTdj

Marketing list ID

4b9368fa825

32debd28d04

Transactional API key

aKQLU…

l0ewa…

Transactional from email

dashboard@fioprotocol.io

dashboard@fioprotocol.io

Transactional from name

FIO Dashboard

FIO DashboardMailchimp prefix

us19

us19

General Requirements

Requirements

Details

Mailchimp APITransactional Emails

Transactional email will be are sent using Mailchimp Transactional API:

Amazon SES

Marketing API

Marketing list management will be is done using Mailchimp Marketing SendInBlue API:

SDK:

  • Node SDK - use of SDK is not a requirement, but is at the discretion of the developer.

Transactional emails

All transactional emails are sent using /messages/send with the following parameters:

  • key - to be provided

  • message

    • html - content

    • subject - see below

    • from_email: see above

    • from_name: see above

    • to: user’s email

    • track_opens: false

    • track_clicks: false

    • auto_text: true

    • view_content_link: false

  • async: true

SDKs: https://developers.sendinblue.com/docs/api-clients

Marketing list management

email_address

When a user creates and account and checks “Receive periodic updates and promotional emails from FIO” the user is added to the marketing list using https:/lists/{list_id}/members/{subscriber_hash}:

  • Path

    • list_id: see above

    • subscriber_hash - The MD5 hash of the lowercase version of the list member's email address.

  • Body

    /developers.sendinblue.com/reference/createcontact :

    • email - users email address

    • status_if_new: subscribed

    • email_type: html

    • status: subscribed

    • timestamp_signup - The date and time the subscriber signed up for the list in ISO 8601 format.

      attributes

      • listIds: see Marketing list ID above

      • updateEnabled = true

    UX

    https://overflow.io/s/F77DZW21?node=4cfe173f

    ...