Hi HubSpot Developer Community,
I’m developing a process using a Private App to download file attachments associated with specific Notes on Contact records.
Context:
- HubSpot Plan: Sales Hub Professional & Service Hub Professional
- My User Role: Super Admin
- Goal: Find contacts matching certain criteria, identify their associated notes, find any files attached to those notes, and download the files.
Current Status & Problem: My script successfully finds the target contacts and identifies the correct associated Note IDs using the V4 Associations API (GET /crm/v4/objects/contact/{contactId}/associations/note).
However, the next step fails: trying to find the files associated with each specific Note ID using the V4 Associations API endpoint: GET /crm/v4/objects/note/{noteId}/associations/file
This API call consistently returns a 400 Bad Request error.
The Missing Scope Issue: Based on HubSpot’s standard conventions and API requirements for operating on Note objects, I believe this error is due to missing the crm.objects.notes.read scope in my Private App.
The problem is that the crm.objects.notes.read scope is not visible or available for me to select and add in the Private App configuration UI (Settings > Integrations > Private Apps > [My App] > Scopes). I have searched thoroughly (for “notes”, “crm.objects.notes.read”, and scrolled through the full “crm.” list) and it’s simply not there.
Other standard scopes like crm.objects.contacts.read and the general files scope are available, and I have already added them.
I contacted HubSpot support, but they initially suggested only crm.objects.contacts.read was needed (which seems incorrect for the V4 Note->File association call) and later claimed the crm.objects.notes.read scope doesn’t exist (which contradicts the standard naming convention and API needs).
My Questions:
- Is crm.objects.notes.read the correct scope required to successfully execute GET /crm/v4/objects/note/{noteId}/associations/file?
- If yes, why might this standard scope be missing from the available list in the Private App settings for a Pro plan with Super Admin privileges? Is this a known issue or potentially an account-specific problem?
- If crm.objects.notes.read is not the correct scope (or truly doesn’t exist), what specific scope(s) are required to grant permission for that V4 Note-to-File association API call?
Any help or insight would be greatly appreciated, as I’m currently blocked by this missing scope issue.
Thanks!
