Invalid Session ID

Tagged:

Currently contains 4 posts

Avatar

May 24, 2019 18:14

ccsuapi

I’m testing out the /access-token and after entering my information I receive a 401 error. How can I tell if the username, password, or APIKey is invalid? Which username\password should I be using? A valid admin or the username that setup the API account?

Avatar

May 24, 2019 18:18

Jarrid-PCRecruiter

You can try using credentials which you know are correct (e.g. can log into the web interface). If you want to email the information over to jarrid (at) mainsequence (dot) net I can try to create it on my side and verify what the issue is.

Avatar

May 24, 2019 19:23

ccsuapi

I was able to figure it out. Do you have any code samples? I will be using Powershell and my goal is to get a list of candidates for a specific position and get all the attachments to put in a network share.

Avatar

May 24, 2019 20:08

Jarrid-PCRecruiter

Unfortunately we do not have any code samples available. You may be able to find examples other people had posted with questions though.

Reply to thread