Create Contact via DOI (Double-Opt-In) Flow

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

📘

How to use attributes param?

attributes param in this endpoint is an object containing key-value pairs where values can be either a string, integer, array, or boolean. You can create key-value pairs with these four datatypes. When a value is an array, it should be an array of strings.

Body Params

Values to create the Double opt-in (DOI) contact

attributes
object

Pass the set of attributes and their values. These attributes must be present in your Brevo account. For eg. {'FNAME':'Elly', 'LNAME':'Roger', 'COUNTRIES': ['India','China']}

string
required

Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes.

excludeListIds
array of int64s

Lists under user account where contact should not be added

excludeListIds
includeListIds
array of int64s
required

Lists under user account where contact should be added

includeListIds*
url
required

URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag {{ params.DOIurl }}.

int64
required

Id of the Double opt-in (DOI) template

Responses
201

DOI Contact created

204

DOI Contact updated

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json