{"id":258,"date":"2025-03-19T15:04:32","date_gmt":"2025-03-19T16:04:32","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=258"},"modified":"2025-03-19T17:38:47","modified_gmt":"2025-03-19T17:38:47","slug":"how-do-you-add-deal-collaborator-through-the-api","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/03\/19\/how-do-you-add-deal-collaborator-through-the-api\/","title":{"rendered":"How do you add deal collaborator through the API"},"content":{"rendered":"
Hi,<\/P>
\u00a0<\/P>
It seems undocumented amd I looked in the postman collection with no success.<\/P>
How do you add deal collaborator to a deal using the REST API ?
I have tried something like\u00a0
<\/P>from hubspot import HubSpot <\/p>\n
hubspot_client = HubSpot(access_token=”UNDISCOLED”) <\/p>\n
hubspot_client.api_request({“method”: “PUT”, “path”: “\/deal-execution\/v1\/deal-collaborators\/32736363846”, “body”: {“ownerIds”:[“75017528″,”76146015”]}})
But I have the following error:\u00a0
<\/P>{
\n “status”: “error”,
\n “message”: “Any of the listed authentication credentials are missing”,
\n “correlationId”: “ea604e58-fd68-6a64-b41a-85a519c6c029”,
\n “engagement”: {
\n “service-to-service”: “service-to-service not engaged. Metadata for service-to-service request not found.”,
\n “internal-cookie”: “internal-cookie not engaged. You can get a new internal auth cookie for host ‘api.hubapi.com’ by visiting following link from your current browser window: https:\/\/tools.hubteam.com\/login\/host\/api.hubapi.com .”,
\n “app-cookie”: “app-cookie not engaged. App cookie is not present on the request.”
\n }
\n}
\u00a0<\/P>
\u00a0<\/P>
\u00a0<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"
Hi,\u00a0It seems undocumented amd I looked in the postman collection with no success.How do you add deal collaborator to a deal using the REST API ?I have tried something like\u00a0from hubspot import HubSpot hubspot_client = HubSpot(access_token=”UNDISCOLED”) hubspot_client.api_request({“method”: “PUT”, “path”: “\/deal-execution\/v1\/deal-collaborators\/32736363846”, “body”: {“ownerIds”:[“75017528″,”76146015”]}}) But I have the following error:\u00a0{ “status”: “error”, “message”: “Any of the listed […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/258"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=258"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/258\/revisions"}],"predecessor-version":[{"id":259,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/258\/revisions\/259"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}