Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stride API /site call results in 403 error

Mikhail Kurkov April 13, 2018

I want to get all sites/conversations where my app is installed. As I understand I need to use /site and /site/CloudId/conversation endpoint. While second works fine with my access token, /site request results in 403 error:

{
"statusCode": 403,
"message": "Authorization code (3-legged OAuth) token required"

}

 

Should I be able to use /site endpoint with my bot access token from /oauth/token enpoint. It has all scopes: "participate:conversation manage:conversation view:userprofile"? Or maybe there is another way to get all installed convos.

Thanks,

Mikhail 

1 answer

2 votes
Fernando Boucquez (PPL) April 22, 2018

I'm having the same problem, other endpoints work but https://api.atlassian.com/site raises Authorization code (3-legged OAuth) token required

Would it be possible to call https://api.atlassian.com/site/{cloudId} to get the current site information like the name?

Talmor April 23, 2018

That's exactly what i'm looking for..

I got the exact same error, but the real solution is having an API to return a specific site (https://api.atlassian.com/site/{cloudId})

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events