How to keep connect alive until the final API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi Community,
We are doing REST API integration with BeyondTrust, and I need to call multiple APIs, as shown in the screenshot, in order.
First, we need to call the Login API, next getaccount, and the remaining APIs. For login, it's successful, and the rest of the APIs are showing "user not authenticated". But it's working as expected when we tried it from Postman.
APIs
How can we keep the connection alive till the end?
Thanks,
Mahender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
did you check with the 3rd party team if this is allowed and how it can be done?
better to check with them
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
we are not sure how that 3rd party API works, did you check with the team how it can be done?
Any documentation from them?
may be for each API endpoint they want authentication again
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @snowsnow367
This appears to be a credential-related issue, where the user is unable to log in to ServiceNow.
For testing purposes, when you hit the login API, you will receive a token (or key). This token needs to be included in the HTTP headers of all subsequent REST methods of outbound REST message
