No access to the endpoints /roles & /roles/{id} & /users/{id}/roleAssignments

I created a developer sandbox account and add my app to Marketplace Manager.

I have all permissions in the app.
https://monosnap.com/direct/iItgYQjWFYxj0ha6Aucszv9Ul1qp9M

I was trying to call endpoints /roles & /roles/{id} & /users/{id}/roleAssignments
Example:

curl --location --request GET 'https://mycompany.pipedrive.com/api/v1/roles' \
--header 'Authorization: Bearer 7550228:11547632:9c0efca32c6d93c5353dd5a7e2551764302dfe47'

and got the response:

{
    "success": false,
    "error": "Scope and URL mismatch",
    "errorCode": 403
}

Why can’t I access these endpoints?

Other endpoints are working. For example, /users, /users/{id}

Hi @a.skibardin

Unfortunately, not all endpoints can be called with OAuth token at the moment. You can find list of endpoints connected to scopes here https://pipedrive.readme.io/docs/marketplace-scopes-and-permissions-explanations#section-list-of-scopes

@mykhailo Do you plan to add these endpoints in the near future?

I am not aware of such changes at the moment.