I created a product in the console and added a “custom” oauth client with : scopes. I can POST /oauth/token and get a new access token.
When I try to call any product endpoints (like /products/product_id/devices) i get a 400 Error with the message invalid_scope.
I tried adding some scope when creating the access token but none of the scopes I tested work. Documentation says : should give full permissions (to the product I assume) but I seem to have no access.
I tried adding the : scope when creating an access token via the API but I just get an invalid_scope error.
Do I need to create an API user for the product in order to call API methods from my server? What is the point of the client_credentials flow then?
I checked the documentation for the API user and I don’t see a scope to create new integrations. My main goal with this was to automatically setup webhooks for our platform when we create a new instance of our app.
Hi,
I created 2 clients (just for testing) under my products with “custom” oauth client, type:installed, scope:full_permissions and then I was able to get info about clients and devices with this JS: