Skip to main content
Question

Basic OAuth script

  • February 13, 2026
  • 2 replies
  • 29 views

KennethDG

Hi,

I’m still fairly new to working with APIs and I’m setting up my first configuration in Postman. I’ve managed to connect and fetch data successfully.

I’m now trying to recreate this in Supermetrics’ Connector Builder, but I keep getting error messages that don’t help me much. Could you help me with a basic script based on my working Postman configuration (see screenshots)?

Thanks a lot!

2 replies

tittakeskinen
Forum|alt.badge.img
  • Community Moderator
  • February 16, 2026

Hey ​@KennethDG ! You can find documentation details for Oauth2 authentication type from here: https://docs.supermetrics.com/docs/authentication#oauth2-authentication with examples and steps required for configuring the full flow. 

A complete example configuration for a connector using Oauth2 as authentication method can be found here: https://docs.supermetrics.com/docs/example-configurations#hubspot-form-submissions

 

If these do not help, could you please share which API you are creating a connector for (i.e. link to the API docs) and I can help you with configuring the authentication required for that specific API!


KennethDG
  • Author
  • Newbie
  • March 6, 2026

Hello
I have worked on your feedback and eventually enabled Copilot to help me further. Unfortunately, I still haven't succeeded. Is this information correct?
Hello Customer uses:
OAuth2 client_credentials
no user
no authorization endpoint
no authorization code
no redirect

Supermetrics OAuth2 requires:
user authorization
authorization_code
redirect & callback

More info about the Hello Customer API https://hs.hellocustomer.help/knowledge/api-connectors-and-api-calls#Authentication