APIs & Integrations

Craig
Top Contributor

Private app with v1 endpoints

I'm using an old contact/createOrUpdate endpoint from v1 API that I need to migrate to using private apps.

 

I've removed the hapi key query param from the request URL, and am sending the access token in the headers - yet I recieve a 401 error.

 

Are my scopes set incorrectly, or is this not possible - to use v1 endpoints with private apps?

 

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Private app with v1 endpoints

Hey, @Craig 👋 Can you share an example request and response? This helps the community understand how they can help.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
Craig
Top Contributor

Private app with v1 endpoints

Hi, @Jaycee_Lewis I reached out to HubSpot support as I didn't want to spend time debugging the 401 response (or anybody else debugging it!) if it was simply because the v1 API doesn't support private apps.

 

There's nothing in the migration documentation about this, so I suspect there's simply an error with my request, but I'll see what HubSpot support comes back with first.

 

0 Upvotes