Push leads to client Hubspot CRM / Receive leads from external website/service

Hi.

I could not find a post similar to my predicament. My apologies if one exists, I have spent a good hour looking.

I am the developer for a website that generates leads for our clients. We have integrated with a variety of CRM’s upon request and am now attempting to integrate with Hubspot.

Is it possible, via API or any other method, to push generated leads originating on my platform to my clients Hubspot CRM (which I have no ownership or control over)?

I have been looking closely at the below example:

curl --request POST \
--url ‘https://api.hubapi.com/crm/v3/objects/contacts?hapikey=YOUR_HUBSPOT_API_KEY’ \
--header ‘content-type: application/json’ \
--data ‘{
“properties”: {
“company”: “Biglytics”,
“email”: “bcooper@biglytics.net”,
“firstname”: “Bryan”,
“lastname”: “Cooper”,
“phone”: “(877) 929-0687”,
“website”: “biglytics.net
}
}’

But this is lacking any way of specifying the account I wish to push to (since my own API key would be used, it would push to my account. I do not want this)

From reading the API’s it really looks as though I can only push leads to my own Hubspot CRM (which I do not have/need).

I look forward to hearing from the community.

Thank you!

Hello @scoleman1, thank you for all the information provided, in this case, our recommendation is to create an app ( more information here).

I will also add some top experts here to share their thoughts, @Bryantworks, @DanielSanchez, @tominal any other recommendation to @scoleman1 matter?

Thank you!

Pam

Hey @scoleman1
As Pam said, I would recommend you create yourself a HubSpot OAuth app via the developer portal you can create. Once you do that, your clients can go to a link which will allow them to connect their HubSpot portal to your app. You’ll communicate with their HubSpot portal using the OAuth access token generated. OAuth documentation here.
Hope that helps!

Thanks RBThomas. I will look into this further!