• Learn how AI and automation actually work in your Help Desk. Ask our experts how to improve team speed and customer happiness! AMA Nov 17-21.

    Ask us anything

APIs & Integrations

SH-BR
Member

Scope issues. Can't user transaction email api with account hapikey

SOLVE

Hello, I have free account on HubSpot. 

 

Problem: I need to send those emails (as templates) that are already in the hubspot system and replace dynamic variables. Dispatch is initiated by API through my back-end. 

 

What I did: using this documentation https://developers.hubspot.com/docs/api/marketing/transactional-emails I tried to use my account hapikey and emailId as template.

 

What I got
"message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",
"message": "All of the following scopes are required.",
"context": {
"requiredScopes": [
"transactional-email"
]

So how can I set this scope in my account? I can't find answer in official doc.

1 Accepted solution
prosa
Solution
Contributor

Scope issues. Can't user transaction email api with account hapikey

SOLVE

hi there in order to send emails with hubspot you need to activate the ad-on transactional-email. is around  $500/m

If this post helped you resolve your issue, please consider marking it as the solution. Thank you for supporting our HubSpot community.

View solution in original post

4 Replies 4
prosa
Solution
Contributor

Scope issues. Can't user transaction email api with account hapikey

SOLVE

hi there in order to send emails with hubspot you need to activate the ad-on transactional-email. is around  $500/m

If this post helped you resolve your issue, please consider marking it as the solution. Thank you for supporting our HubSpot community.
RSahu
Member

Scope issues. Can't user transaction email api with account hapikey

SOLVE

Hello  we have requirement to send mails , I need to send those emails  that are already in the hubspot system and replace dynamic variables.  through my back-end. and i have already subscribed to Marketing and Sales Subscription still iam not able to send the mail it is showing This app hasn't been granted all required scopes to make this call. Read more about required scopes


data: {
status: 'error',
message: "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",
correlationId: 'xxxxxxxxxxxxxxxxx',
errors: [Array],
links: [Object],
category: 'MISSING_SCOPES'
}

0 Upvotes
sharonlicari
HubSpot Alumni
HubSpot Alumni

Scope issues. Can't user transaction email api with account hapikey

SOLVE

Hey @GrahamRobson 

 

Thank you for reaching out! I'll mention a few experts that can share their knowledge with you!

 

Hey @prosa @btsp any thoughts about this case?

 

Thank you 

Sharon


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 Upvotes
RSahu
Member

Scope issues. Can't user transaction email api with account hapikey

SOLVE

Hello we have requirement to send mails , I need to send those emails that are already in the hubspot system and replace dynamic variables. through my back-end. and i have already subscribed to Marketing and Sales Subscription still iam not able to send the mail it is showing This app hasn't been granted all required scopes to make this call. Read more about required scopes data: { status: 'error', message: "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.", correlationId: 'xxxxxxxxxxxxxxxxx', errors: [Array], links: [Object], category: 'MISSING_SCOPES' }

0 Upvotes