Double opt-in consents
The Double opt-in (DOI) feature provides additional security and peace of mind for compliance for yourself and your users. It’s simple like single opt-in, but requires an additional step for the user to confirm his or her email or mobile (via SMS). With ReachFive, you can even define the preferred communication channel for these DOI consent types directly in the ReachFive Console. For more that, see Consents.
Integration notes
In some integration cases, it’s likely some users have already gone through the DOI process and therefore, after integrating with ReachFive, you’ll need to be able to update the consent status yourself.
You can update the granted
status to true
or false
for a user with one of the following approaches:
-
The Management API’s update user profile endpoint.
-
The Identity API’s update user profile endpoint.
-
The Import Module by importing user profiles.
To do so, pass the updated granted
status in the payload (for API) or as part of the JSON or CSV file (for Imports):
{
"consent_key": "all-the-things",
"consent_title": "all the things",
"consent_type": "double-opt-in",
...
"granted": true, (1)
"waiting_double_accept": true, (2)
...
"user_id": "550e8400-e29b-41d4-a716-446655440000"
}
1 | Here, we have updated the granted field to true . |
2 | The waiting_double_accept creates some conditions which are outlined here. |
Field value matrix for consent status
The table below seeks to help outline the possible scenarios for when you bring in users with some already existing DOI consent statuses.
-
The Consent Status column shows whether the scenario was accepted, rejected, or is awaiting user acceptance or rejection for the DOI consent.
-
Granted status (consent accepted)
-
Waiting status (awaiting user action)
-
Denied status (consent rejected)
-
Bad request
-
-
The Payload column represents the fields that you (the ReachFive customer) send as either part of the Management API, Import module, or Identity API.
-
The Notes column details important information about the scenario represented in the row.
Consent status | Payload | Notes | ||
---|---|---|---|---|
|
In this case, because you’re setting |
|||
|
In this case, because you’re setting Actions: The user’s acceptance or rejection of the DOI consent will determine the final status in this case.
|
|||
|
In this case, because |
|||
|
In this case, because |
Consent status | Payload | Notes |
---|---|---|
|
In this case, because |
|
|
If the initial status of the consent is waiting, rejected, or unset, the final status will be waiting. If the initial status is granted, then the final status remains granted, and you’ll receive a |
|
|
In this case, because |
|
|
In this case, because |
DOI flow
The additional step to the double opt-in is the explicit confirmation from the user, thereby verifying his or her email or phone number and further ensuring opting was the correct action.
DOI consent templates
You can configure DOI consent templates directly from your ReachFive Console for both email and SMS.