Scopes

Hello everyone,
I am new to hubspot. And i need to integrate CRM apis.
I am getting this error
“One or more of the following scopes are required.”

when i am hitting the api on this url

https://api.hubapi.com/crm/v3/objects/orders/batch/read?archived=false
can anyone let me know from where i can enable the scopes.

Hi @devjc18 ,

When you generate access token for the api’s then you have to add scopes in it . And for the API you are using that is :

https://api.hubapi.com/crm/v3/objects/orders/batch/read?archived=false

You have to add scopes :

crm.objects.orders.read

:check_mark: Hope this helped you , if yes then mark it a solution to help community .