Create Contact via DOI (Double-Opt-In) Flow
Authentication
The API key should be passed in the request headers as api-key for authentication.
Request
Values to create the Double opt-in (DOI) contact
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 }}.
Id of the Double opt-in (DOI) template
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’]}