What is the scope i need to provide to read customers that can be mentioned

Hello Community,

I am trying to get all the users that can be mentioned using the service desk api. The endpoint i am trying to access is /rest/servicedesk/1/customer/portal/2/user-search?fieldConfigId=&fieldName=description&query=. I have tried adding every scope which includes “customer” in it, but none of them seem to work.

Thanks,
Ventsislav

Hello @VentsiBorislavov

Given that you’re developing in Forge, can it be assumed that when you say ‘service desk api’ you are referring to the REST API of Jira Service Management Cloud? If so, if you refer to the official JSM Cloud REST API documentation you’ll see there is no such endpoint available.

That is one of JSM’s internal API endpoints. It’s considered common knowledge that those endpoints cannot be accessed outside the user’s browser session, which means of course you cannot access it via other apps or set any scopes for it.

If you search this forum for “/rest/servicedesk/1/customer” you’ll see this topic has been discussed before in threads such as this one.

Also, if you just Google “/rest/servicedesk/1/customer” it leads you to the corresponding feature request JSDECO-177.

1 Like

From the links you provided it seems like this api endpoint cannot be used yet. Thanks for your response!