1

X-Matters API returning 401 - Unauthorized

We are working on a little project to find out the schedule on x-Matters. This the url where we login on Web - 

https://cerner.hosted.xmatters.com/

 

Here is my userName = vi041281

We tried to get the endPoints as follows -

curl --user "vi041281" "https://cerner.hosted.xmatters.com/api/xm/1/myendpoint"

 

but received following error

 {

  "code" : 401,
  "message" : "Invalid Credentials",
  "reason" : "Unauthorized"
}

 

We then tried following url -

"https://cerner.hosted.xmatters.com/api/xm/1/devices"

 

but the results were the same... "Invalid Credentials" error.

 

We had also tried the 64 encoding for username and password as mentioned in the below email thread –

https://support.xmatters.com/hc/en-us/community/posts/360019036891-Searching-for-Groups-via-REST-Unauthorized

 

but that also did not work as well.

 

Would you please help us out to understand what are we doing wrong? Is there something wrong with my user credentials?

 

2 comments

Please sign in to leave a comment.