Sending HTML to custom fields

I want to send some basic HTML to a custom field on a contact using the PHP REST API. I just run a test and sent an email to the contact with the content of the custom field and it sent me the escaped HMTL, something like this…


Is this an API problem or can I make some changes in infusionsoft to get this to work? Thee custom field in Insfusionsoft should be a textarea

Hi @Richard_Sanderson, this looks like intended functionality. What are you using the html for once it has been stored in a custom field? There may be some type of work-around we can suggest depending on the use case.

Infusionsoft html encodes all content saved to the contact record - so you can’t use HTML in custom fields for merging.