Skip to main content
Question

Basic OAuth script

  • February 13, 2026
  • 1 reply
  • 6 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!

1 reply

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!