Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How do i get username and password in postman

Ashok_308
Tera Contributor

Hi I'm unable to get the username and password automatically in postman while create the incident record via Table API in Rest API explorer.

2 REPLIES 2

M Iftikhar
Tera Sage

Hi @Ashok_308,

 

To authenticate the API request, ensure you're using the correct authorization method in Postman (Basic Auth or OAuth). In Postman, go to the Authorization tab, select "Basic Auth" or "OAuth 2.0," and enter your credentials. Also, make sure you include the Authorization header and Content-Type as application/json in the request headers.

MIftikhar_0-1763736050968.png


If you're using the REST API Explorer, you don’t need to manually provide credentials, as it automatically uses the session from your logged-in user.

 

If this isn't the issue, please provide more details about the issue or behaviour you're experiencing so I can assist further.

 

If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Ankur Bawiskar
Tera Patron
Tera Patron

@Ashok_308 

what do you mean you are unable to get?

You are the one who is using postman and having instance access, you can create an API user for which you know credentials and you can use that in postman

Ensure that user has correct table READ role for incident table

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader