It is also possible to pass a "country" parameter that will point to a country input field that directly contains the 3-letter code of the country (when there is only one).
This country will be used by the auto-completion system to suggest email addresses relevant to the chosen country.
Simple case: Managing email address completion for a single country
In this case, simply pass the ISO code (3 letters) of this country as the "country" parameter when calling our API. If this parameter is omitted, the API will only work on France.
Complex case: Managing email address completion for different countries
In this case, the additional parameter "country" will have to be provided when calling our API. This parameter must contain the JQuery selector of the country field.
This country field should return the ISO code on 3 letters of the desired country.