I am trying to get the details of a capability.
API Doc here: API | SmartThings Developers
curl --request GET \ --url https://api.smartthings.com/v1/capabilities/button/1 \ --header 'Accept: application/json' \ --header 'Authorization: Bearer XXXXX'
I get a 403 every time
I can make all calls up to the version just fine.
- /capabilities → success
- /capabilities/button → success
I am using the OAUTH bearer token of an end-user (someone signed in to use my app through SmartThings. Again all calls up to adding the version work with that bearer token.
Is there some other way to get the details of capabilities through the API?
My workaround right now is to go to something like: https://developer-preview.smartthings.com/capabilities/button
to get the capability details.