Hi HubSpot Developer Support,
I’m trying to export 1:1 sales email messages (from, to, subject, body) from my CRM using the crm.objects.emails.read scope or the Legacy Engagements API. Here’s what I’ve attempted:
-
Created an app in the HubSpot Developer Portal.
-
Created a Developer Test Account to install the app.
-
Tried to authorize using the OAuth install URL:
bash
CopyEdit
-
Received:
“Couldn’t complete the connection – An error occurred while validating the app authorization.” -
Tried installing the app via test portal and by attaching portalId manually — same result.
-
I cannot use API Keys because:
- Developer test accounts don’t allow key creation
- My production XXXXX portal has API keys disabled (HubSpot setting)
I urgently need to export email data (not events or metrics — I need message content from sales emails), and I’m blocked by all three paths:
OAuth not installable into test portal
API key disabled in my live portal
Email Events API doesn’t return message content
Can someone at HubSpot manually install the app into my developer test portal, or assist with enabling OAuth testing in this setup?
I am happy to provide:
- App ID
- Client ID
- Redirect URI
- Test Portal ID
Thank you so much — this is time-sensitive and blocking a data migration/export project.