Hey @JdeRocquigny,
HubSpot requires you to pass through the internal ID of the owner. These can be obtained by calling GET
/crm/v3/owners/ which is available under the Owners API. It’ll return something similar to the below containined the “id” which you can then pass as a value for the “hubspot_owner_id” in your request to create/update a record.
{
"results": [
{
"id": "421550280",
"email": "brucebanner@marvel.com",
"firstName": "Bruce",
"lastName": "Banner",
"userId": 25373625,
"createdAt": "2022-08-03T13:27:20.694Z",
"updatedAt": "2022-08-18T14:37:50.928Z",
"archived": false
},
{
"id": "430134717",
"email": "spiderman@marvel.com",
"firstName": "Peter",
"lastName": "Parker",
"userId": 13454826,
"createdAt": "2022-08-11T09:02:27.782Z",
"updatedAt": "2022-08-11T09:02:27.782Z",
"archived": false
}
]
}
My understanding is that this has been designed this way to account for the rare (but not impossible scenario) whereby there may be users in the portal sharing the same name.