APIs & Integrations

Not applicable

Cannot create owner using API

Hi Everyone!

We trying to create an owner using API. Don’t receive error on execute and appears on API Get Owners but not appears on Owners using HubSpot GUI.

Our code:
{
“portalId”:“2028774”,
“type”:“PERSON”,
“firstName”:“NOME”,
“lastName”:“SOBRENOME”,
“email”:"teste1@tt.org.br",
“quota”:10000,
“remoteList”:[
{
“portalId”:“2028774”,
“remoteType”:“EMAIL”,
“remoteId”:"admin1@tt.org.br",
“active”:true
}
]
}

Thanks!

5 Replies 5
lancecummins
Member | Platinum Partner
Member | Platinum Partner

Cannot create owner using API

We need to assign owners via the API as well. We’ve been able to create the owners with the Get Owner endpoint.

Since they don’t show up in the UI, we’re not able to assign those owners within HubSpot using Workflows.

Is there any way we could see a little more documentation for the Get Owners endpoint to understand what we need to do to make this work? We’re so close. :slight_smile:

0 Upvotes
rsobers1
Member

Cannot create owner using API

This just worked for me using https://api.hubapi.com/owners/v2/owners?hapikey=demo and:

{
    "portalId": 142972,
    "type": "PERSON",
    "firstName": "Dwight",
    "lastName": "Schrute",
    "email": "tester1@varonis.com",
    "remoteList" : [
        {
            "portalId" : 142972,
            "remoteType" : "EMAIL",
            "remoteId": "tester2@varonis.com",
            "active": true
        }
    ]
}
0 Upvotes
Bruno_Prolo
Member

Cannot create owner using API

Hey guys,

Same problem here. The remotelist doesn`t work.
@seb_fairchild Do you have any other suggestion???

0 Upvotes
Not applicable

Cannot create owner using API

Hi Sebatian,

I see this post, but if you see in our code, we put the remote and active.

Thanks,

seb_fairchild
Member

Cannot create owner using API

Hey @Julio_Cesar

There is an answer to this question here:

Sebastian

0 Upvotes