Put this custom function in functions.php file or snippet plugin:

Note:
for SMS field the Accepted Number Formats is eg:
91xxxxxxxxxx
+91xxxxxxxxxx
0091xxxxxxxxxx

Default Contact Attribute

https://help.brevo.com/hc/en-us/articles/10582214160274-About-contact-attributes

Watch video tutorial here