Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Confluence User Details through Rest API

karthick tgi March 5, 2019

Hi Team,

I am using the free trial version for confluence

I am trying to get the user details through rest API service("https://testingdemoconf.atlassian.net/rest/api/latest/myself").

Finally, I got the response details as  page not found. Refer the attachment in below the screenshot.

user_api_issue.png

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2019

Hey Karthick,

I'm thinking there's just a little confusion over which document is which for API references. The myself endpoint is actually part of the Jira API. With no Jira instance on your Cloud, there's no endpoint there (hence page not found).

You can see all the Confluence API endpoints here. If you're looking for an endpoint similar to Jira's myself endpoint, you can try Confluence's get current user:

https://testingdemo.conf.atlassian.net/wiki/rest/api/user/current

Hope that helps,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events