web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Postman Call Custom API and Authenticate token in one request not two.

(0) ShareShare
ReportReport
Posted on by 6
Hello,
 
I have adesire to call custom api from postmat using an application registration (client and secret) in one request shot, instead of calling microsoft identity authentication url then copying token to request the custom api.
 
Any suggestions please.
I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at
    you can't do in a single request because they are two different endpoints (one to get the token and another to execute the custom api)
  • Verified answer
    MrNappa Profile Picture
    11 on at
    You can write a pre-request script that requests a token from the authority and stores it in a postman variable. Then use the variable value with the token in the actual request to the custom api.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans