FuelSDK-Node-REST
FuelSDK-Node-REST copied to clipboard
How to perform API calls on auth endpoint?
Hello,
can you please provide an example how to call APIs accessible from auth
server?
E.g.: https://{{MC_ENV}}.auth.marketingcloudapis.com/v2/userinfo
?
Regards,
Filip
I tried multiple way including:
{ uri: '/v2/userinfo', baseUrl: 'https://XXX.auth.marketingcloudapis.com' }
But I got following error:
Error on /authenticated Error: options.uri must be a path when using options.baseUrl