REST API Token help

dave_edgar
Mega Guru

Working with a 3rd Party vendor and we've been using authCode in the header of our REST api calls but now they want to switch to a token.

They have provided me a token but where on earth do I enter it?   Bit of a newbie to this obviously.

Is it part of the header?

Do I have to add the token to a record in System Auth > Application Registry > Connect to a third party OAuth Provider?   Is so do I need the Client ID, Client Secret, Token URL?   Where do I add the token?

HELP!!!!!

1 ACCEPTED SOLUTION

found it



have to create a header parameter called authCode and set the value as the token I was provided.



All working now


View solution in original post

3 REPLIES 3

mayurt
Tera Expert

Hi Dave,



Token is encrypted credentials to enter into 3rd party arena



U need to check out in the API how they accept that token which will come out in header(Name & Value)



Eg:


Name : zsessionId       value : _1910ceb0-abd2-4883-937c-2cxxxxxxxx




Regards,


Mayur


hmm



I've messaged them to find-out what they need but as yet no response.   We're meant to be going live with the integration tomorrow! 😐



I'm hoping I can just do it via the header, a la:


Key                                         Value


Authorization           Bearer <token provided>


found it



have to create a header parameter called authCode and set the value as the token I was provided.



All working now