I’m trying to populate the invite custom field values via a Rest API call but it’s not working. Specifically I’m using the email message POST like in the example below where I would like to pass along a support call number to a custom field for display and reporting. Should I be passing this value somewhere else?
After countless variations I was finally able to get this to work. I had to use &scustomfield1=value to pass along the invite custom field value. I’m not sure why this is only listed on a single page that seems to reference contact level custom values, but it works and stored it in each response for the same contact.
I’m not sure if I fully follow (apologies if I don’t) but are you wanting to add the merge code itself ([invite(“custom 1”)]) to the body of the email message so that it can pull in the Custom 1 values assigned for each contact?
Or are you wanting to assign the Custom 1 values to contacts?
The Custom 1 values should be defined when creating/updating the contact via the SurveyContact Sub Oblect:
If you are wanting to just add the merge code to the email body, you would use the EmailMessage Sub Object and specifically the ‘body’ parameter.
Hope that is helpful!