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

**URL:** <https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [November 24, 2020, 4:11pm UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402 "2020-11-24T16:11:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SH-BR](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sh-br/32/43872_2.png) [@SH-BR](https://community.hubspot.com/u/SH-BR)\
**Post date:** [November 24, 2020, 4:11pm UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402/1 "2020-11-24T16:11:45Z")

</div>

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 [Marketing API | Marketing Email - HubSpot docs](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: [Scopes - HubSpot docs](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.

---

<div class="post-metadata">

**Author:** ![sharonlicari](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sharonlicari/32/101479_2.png) [@sharonlicari](https://community.hubspot.com/u/sharonlicari)\
**Post date:** [November 25, 2020, 2:24pm UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402/2 "2020-11-25T14:24:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RSahu](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rsahu/32/33328_2.png) [@RSahu](https://community.hubspot.com/u/RSahu)\
**Post date:** [April 19, 2021, 4:52am UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402/3 "2021-04-19T04:52:11Z")

</div>

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: [Scopes - HubSpot docs](https://developers.hubspot.com/scopes.)”, correlationId: ‘xxxxxxxxxxxxxxxxx’, errors: [Array], links: [Object], category: ‘MISSING\_SCOPES’ }

---

<div class="post-metadata">

**Author:** ![prosa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/prosa/32/4387_2.png) [@prosa](https://community.hubspot.com/u/prosa)\
**Post date:** [November 25, 2020, 10:00pm UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402/4 "2020-11-25T22:00:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RSahu](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rsahu/32/33328_2.png) [@RSahu](https://community.hubspot.com/u/RSahu)\
**Post date:** [April 19, 2021, 4:33am UTC](https://community.hubspot.com/t/scope-issues-cant-user-transaction-email-api-with-account-hapikey/28402/5 "2021-04-19T04:33:27Z")

</div>

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: [Scopes - HubSpot docs](https://developers.hubspot.com/scopes.)”,  
correlationId: ‘xxxxxxxxxxxxxxxxx’,  
errors: [Array],  
links: [Object],  
category: ‘MISSING\_SCOPES’  
}
