{ EmailMessageId: message_id, RelationId: lead_or_contact_id, RelationType: 'FromAddress' }
Before, I sent the
"toIds" parameter with the "t" in lowercase, but when I changed it to uppercase ( ToIds
), the object creation worked correctly.
So, if you are having the same problem, please understand the names of the parameters you are sending.