rest Api step authentication using bearer token

M Mari Selvam
Tera Contributor

I'm currently using a REST API step that requires a username and API key-based connection and alias. However, my API authentication method relies on a bearer token rather than an API key. I've attempted to obtain the token using the 'Get Connection Info' step and utilize the result in a data pill picker for the REST API connection, but it was unsuccessful. Could you please provide guidance on how to correctly implement the bearer token for authentication instead of the API key?

1 ACCEPTED SOLUTION

Shruti
Mega Sage
Mega Sage

Hi,

Use REST Step in flow designer

Shruti_0-1698414880293.png

Create connection and credential aliases

Select connection alias and pass bearer token in Headers 

Shruti_1-1698414940200.png

Shruti_2-1698415041645.png

 

View solution in original post

6 REPLIES 6

Hi! Thanks for the explanation

Helped a lot

yoli1
Tera Contributor

Hi @Shruti  can you please let me know what tyoe of connection and credential you created?

Thanks!