We have a server API integration that creates deals, contacts, and companies based on some actions happening on our website. When this happens, these objects are created with an original source type of “Offline sources”. My CRM team is hoping we can populate these object source with the proper data.
After some research, it seems like some users have been able to resolve this issue for contacts specifically by using the Forms API and passing context.hutk with the hubspotutk cookie.
Because we’re using the contacts, companies, and deals APIs using the hubspot/api-client package, and have no other issues except the object source, we’d prefer to not use the forms API and try to hack a solution together from that.
Does anyone know if it is possible to use the hubspotutk cookie manually with these other APIs? Either directly (in the create/update requests), or indirectly using an association?